Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dlsm_hook_defs.h47 LSM_HOOK(int, 0, quota_on, struct dentry *dentry)
48 LSM_HOOK(int, 0, syslog, int type)
71 LSM_HOOK(int, 0, sb_statfs, struct dentry *dentry)
176 LSM_HOOK(int, 0, mmap_addr, unsigned long addr)
188 LSM_HOOK(int, 0, file_open, struct file *file)
219 LSM_HOOK(void, LSM_RET_VOID, task_getsecid_obj,
270 LSM_HOOK(int, 0, ismaclabel, const char *name)
287 LSM_HOOK(int, 0, watch_key, struct key *key)
337 LSM_HOOK(int, 0, tun_dev_create, void)
340 LSM_HOOK(int, 0, tun_dev_open, void *security)
[all …]
H A Dlsm_hooks.h34 #define LSM_HOOK(RET, DEFAULT, NAME, ...) RET (*NAME)(__VA_ARGS__); macro
36 #undef LSM_HOOK
40 #define LSM_HOOK(RET, DEFAULT, NAME, ...) struct hlist_head NAME; macro
42 #undef LSM_HOOK
H A Dbpf_lsm.h16 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
19 #undef LSM_HOOK
/openbmc/linux/security/bpf/
H A Dhooks.c10 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
13 #undef LSM_HOOK
/openbmc/linux/kernel/bpf/
H A Dbpf_lsm.c24 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
31 #undef LSM_HOOK
33 #define LSM_HOOK(RET, DEFAULT, NAME, ...) BTF_ID(func, bpf_lsm_##NAME) macro
36 #undef LSM_HOOK
/openbmc/linux/security/
H A Dsecurity.c407 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ in early_security_init() macro
410 #undef LSM_HOOK in early_security_init()
750 #define LSM_HOOK(RET, DEFAULT, NAME, ...) \ macro
754 #undef LSM_HOOK