Lukasz Pawelczyk
5f2bfe2f1d
Smack: fix a NULL dereference in wrong smack_import_entry() usage
...
'commit e774ad683f ("smack: pass error code through pointers")'
made this function return proper error codes instead of NULL. Reflect that.
This is a fix for a NULL dereference introduced in
'commit 21abb1ec41 ("Smack: IPv6 host labeling")'
echo "$SOME_IPV6_ADDR \"test" > /smack/ipv6host
(this should return EINVAL, it doesn't)
cat /smack/ipv6host
(derefences 0x000a)
Signed-off-by: Lukasz Pawelczyk <l.pawelczyk@samsung.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.com>
2015-10-09 15:12:46 -07:00
..
apparmor
Minor merge needed, due to function move.
2015-07-01 10:49:25 -07:00
integrity
Minor merge needed, due to function move.
2015-07-01 10:49:25 -07:00
keys
KEYS: Fix race between key destruction and finding a keyring by name
2015-09-25 16:30:08 +01:00
selinux
mm: mark most vm_operations_struct const
2015-09-10 13:29:01 -07:00
smack
Smack: fix a NULL dereference in wrong smack_import_entry() usage
2015-10-09 15:12:46 -07:00
tomoyo
LSM: Switch to lists of hooks
2015-05-12 15:00:41 +10:00
yama
Adding YAMA hooks also when YAMA is not stacked.
2015-08-04 01:36:18 +10:00
commoncap.c
capabilities: add a securebit to disable PR_CAP_AMBIENT_RAISE
2015-09-04 16:54:41 -07:00
device_cgroup.c
security/device_cgroup: Fix RCU_LOCKDEP_WARN() condition
2015-09-03 18:13:10 -07:00
inode.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
2015-07-04 19:36:06 -07:00
Kconfig
Yama: remove needless CONFIG_SECURITY_YAMA_STACKED
2015-07-28 13:18:19 +10:00
lsm_audit.c
Merge branch 'next' of git://git.infradead.org/users/pcmoore/selinux into next
2015-08-15 13:29:57 +10:00
Makefile
LSM: Switch to lists of hooks
2015-05-12 15:00:41 +10:00
min_addr.c
security.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2015-09-08 12:41:25 -07:00