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: <alpine.LRH.1.10.0810020812400.12028@tundra.namei.org>
Date:	Thu, 2 Oct 2008 08:14:01 +1000 (EST)
From:	James Morris <jmorris@...ei.org>
To:	Paul Moore <paul.moore@...com>
cc:	selinux@...ho.nsa.gov, linux-security-module@...r.kernel.org,
	netdev@...r.kernel.org
Subject: Re: [RFC PATCH v6 00/16] Labeled networking patches for 2.6.28

On Wed, 1 Oct 2008, Paul Moore wrote:

> On Tuesday 30 September 2008 9:34:24 pm James Morris wrote:
> > I found some sparse warnings -- the last couple at least may need
> > attention:
> >
> > $ make C=2 CF="-D__cold__=" SUBDIRS=net/netlabel
> 
> Ah ha!
> 
> At this point I have to admit a dirty little secret, I've never run 
> sparse on any of my code before.  It isn't for a lack of trying it is 
> just that I had no idea how to do so and googling for "sparse" and all 
> the relevant Linux modifiers didn't result in much.  That command line 
> helped quite a bit.
> 
> For others who may be interested you can find the sparse tool here:
> 
>  * http://www.kernel.org/pub/software/devel/sparse
> 
> ... and it looks like the magic incantation is "make C={1,2}".  I have 
> no idea what the "CF=..." bits do, James?

This creates CFLAGS, which are needed to make the __cold__ thing go away 
(no idea what that is), which you'll see if you don't inlcude the -CF 
thing.


-- 
James Morris
<jmorris@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ