OSDN Git Service

Smack: prevent revoke-subject from failing when unseen label is written to it
authorRafal Krypa <r.krypa@samsung.com>
Tue, 27 Nov 2012 15:28:11 +0000 (16:28 +0100)
committerCasey Schaufler <casey@schaufler-ca.com>
Tue, 19 Mar 2013 21:15:21 +0000 (14:15 -0700)
commitd15d9fad16f6aa459cf4926a1d3aba36b004e9a2
tree69d8cb3fa6f0fd12b34d1722a4113740e3bbf9f8
parent921f3ac4c3f2fd46ae99195a1168383ca9b41ed1
Smack: prevent revoke-subject from failing when unseen label is written to it

Special file /smack/revoke-subject will silently accept labels that are not
present on the subject label list. Nothing has to be done for such labels,
as there are no rules for them to revoke.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
security/smack/smackfs.c