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)
commit42596eafdd75257a640f64701b9b07090bcd84b0
treed5c4eb801d70ddd00a7a03814833d99cabf38962
parentb6cac5a30b325e14cda425670bb3568d3cad0aa8
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