]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: preserve boolean values across policy reloads
authorStephen Smalley <sds@tycho.nsa.gov>
Thu, 19 Apr 2007 18:16:19 +0000 (14:16 -0400)
committerJames Morris <jmorris@namei.org>
Thu, 26 Apr 2007 05:36:13 +0000 (01:36 -0400)
commit314a036f75c4e01bf718049589b833eb2c113617
tree924c8b62c3c02d600a02c87bd2a7ed44d39a808b
parent9ed64986907a5c6effd86de84343bffaf0ffe474
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