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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161014163817.GK12815@kernel.org>
Date:   Fri, 14 Oct 2016 13:38:17 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Andi Kleen <andi@...stfloor.org>
Cc:     Andi Kleen <ak@...ux.intel.com>, jolsa@...nel.org,
        sukadev@...ux.vnet.ibm.com, eranian@...gle.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 01/10] perf, tools: Factor out scale conversion code

Em Fri, Oct 14, 2016 at 09:36:42AM -0700, Andi Kleen escreveu:
> > I tools/ specifically, I try to use the same constructs, list.h, rbtree,
> > WARN_, pr_, etc, not panic()'ing, etc.
> > 
> > In this specific case, doing a:
> > 
> >    printf("life is hard, I give up"); exit(1);
> 
> Ok that would be just what a wrapper does, only open coded.
> 
> How about we just add helpers for these cases?
> 
> xstrdup
> xmalloc
> xasprintf 

Nope, we had those, I removed them already.

- Arnaldo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ