android_kernel_xiaomi_sm8350/security/apparmor
Xiu Jianfeng 3339d808b6 apparmor: Use pointer to struct aa_label for lbs_cred
[ Upstream commit 37923d4321b1e38170086da2c117f78f2b0f49c6 ]

According to the implementations of cred_label() and set_cred_label(),
we should use pointer to struct aa_label for lbs_cred instead of struct
aa_task_ctx, this patch fixes it.

Fixes: bbd3662a83 ("Infrastructure management of the cred security blob")
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-01-18 11:41:17 +01:00
..
include apparmor: fix overlapping attachment computation 2022-08-25 11:18:20 +02:00
.gitignore
apparmorfs.c apparmor: fix a memleak in multi_transaction_new() 2023-01-18 11:41:17 +01:00
audit.c
capability.c
crypto.c
domain.c apparmor: fix overlapping attachment computation 2022-08-25 11:18:20 +02:00
file.c
ipc.c
Kconfig
label.c apparmor: fix aa_label_asxprint return check 2022-08-25 11:18:20 +02:00
lib.c
lsm.c apparmor: Use pointer to struct aa_label for lbs_cred 2023-01-18 11:41:17 +01:00
Makefile
match.c
mount.c apparmor: fix reference count leak in aa_pivotroot() 2022-08-25 11:18:21 +02:00
net.c
nulldfa.in
path.c
policy_ns.c
policy_unpack.c apparmor: Fix abi check to include v8 abi 2023-01-18 11:41:17 +01:00
policy.c apparmor: fix lockdep warning when removing a namespace 2023-01-18 11:41:17 +01:00
procattr.c
resource.c
secid.c
stacksplitdfa.in
task.c