android_kernel_motorola_sm6375/security/smack
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tianjia Zhang a1d12196c3 Smack: Fix wrong semantics in smk_access_entry()
[ Upstream commit 6d14f5c7028eea70760df284057fe198ce7778dd ]

In the smk_access_entry() function, if no matching rule is found
in the rust_list, a negative error code will be used to perform bit
operations with the MAY_ enumeration value. This is semantically
wrong. This patch fixes this issue.

Signed-off-by: Tianjia Zhang <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-09-22 12:26:27 +02:00
..
Kconfig
Makefile
smack.h smack: avoid unused 'sip' variable warning 2020-06-17 16:40:22 +02:00
smack_access.c Smack: Fix wrong semantics in smk_access_entry() 2021-09-22 12:26:27 +02:00
smack_lsm.c smack: avoid unused 'sip' variable warning 2020-06-17 16:40:22 +02:00
smack_netfilter.c
smackfs.c smackfs: restrict bytes count in smk_set_cipso() 2021-07-19 08:53:18 +02:00