Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dlsm_hook_defs.h29 LSM_HOOK(int, 0, binder_set_context_mgr, struct task_struct *mgr)
30 LSM_HOOK(int, 0, binder_transaction, struct task_struct *from,
32 LSM_HOOK(int, 0, binder_transfer_binder, struct task_struct *from,
34 LSM_HOOK(int, 0, binder_transfer_file, struct task_struct *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, 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, struct super_block *sb)
[all …]
Dlsm_hooks.h1537 #define LSM_HOOK(RET, DEFAULT, NAME, ...) RET (*NAME)(__VA_ARGS__); macro
1539 #undef LSM_HOOK
1543 #define LSM_HOOK(RET, DEFAULT, NAME, ...) struct hlist_head NAME; macro
1545 #undef LSM_HOOK
Dbpf_lsm.h15 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
18 #undef LSM_HOOK
/Linux-v5.10/kernel/bpf/
Dbpf_lsm.c21 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
28 #undef LSM_HOOK
30 #define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME) macro
33 #undef LSM_HOOK
/Linux-v5.10/security/bpf/
Dhooks.c10 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
13 #undef LSM_HOOK
/Linux-v5.10/security/
Dsecurity.c685 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
689 #undef LSM_HOOK