selinux: preserve boolean values across policy reloads
commite900a7d90ae1486ac95c10e0b7337fc2c2eda529
authorStephen Smalley <sds@tycho.nsa.gov>
Thu, 19 Apr 2007 18:16:19 +0000 (19 14:16 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 26 Apr 2007 05:36:13 +0000 (26 01:36 -0400)
tree924c8b62c3c02d600a02c87bd2a7ed44d39a808b
parentbce34bc0eef03c68b5c49a3cc5bc77c84760cfe2
selinux: preserve boolean values across policy reloads

At present, the userland policy loading code has to go through contortions to preserve
boolean values across policy reloads, and cannot do so atomically.
As this is what we always want to do for reloads, let the kernel preserve them instead.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: Karl MacMillan <kmacmillan@mentalrootkit.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/services.c