Home
last modified time | relevance | path

Searched refs:LSM_HOOK_INIT (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/security/tomoyo/
H A Dtomoyo.c552 LSM_HOOK_INIT(task_alloc, tomoyo_task_alloc),
553 LSM_HOOK_INIT(task_free, tomoyo_task_free),
558 LSM_HOOK_INIT(file_fcntl, tomoyo_file_fcntl),
559 LSM_HOOK_INIT(file_open, tomoyo_file_open),
563 LSM_HOOK_INIT(path_mkdir, tomoyo_path_mkdir),
564 LSM_HOOK_INIT(path_rmdir, tomoyo_path_rmdir),
566 LSM_HOOK_INIT(path_mknod, tomoyo_path_mknod),
567 LSM_HOOK_INIT(path_link, tomoyo_path_link),
570 LSM_HOOK_INIT(file_ioctl, tomoyo_file_ioctl),
575 LSM_HOOK_INIT(sb_mount, tomoyo_sb_mount),
[all …]
/openbmc/linux/security/apparmor/
H A Dlsm.c1261 LSM_HOOK_INIT(capget, apparmor_capget),
1262 LSM_HOOK_INIT(capable, apparmor_capable),
1265 LSM_HOOK_INIT(sb_mount, apparmor_sb_mount),
1266 LSM_HOOK_INIT(sb_umount, apparmor_sb_umount),
1269 LSM_HOOK_INIT(path_link, apparmor_path_link),
1281 LSM_HOOK_INIT(file_open, apparmor_file_open),
1286 LSM_HOOK_INIT(mmap_file, apparmor_mmap_file),
1288 LSM_HOOK_INIT(file_lock, apparmor_file_lock),
1314 LSM_HOOK_INIT(socket_getpeersec_stream,
1316 LSM_HOOK_INIT(socket_getpeersec_dgram,
[all …]
/openbmc/linux/security/selinux/
H A Dhooks.c7010 LSM_HOOK_INIT(capget, selinux_capget),
7011 LSM_HOOK_INIT(capset, selinux_capset),
7012 LSM_HOOK_INIT(capable, selinux_capable),
7015 LSM_HOOK_INIT(syslog, selinux_syslog),
7030 LSM_HOOK_INIT(sb_mount, selinux_mount),
7161 LSM_HOOK_INIT(socket_getpeersec_stream,
7187 LSM_HOOK_INIT(ib_endport_manage_subnet,
7197 LSM_HOOK_INIT(xfrm_state_pol_flow_match,
7218 LSM_HOOK_INIT(bpf, selinux_bpf),
7253 LSM_HOOK_INIT(msg_queue_alloc_security,
[all …]
/openbmc/linux/security/smack/
H A Dsmack_lsm.c4957 LSM_HOOK_INIT(syslog, smack_syslog),
4966 LSM_HOOK_INIT(sb_statfs, smack_sb_statfs),
4995 LSM_HOOK_INIT(file_lock, smack_file_lock),
4997 LSM_HOOK_INIT(mmap_file, smack_mmap_file),
4998 LSM_HOOK_INIT(mmap_addr, cap_mmap_addr),
5003 LSM_HOOK_INIT(file_open, smack_file_open),
5006 LSM_HOOK_INIT(cred_free, smack_cred_free),
5023 LSM_HOOK_INIT(task_kill, smack_task_kill),
5040 LSM_HOOK_INIT(shm_shmat, smack_shm_shmat),
5045 LSM_HOOK_INIT(sem_semop, smack_sem_semop),
[all …]
/openbmc/linux/security/landlock/
H A Dfs.c1295 LSM_HOOK_INIT(sb_delete, hook_sb_delete),
1296 LSM_HOOK_INIT(sb_mount, hook_sb_mount),
1297 LSM_HOOK_INIT(move_mount, hook_move_mount),
1298 LSM_HOOK_INIT(sb_umount, hook_sb_umount),
1299 LSM_HOOK_INIT(sb_remount, hook_sb_remount),
1302 LSM_HOOK_INIT(path_link, hook_path_link),
1303 LSM_HOOK_INIT(path_rename, hook_path_rename),
1304 LSM_HOOK_INIT(path_mkdir, hook_path_mkdir),
1305 LSM_HOOK_INIT(path_mknod, hook_path_mknod),
1308 LSM_HOOK_INIT(path_rmdir, hook_path_rmdir),
[all …]
H A Dcred.c44 LSM_HOOK_INIT(cred_prepare, hook_cred_prepare),
45 LSM_HOOK_INIT(cred_transfer, hook_cred_transfer),
46 LSM_HOOK_INIT(cred_free, hook_cred_free),
H A Dptrace.c112 LSM_HOOK_INIT(ptrace_access_check, hook_ptrace_access_check),
113 LSM_HOOK_INIT(ptrace_traceme, hook_ptrace_traceme),
/openbmc/linux/security/bpf/
H A Dhooks.c11 LSM_HOOK_INIT(NAME, bpf_lsm_##NAME),
14 LSM_HOOK_INIT(inode_free_security, bpf_inode_storage_free),
15 LSM_HOOK_INIT(task_free, bpf_task_storage_free),
/openbmc/linux/security/
H A Dcommoncap.c1444 LSM_HOOK_INIT(capable, cap_capable),
1445 LSM_HOOK_INIT(settime, cap_settime),
1447 LSM_HOOK_INIT(ptrace_traceme, cap_ptrace_traceme),
1448 LSM_HOOK_INIT(capget, cap_capget),
1449 LSM_HOOK_INIT(capset, cap_capset),
1452 LSM_HOOK_INIT(inode_killpriv, cap_inode_killpriv),
1454 LSM_HOOK_INIT(mmap_addr, cap_mmap_addr),
1455 LSM_HOOK_INIT(mmap_file, cap_mmap_file),
1457 LSM_HOOK_INIT(task_prctl, cap_task_prctl),
1459 LSM_HOOK_INIT(task_setioprio, cap_task_setioprio),
[all …]
/openbmc/linux/security/safesetid/
H A Dlsm.c265 LSM_HOOK_INIT(task_fix_setuid, safesetid_task_fix_setuid),
266 LSM_HOOK_INIT(task_fix_setgid, safesetid_task_fix_setgid),
267 LSM_HOOK_INIT(task_fix_setgroups, safesetid_task_fix_setgroups),
268 LSM_HOOK_INIT(capable, safesetid_security_capable)
/openbmc/linux/security/yama/
H A Dyama_lsm.c425 LSM_HOOK_INIT(ptrace_access_check, yama_ptrace_access_check),
426 LSM_HOOK_INIT(ptrace_traceme, yama_ptrace_traceme),
427 LSM_HOOK_INIT(task_prctl, yama_task_prctl),
428 LSM_HOOK_INIT(task_free, yama_task_free),
/openbmc/linux/security/loadpin/
H A Dloadpin.c212 LSM_HOOK_INIT(sb_free_security, loadpin_sb_free_security),
213 LSM_HOOK_INIT(kernel_read_file, loadpin_read_file),
214 LSM_HOOK_INIT(kernel_load_data, loadpin_load_data),
/openbmc/linux/include/linux/
H A Dlsm_hooks.h100 #define LSM_HOOK_INIT(HEAD, HOOK) \ macro
/openbmc/linux/security/lockdown/
H A Dlockdown.c75 LSM_HOOK_INIT(locked_down, lockdown_is_locked_down),