linux/scripts/selinux/genheaders
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
..
.gitignore SELinux: add .gitignore files for dynamic classes 2009-10-24 09:42:27 +08:00
genheaders.c SELinux: header generation may hit infinite loop 2009-11-23 09:00:44 +11:00
Makefile selinux: generate flask headers during kernel build 2009-10-07 21:56:44 +11:00