android_kernel_xiaomi_sm8350/security/selinux
Chad Sellers bb24249747 SELinux: ensure keys constant in hashtab_search
Makes the key argument passed into hashtab_search and all the functions
it calls constant. These functions include hash table function pointers
hash_value and keycmp. The only implementations of these currently
are symhash and symcmp, which do not modify the key. The key parameter
should never be changed by any of these, so it should be const. This
is necessary to allow calling these functions with keys found in kernel
object class and permission definitions.

Signed-off-by: Chad Sellers <csellers@tresys.com>
Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
2006-11-28 12:04:37 -05:00
..
include SELinux: export object class and permission definitions 2006-11-28 12:04:36 -05:00
ss SELinux: ensure keys constant in hashtab_search 2006-11-28 12:04:37 -05:00
avc.c SELinux: export object class and permission definitions 2006-11-28 12:04:36 -05:00
exports.c [PATCH] selinux: rename selinux_ctxid_to_string 2006-09-26 08:48:52 -07:00
hooks.c [NetLabel]: protect the CIPSOv4 socket option from setsockopt() 2006-10-30 15:24:49 -08:00
Kconfig Still more typo fixes 2006-10-03 22:36:44 +02:00
Makefile
netif.c
netlink.c
nlmsgtab.c
selinuxfs.c [PATCH] r/o bind mount prepwork: inc_nlink() helper 2006-10-01 00:39:30 -07:00
xfrm.c IPsec: correct semantics for SELinux policy matching 2006-10-11 23:59:37 -07:00