]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: load the initial SIDs upon every policy load
authorGuido Trentalancia <guido@trentalancia.com>
Wed, 3 Feb 2010 16:06:01 +0000 (17:06 +0100)
committerJames Morris <jmorris@namei.org>
Wed, 3 Feb 2010 21:48:17 +0000 (08:48 +1100)
commit95368e0b9917f72d54a32efd38243aa1cdb417f4
treed5c4eb801d70ddd00a7a03814833d99cabf38962
parentce623b5108a53190d8fbc2314a4d47b5dce4a205
selinux: load the initial SIDs upon every policy load

Always load the initial SIDs, even in the case of a policy
reload and not just at the initial policy load. This comes
particularly handy after the introduction of a recent
patch for enabling runtime switching between different
policy types, although this patch is in theory independent
from that feature.

Signed-off-by: Guido Trentalancia <guido@trentalancia.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/services.c