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] [day] [month] [year] [list]
Message-ID: <20180115141455.01cebe74@gandalf.local.home>
Date:   Mon, 15 Jan 2018 14:14:55 -0500
From:   Steven Rostedt <rostedt@...dmis.org>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] tracing: prevent PROFILE_ALL_BRANCHES when
 FORTIFY_SOURCE=y

On Mon, 15 Jan 2018 11:12:46 -0800
Randy Dunlap <rdunlap@...radead.org> wrote:

> On 01/15/2018 11:10 AM, Steven Rostedt wrote:
> > On Mon, 15 Jan 2018 11:07:27 -0800
> > Randy Dunlap <rdunlap@...radead.org> wrote:
> >   
> >> From: Randy Dunlap <rdunlap@...radead.org>
> >>
> >> I regularly get 50 MB - 60 MB files during kernel randconfig builds.
> >> These large files mostly contain (many repeats of; e.g., 124,594):
> >>
> >> In file included from ../include/linux/string.h:6:0,
> >>                  from ../include/linux/uuid.h:20,
> >>                  from ../include/linux/mod_devicetable.h:13,
> >>                  from ../scripts/mod/devicetable-offsets.c:3:
> >> ../include/linux/compiler.h:64:4: warning: '______f' is static but declared in inline function 'strcpy' which is not static [enabled by default]
> >>     ______f = {     \
> >>     ^
> >> ../include/linux/compiler.h:56:23: note: in expansion of macro '__trace_if'
> >>                        ^
> >> ../include/linux/string.h:425:2: note: in expansion of macro 'if'
> >>   if (p_size == (size_t)-1 && q_size == (size_t)-1)
> >>   ^
> >>
> >> This only happens when CONFIG_FORTIFY_SOURCE=y and
> >> CONFIG_PROFILE_ALL_BRANCHES=y, so prevent PROFILE_ALL_BRANCHES if
> >> FORTIFY_SOURCE=y.
> >>
> >> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> >> Acked-by: Steven Rostedt (VMware) <rostedt@...dmis.org>  
> > 
> > I'm actually working on a patch that I need to send to Linus before
> > 4.15 is released. Want me to add this one too? Or do you have your own
> > branch to push to mainline with?  
> 
> I don't have any branch to push.  Please merge it whenever you think it's
> appropriate.
> 

I'll take it. Thanks,

-- Steve

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ