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]
Date:	Sat, 15 Oct 2011 11:40:12 +1100 (EST)
From:	James Morris <jmorris@...ei.org>
To:	Casey Schaufler <casey@...aufler-ca.com>
cc:	Jarkko Sakkinen <jarkko.j.sakkinen@...il.com>,
	linux-kernel@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [PATCH] Smack: compilation fix

On Fri, 14 Oct 2011, Casey Schaufler wrote:

> On 10/14/2011 3:16 AM, Jarkko Sakkinen wrote:
> > On some build configurations PER_CLEAR_ON_SETID symbol was not
> > found when compiling smack_lsm.c. This patch fixes the issue by
> > explicitly doing #include <linux/personality.h>.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko.j.sakkinen@...il.com>
> 
> Applied to git://gitorious.org/smack-next/kernel.git#master
> 
> James, can you pull for security testing please?

Pulled.

> 
> commit 16014d87509e26d6ed6935adbbf437a571fb5870
> 
> > ---
> >  security/smack/smack_lsm.c |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
> > index d55b991..7db62b4 100644
> > --- a/security/smack/smack_lsm.c
> > +++ b/security/smack/smack_lsm.c
> > @@ -35,6 +35,7 @@
> >  #include <linux/audit.h>
> >  #include <linux/magic.h>
> >  #include <linux/dcache.h>
> > +#include <linux/personality.h>
> >  #include "smack.h"
> >  
> >  #define task_security(task)	(task_cred_xxx((task), security))
> 

-- 
James Morris
<jmorris@...ei.org>
--
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