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)
committerHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 11 Nov 2013 11:49:02 +0000 (13:49 +0200)
commitd714f4b38e220ca2d6f3f47e5cca9d471f75ed55
tree3c04afa73105fc600f869377ed008feb222e48f6
parent9b98b1cbb089ed27c1c9972e3442c65c7cbcf678
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

(Upstream commit id: d15d9fad16f6aa459cf4926a1d3aba36b004e9a2)

Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
security/smack/smackfs.c