lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150610200138.GB32245@krava.redhat.com>
Date:	Wed, 10 Jun 2015 22:01:38 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	Arnaldo Carvalho de Melo <acme@...nel.org>
Cc:	Jiri Olsa <jolsa@...nel.org>, lkml <linux-kernel@...r.kernel.org>,
	Adrian Hunter <adrian.hunter@...el.com>,
	Andi Kleen <ak@...ux.intel.com>,
	David Ahern <dsahern@...il.com>,
	Ingo Molnar <mingo@...nel.org>,
	Namhyung Kim <namhyung@...nel.org>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 02/25] perf tools: Introduce xyarray__zero function

On Wed, Jun 10, 2015 at 04:06:00PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jun 10, 2015 at 08:10:35PM +0200, Jiri Olsa escreveu:
> > To zero all the xyarray contents. It will be used
> > in following patches.
> 
> I guess I would prefer xyarray__memset(), similar semantics as
> 'memset()', but I did a quick look and this is used in the kernel in
> things like bitmap_zero() and wrappers to it have that semantic...
> 
> Interesting that we don't have anymore a bzero() like function, but
> then, looking at 'man bzero':
> 
> ----------------------------
> CONFORMING TO
> 
>        4.3BSD.   This  function  is  deprecated  (marked  as  LEGACY  in
> POSIX.1-2001): use memset(3) in new programs.  POSIX.1-2008 removes the
> specification of bzero().
> 
> -----------------------------
> 
> Guess we should use 'xyarray__memset()', ok?

hum, how about xyarray__reset ?

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ