]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: flush the avc before disabling SELinux
authorEric Paris <eparis@redhat.com>
Sun, 13 Sep 2009 02:54:23 +0000 (22:54 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 14 Sep 2009 02:34:11 +0000 (12:34 +1000)
commitc279722cbc1b5d4e59d532b0563d7f245c75521c
treef4a3ff34e800be74469bec99834780b4a0294dec
parentd254f70eafb9c0221e28a2af15486c82779c071a
SELinux: flush the avc before disabling SELinux

Before SELinux is disabled at boot it can create AVC entries.  This patch
will flush those entries before disabling SELinux.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/avc.c