Re: [GIT] Security subsystem updates for 3.2

From: Stephen Rothwell
Date: Mon Oct 24 2011 - 10:20:22 EST


Hi Linus,

On Mon, 24 Oct 2011 15:52:56 +0200 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> >
> > Jarkko Sakkinen (6):
> > Â Â ÂSmack: domain transition protections (v3)
>
> So this is reverted in linux-next. I don't know why, but it's a bad
> sign. Doesn't compile?

Yeah, this:

security/smack/smack_lsm.c: In function 'smack_bprm_set_creds':
security/smack/smack_lsm.c:473:21: error: 'PER_CLEAR_ON_SETID' undeclared (first use in this function)

Caused by commit 84088ba23929 ("Smack: domain transition protections
(v3)"). PER_CLEAR_ON_SETID is defined in linux/personality.h which is not
directly included by the above file.

It appears to have been fixed in the current version of the tree by this:

Smack: compilation fix
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature