Home
last modified time | relevance | path

Searched refs:LSM_HOOK (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/include/linux/
Dlsm_hook_defs.h29 LSM_HOOK(int, 0, binder_set_context_mgr, const struct cred *mgr)
30 LSM_HOOK(int, 0, binder_transaction, const struct cred *from,
32 LSM_HOOK(int, 0, binder_transfer_binder, const struct cred *from,
34 LSM_HOOK(int, 0, binder_transfer_file, const struct cred *from,
36 LSM_HOOK(int, 0, ptrace_access_check, struct task_struct *child,
38 LSM_HOOK(int, 0, ptrace_traceme, struct task_struct *parent)
39 LSM_HOOK(int, 0, capget, const struct task_struct *target, kernel_cap_t *effective,
41 LSM_HOOK(int, 0, capset, struct cred *new, const struct cred *old,
44 LSM_HOOK(int, 0, capable, const struct cred *cred, struct user_namespace *ns,
46 LSM_HOOK(int, 0, quotactl, int cmds, int type, int id, const struct super_block *sb)
[all …]
Dlsm_hooks.h39 #define LSM_HOOK(RET, DEFAULT, NAME, ...) RET (*NAME)(__VA_ARGS__); macro
41 #undef LSM_HOOK
68 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
71 #undef LSM_HOOK
Dbpf_lsm.h17 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
20 #undef LSM_HOOK
/linux-6.12.1/security/bpf/
Dhooks.c11 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
14 #undef LSM_HOOK
/linux-6.12.1/kernel/bpf/
Dbpf_lsm.c23 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
30 #undef LSM_HOOK
32 #define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME) macro
35 #undef LSM_HOOK
/linux-6.12.1/security/
Dsecurity.c127 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
130 #undef LSM_HOOK
152 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
157 #undef LSM_HOOK
934 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
938 #undef LSM_HOOK