android_kernel_xiaomi_sm7250/security/selinux
Stephen Smalley 77c160e779 SELinux: Reduce max avtab size to avoid page allocation failures
Reduce MAX_AVTAB_HASH_BITS so that the avtab allocation is an order 2
allocation rather than an order 4 allocation on x86_64.  This
addresses reports of page allocation failures:
http://marc.info/?l=selinux&m=126757230625867&w=2
https://bugzilla.redhat.com/show_bug.cgi?id=570433

Reported-by:  Russell Coker <russell@coker.com.au>
Signed-off-by:  Stephen D. Smalley <sds@tycho.nsa.gov>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
2010-03-16 08:31:02 +11:00
..
include Merge branch 'next-queue' into next 2010-03-09 12:46:47 +11:00
ss SELinux: Reduce max avtab size to avoid page allocation failures 2010-03-16 08:31:02 +11:00
.gitignore SELinux: add .gitignore files for dynamic classes 2009-10-24 09:42:27 +08:00
avc.c selinux: Only audit permissions specified in policy 2010-02-03 08:49:10 +11:00
exports.c Creds: creds->security can be NULL is selinux is disabled 2009-09-14 12:34:07 +10:00
hooks.c Merge branch 'next-queue' into next 2010-03-09 12:46:47 +11:00
Kconfig
Makefile selinux: generate flask headers during kernel build 2009-10-07 21:56:44 +11:00
netif.c
netlabel.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
netlink.c Selinux: Remove unused headers list.h in selinux/netlink.c 2010-03-03 09:20:57 +11:00
netnode.c
netport.c
nlmsgtab.c Selinux: Remove unused headers skbuff.h in selinux/nlmsgtab.c 2010-03-04 08:51:06 +11:00
selinuxfs.c selinux: fix memory leak in sel_make_bools 2010-02-09 08:22:24 +11:00
xfrm.c SELinux: Convert avc_audit to use lsm_audit.h 2009-08-17 08:37:18 +10:00