Home
last modified time | relevance | path

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

/linux-6.1.9/security/tomoyo/
Dtomoyo.c538 LSM_HOOK_INIT(cred_prepare, tomoyo_cred_prepare),
539 LSM_HOOK_INIT(bprm_committed_creds, tomoyo_bprm_committed_creds),
540 LSM_HOOK_INIT(task_alloc, tomoyo_task_alloc),
541 LSM_HOOK_INIT(task_free, tomoyo_task_free),
543 LSM_HOOK_INIT(bprm_creds_for_exec, tomoyo_bprm_creds_for_exec),
545 LSM_HOOK_INIT(bprm_check_security, tomoyo_bprm_check_security),
546 LSM_HOOK_INIT(file_fcntl, tomoyo_file_fcntl),
547 LSM_HOOK_INIT(file_open, tomoyo_file_open),
548 LSM_HOOK_INIT(path_truncate, tomoyo_path_truncate),
549 LSM_HOOK_INIT(path_unlink, tomoyo_path_unlink),
[all …]
/linux-6.1.9/security/apparmor/
Dlsm.c1206 LSM_HOOK_INIT(ptrace_access_check, apparmor_ptrace_access_check),
1207 LSM_HOOK_INIT(ptrace_traceme, apparmor_ptrace_traceme),
1208 LSM_HOOK_INIT(capget, apparmor_capget),
1209 LSM_HOOK_INIT(capable, apparmor_capable),
1211 LSM_HOOK_INIT(sb_mount, apparmor_sb_mount),
1212 LSM_HOOK_INIT(sb_umount, apparmor_sb_umount),
1213 LSM_HOOK_INIT(sb_pivotroot, apparmor_sb_pivotroot),
1215 LSM_HOOK_INIT(path_link, apparmor_path_link),
1216 LSM_HOOK_INIT(path_unlink, apparmor_path_unlink),
1217 LSM_HOOK_INIT(path_symlink, apparmor_path_symlink),
[all …]
/linux-6.1.9/security/selinux/
Dhooks.c7033 LSM_HOOK_INIT(binder_set_context_mgr, selinux_binder_set_context_mgr),
7034 LSM_HOOK_INIT(binder_transaction, selinux_binder_transaction),
7035 LSM_HOOK_INIT(binder_transfer_binder, selinux_binder_transfer_binder),
7036 LSM_HOOK_INIT(binder_transfer_file, selinux_binder_transfer_file),
7038 LSM_HOOK_INIT(ptrace_access_check, selinux_ptrace_access_check),
7039 LSM_HOOK_INIT(ptrace_traceme, selinux_ptrace_traceme),
7040 LSM_HOOK_INIT(capget, selinux_capget),
7041 LSM_HOOK_INIT(capset, selinux_capset),
7042 LSM_HOOK_INIT(capable, selinux_capable),
7043 LSM_HOOK_INIT(quotactl, selinux_quotactl),
[all …]
/linux-6.1.9/security/smack/
Dsmack_lsm.c4791 LSM_HOOK_INIT(ptrace_access_check, smack_ptrace_access_check),
4792 LSM_HOOK_INIT(ptrace_traceme, smack_ptrace_traceme),
4793 LSM_HOOK_INIT(syslog, smack_syslog),
4795 LSM_HOOK_INIT(fs_context_dup, smack_fs_context_dup),
4796 LSM_HOOK_INIT(fs_context_parse_param, smack_fs_context_parse_param),
4798 LSM_HOOK_INIT(sb_alloc_security, smack_sb_alloc_security),
4799 LSM_HOOK_INIT(sb_free_mnt_opts, smack_free_mnt_opts),
4800 LSM_HOOK_INIT(sb_eat_lsm_opts, smack_sb_eat_lsm_opts),
4801 LSM_HOOK_INIT(sb_statfs, smack_sb_statfs),
4802 LSM_HOOK_INIT(sb_set_mnt_opts, smack_set_mnt_opts),
[all …]
/linux-6.1.9/security/landlock/
Dfs.c1181 LSM_HOOK_INIT(inode_free_security, hook_inode_free_security),
1183 LSM_HOOK_INIT(sb_delete, hook_sb_delete),
1184 LSM_HOOK_INIT(sb_mount, hook_sb_mount),
1185 LSM_HOOK_INIT(move_mount, hook_move_mount),
1186 LSM_HOOK_INIT(sb_umount, hook_sb_umount),
1187 LSM_HOOK_INIT(sb_remount, hook_sb_remount),
1188 LSM_HOOK_INIT(sb_pivotroot, hook_sb_pivotroot),
1190 LSM_HOOK_INIT(path_link, hook_path_link),
1191 LSM_HOOK_INIT(path_rename, hook_path_rename),
1192 LSM_HOOK_INIT(path_mkdir, hook_path_mkdir),
[all …]
Dcred.c38 LSM_HOOK_INIT(cred_prepare, hook_cred_prepare),
39 LSM_HOOK_INIT(cred_free, hook_cred_free),
Dptrace.c112 LSM_HOOK_INIT(ptrace_access_check, hook_ptrace_access_check),
113 LSM_HOOK_INIT(ptrace_traceme, hook_ptrace_traceme),
/linux-6.1.9/security/bpf/
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),
/linux-6.1.9/security/
Dcommoncap.c1452 LSM_HOOK_INIT(capable, cap_capable),
1453 LSM_HOOK_INIT(settime, cap_settime),
1454 LSM_HOOK_INIT(ptrace_access_check, cap_ptrace_access_check),
1455 LSM_HOOK_INIT(ptrace_traceme, cap_ptrace_traceme),
1456 LSM_HOOK_INIT(capget, cap_capget),
1457 LSM_HOOK_INIT(capset, cap_capset),
1458 LSM_HOOK_INIT(bprm_creds_from_file, cap_bprm_creds_from_file),
1459 LSM_HOOK_INIT(inode_need_killpriv, cap_inode_need_killpriv),
1460 LSM_HOOK_INIT(inode_killpriv, cap_inode_killpriv),
1461 LSM_HOOK_INIT(inode_getsecurity, cap_inode_getsecurity),
[all …]
/linux-6.1.9/security/safesetid/
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)
/linux-6.1.9/security/yama/
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),
/linux-6.1.9/security/loadpin/
Dloadpin.c207 LSM_HOOK_INIT(sb_free_security, loadpin_sb_free_security),
208 LSM_HOOK_INIT(kernel_read_file, loadpin_read_file),
209 LSM_HOOK_INIT(kernel_load_data, loadpin_load_data),
/linux-6.1.9/include/linux/
Dlsm_hooks.h1641 #define LSM_HOOK_INIT(HEAD, HOOK) \ macro
/linux-6.1.9/security/lockdown/
Dlockdown.c75 LSM_HOOK_INIT(locked_down, lockdown_is_locked_down),