kernel_optimize_test/scripts/selinux
Eric Paris 85c3b529f8 SELinux: header generation may hit infinite loop
If a permission name is long enough the selinux class definition generation
tool will go into a infinite loop.  This is because it's macro max() is
fooled into thinking it is dealing with unsigned numbers.  This patch makes
sure the macro always uses signed number so 1 > -1.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
2009-11-23 09:00:44 +11:00
..
genheaders SELinux: header generation may hit infinite loop 2009-11-23 09:00:44 +11:00
mdp selinux: dynamic class/perm discovery 2009-10-07 21:56:42 +11:00
install_policy.sh selinux: add support for installing a dummy policy (v2) 2008-08-27 08:54:08 +10:00
Makefile selinux: generate flask headers during kernel build 2009-10-07 21:56:44 +11:00
README selinux: add support for installing a dummy policy (v2) 2008-08-27 08:54:08 +10:00

Please see Documentation/SELinux.txt for information on
installing a dummy SELinux policy.