linux/security/apparmor
John Johansen d7807b6227 apparmor: Fix aa_label_build() error handling for failed merges
[ Upstream commit d6d478aee0 ]

aa_label_merge() can return NULL for memory allocations failures
make sure to handle and set the correct error in this case.

Reported-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-03-13 14:02:32 -07:00
..
include
.gitignore
apparmorfs.c
audit.c
capability.c
crypto.c
domain.c
file.c
ipc.c
Kconfig
label.c
lib.c
lsm.c
Makefile
match.c
mount.c
net.c
nulldfa.in
path.c
policy_ns.c
policy_unpack.c
policy.c
procattr.c
resource.c
secid.c
stacksplitdfa.in
task.c