Matthias Kaehlcke
342e91578e
selinux: Remove unnecessary check of array base in selinux_set_mapping()
...
'perms' will never be NULL since it isn't a plain pointer but an array
of u32 values.
This fixes the following warning when building with clang:
security/selinux/ss/services.c:158:16: error: address of array
'p_in->perms' will always evaluate to 'true'
[-Werror,-Wpointer-bool-conversion]
while (p_in->perms && p_in->perms[k]) {
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2017-03-29 18:57:25 -04:00
..
apparmor
security: mark LSM hooks as __ro_after_init
2017-03-06 11:00:15 +11:00
integrity
sched/headers: Prepare to remove the <linux/magic.h> include from <linux/sched/task_stack.h>
2017-03-02 08:42:40 +01:00
keys
Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-03-03 10:16:38 -08:00
loadpin
security: mark LSM hooks as __ro_after_init
2017-03-06 11:00:15 +11:00
selinux
selinux: Remove unnecessary check of array base in selinux_set_mapping()
2017-03-29 18:57:25 -04:00
smack
security: mark LSM hooks as __ro_after_init
2017-03-06 11:00:15 +11:00
tomoyo
security: mark LSM hooks as __ro_after_init
2017-03-06 11:00:15 +11:00
yama
security: mark LSM hooks as __ro_after_init
2017-03-06 11:00:15 +11:00
commoncap.c
security: mark LSM hooks as __ro_after_init
2017-03-06 11:00:15 +11:00
device_cgroup.c
inode.c
LSM: Add /sys/kernel/security/lsm
2017-01-19 13:18:29 +11:00
Kconfig
security: introduce CONFIG_SECURITY_WRITABLE_HOOKS
2017-03-06 11:00:12 +11:00
lsm_audit.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2016-10-04 14:48:27 -07:00
Makefile
min_addr.c
security.c
security: mark LSM hooks as __ro_after_init
2017-03-06 11:00:15 +11:00