mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 08:04:58 +07:00
c1a85a00ea
This patch provides a general mechanism for passing flags to the security_capable LSM hook. It replaces the specific 'audit' flag that is used to tell security_capable whether it should log an audit message for the given capability check. The reason for generalizing this flag passing is so we can add an additional flag that signifies whether security_capable is being called by a setid syscall (which is needed by the proposed SafeSetID LSM). Signed-off-by: Micah Morton <mortonm@chromium.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: James Morris <james.morris@microsoft.com> |
||
---|---|---|
.. | ||
apparmor.h | ||
apparmorfs.h | ||
audit.h | ||
capability.h | ||
cred.h | ||
crypto.h | ||
domain.h | ||
file.h | ||
ipc.h | ||
label.h | ||
lib.h | ||
match.h | ||
mount.h | ||
net.h | ||
path.h | ||
perms.h | ||
policy_ns.h | ||
policy_unpack.h | ||
policy.h | ||
procattr.h | ||
resource.h | ||
secid.h | ||
sig_names.h | ||
task.h |