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]
Date:   Fri, 8 May 2020 18:26:04 +0200
From:   Peter Zijlstra <peterz@...radead.org>
To:     Josh Poimboeuf <jpoimboe@...hat.com>
Cc:     Arnd Bergmann <arnd@...db.de>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: objtool warning breaks build for fs/dlm/lock.o

On Fri, May 08, 2020 at 11:17:50AM -0500, Josh Poimboeuf wrote:
> On Fri, May 08, 2020 at 11:55:09AM +0200, Peter Zijlstra wrote:
> > On Fri, May 08, 2020 at 11:27:39AM +0200, Arnd Bergmann wrote:
> > 
> > > Right, makes sense. It would be nice though to have a way of intentionally
> > > turning all objtool warnings into errors. I do my randconfig tests
> > > with '-Werror'
> > > at the moment in order to catch all new warnings, but this does not catch
> > > objtool errors at the moment. For now, this is probably the right thing to do,
> > > as there are a couple of warnings that I have no patches for, but at some point
> > > I would prefer to trap immediately when a new warning pops up.
> > 
> > Completely untested, and I'm 100% unsure of the Makefile change, but
> > something like so, then?
> 
> Mostly looks good, but it only errors out on fatal errors, right?  For
> -Werror (and what Arnd is asking about) should it also return error on
> "warnings > 0"?

Oh, good point. Extra knob or just: if (error && ret) return -1 ?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ