Home
last modified time | relevance | path

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

/linux-6.12.1/security/tomoyo/
Dtomoyo.c557 LSM_HOOK_INIT(cred_prepare, tomoyo_cred_prepare),
558 LSM_HOOK_INIT(bprm_committed_creds, tomoyo_bprm_committed_creds),
559 LSM_HOOK_INIT(task_alloc, tomoyo_task_alloc),
560 LSM_HOOK_INIT(task_free, tomoyo_task_free),
562 LSM_HOOK_INIT(bprm_creds_for_exec, tomoyo_bprm_creds_for_exec),
564 LSM_HOOK_INIT(bprm_check_security, tomoyo_bprm_check_security),
565 LSM_HOOK_INIT(file_fcntl, tomoyo_file_fcntl),
566 LSM_HOOK_INIT(file_open, tomoyo_file_open),
567 LSM_HOOK_INIT(file_truncate, tomoyo_file_truncate),
568 LSM_HOOK_INIT(path_truncate, tomoyo_path_truncate),
[all …]
/linux-6.12.1/security/ipe/
Dipe.c49 LSM_HOOK_INIT(bprm_check_security, ipe_bprm_check_security),
50 LSM_HOOK_INIT(mmap_file, ipe_mmap_file),
51 LSM_HOOK_INIT(file_mprotect, ipe_file_mprotect),
52 LSM_HOOK_INIT(kernel_read_file, ipe_kernel_read_file),
53 LSM_HOOK_INIT(kernel_load_data, ipe_kernel_load_data),
54 LSM_HOOK_INIT(initramfs_populated, ipe_unpack_initramfs),
56 LSM_HOOK_INIT(bdev_free_security, ipe_bdev_free_security),
57 LSM_HOOK_INIT(bdev_setintegrity, ipe_bdev_setintegrity),
60 LSM_HOOK_INIT(inode_setintegrity, ipe_inode_setintegrity),
/linux-6.12.1/security/apparmor/
Dlsm.c1430 LSM_HOOK_INIT(ptrace_access_check, apparmor_ptrace_access_check),
1431 LSM_HOOK_INIT(ptrace_traceme, apparmor_ptrace_traceme),
1432 LSM_HOOK_INIT(capget, apparmor_capget),
1433 LSM_HOOK_INIT(capable, apparmor_capable),
1435 LSM_HOOK_INIT(move_mount, apparmor_move_mount),
1436 LSM_HOOK_INIT(sb_mount, apparmor_sb_mount),
1437 LSM_HOOK_INIT(sb_umount, apparmor_sb_umount),
1438 LSM_HOOK_INIT(sb_pivotroot, apparmor_sb_pivotroot),
1440 LSM_HOOK_INIT(path_link, apparmor_path_link),
1441 LSM_HOOK_INIT(path_unlink, apparmor_path_unlink),
[all …]
/linux-6.12.1/security/selinux/
Dhooks.c7093 LSM_HOOK_INIT(binder_set_context_mgr, selinux_binder_set_context_mgr),
7094 LSM_HOOK_INIT(binder_transaction, selinux_binder_transaction),
7095 LSM_HOOK_INIT(binder_transfer_binder, selinux_binder_transfer_binder),
7096 LSM_HOOK_INIT(binder_transfer_file, selinux_binder_transfer_file),
7098 LSM_HOOK_INIT(ptrace_access_check, selinux_ptrace_access_check),
7099 LSM_HOOK_INIT(ptrace_traceme, selinux_ptrace_traceme),
7100 LSM_HOOK_INIT(capget, selinux_capget),
7101 LSM_HOOK_INIT(capset, selinux_capset),
7102 LSM_HOOK_INIT(capable, selinux_capable),
7103 LSM_HOOK_INIT(quotactl, selinux_quotactl),
[all …]
/linux-6.12.1/security/smack/
Dsmack_lsm.c5045 LSM_HOOK_INIT(ptrace_access_check, smack_ptrace_access_check),
5046 LSM_HOOK_INIT(ptrace_traceme, smack_ptrace_traceme),
5047 LSM_HOOK_INIT(syslog, smack_syslog),
5049 LSM_HOOK_INIT(fs_context_submount, smack_fs_context_submount),
5050 LSM_HOOK_INIT(fs_context_dup, smack_fs_context_dup),
5051 LSM_HOOK_INIT(fs_context_parse_param, smack_fs_context_parse_param),
5053 LSM_HOOK_INIT(sb_alloc_security, smack_sb_alloc_security),
5054 LSM_HOOK_INIT(sb_free_mnt_opts, smack_free_mnt_opts),
5055 LSM_HOOK_INIT(sb_eat_lsm_opts, smack_sb_eat_lsm_opts),
5056 LSM_HOOK_INIT(sb_statfs, smack_sb_statfs),
[all …]
/linux-6.12.1/security/landlock/
Dtask.c311 LSM_HOOK_INIT(ptrace_access_check, hook_ptrace_access_check),
312 LSM_HOOK_INIT(ptrace_traceme, hook_ptrace_traceme),
314 LSM_HOOK_INIT(unix_stream_connect, hook_unix_stream_connect),
315 LSM_HOOK_INIT(unix_may_send, hook_unix_may_send),
317 LSM_HOOK_INIT(task_kill, hook_task_kill),
318 LSM_HOOK_INIT(file_send_sigiotask, hook_file_send_sigiotask),
Dfs.c1651 LSM_HOOK_INIT(inode_free_security_rcu, hook_inode_free_security_rcu),
1653 LSM_HOOK_INIT(sb_delete, hook_sb_delete),
1654 LSM_HOOK_INIT(sb_mount, hook_sb_mount),
1655 LSM_HOOK_INIT(move_mount, hook_move_mount),
1656 LSM_HOOK_INIT(sb_umount, hook_sb_umount),
1657 LSM_HOOK_INIT(sb_remount, hook_sb_remount),
1658 LSM_HOOK_INIT(sb_pivotroot, hook_sb_pivotroot),
1660 LSM_HOOK_INIT(path_link, hook_path_link),
1661 LSM_HOOK_INIT(path_rename, hook_path_rename),
1662 LSM_HOOK_INIT(path_mkdir, hook_path_mkdir),
[all …]
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),
Dnet.c175 LSM_HOOK_INIT(socket_bind, hook_socket_bind),
176 LSM_HOOK_INIT(socket_connect, hook_socket_connect),
/linux-6.12.1/security/bpf/
Dhooks.c12 LSM_HOOK_INIT(NAME, bpf_lsm_##NAME),
15 LSM_HOOK_INIT(inode_free_security, bpf_inode_storage_free),
16 LSM_HOOK_INIT(task_free, bpf_task_storage_free),
/linux-6.12.1/security/integrity/evm/
Devm_main.c1144 LSM_HOOK_INIT(inode_setattr, evm_inode_setattr),
1145 LSM_HOOK_INIT(inode_post_setattr, evm_inode_post_setattr),
1146 LSM_HOOK_INIT(inode_copy_up_xattr, evm_inode_copy_up_xattr),
1147 LSM_HOOK_INIT(inode_setxattr, evm_inode_setxattr),
1148 LSM_HOOK_INIT(inode_post_setxattr, evm_inode_post_setxattr),
1149 LSM_HOOK_INIT(inode_set_acl, evm_inode_set_acl),
1150 LSM_HOOK_INIT(inode_post_set_acl, evm_inode_post_set_acl),
1151 LSM_HOOK_INIT(inode_remove_acl, evm_inode_remove_acl),
1152 LSM_HOOK_INIT(inode_post_remove_acl, evm_inode_post_remove_acl),
1153 LSM_HOOK_INIT(inode_removexattr, evm_inode_removexattr),
[all …]
/linux-6.12.1/security/
Dcommoncap.c1445 LSM_HOOK_INIT(capable, cap_capable),
1446 LSM_HOOK_INIT(settime, cap_settime),
1447 LSM_HOOK_INIT(ptrace_access_check, cap_ptrace_access_check),
1448 LSM_HOOK_INIT(ptrace_traceme, cap_ptrace_traceme),
1449 LSM_HOOK_INIT(capget, cap_capget),
1450 LSM_HOOK_INIT(capset, cap_capset),
1451 LSM_HOOK_INIT(bprm_creds_from_file, cap_bprm_creds_from_file),
1452 LSM_HOOK_INIT(inode_need_killpriv, cap_inode_need_killpriv),
1453 LSM_HOOK_INIT(inode_killpriv, cap_inode_killpriv),
1454 LSM_HOOK_INIT(inode_getsecurity, cap_inode_getsecurity),
[all …]
/linux-6.12.1/security/integrity/ima/
Dima_main.c1179 LSM_HOOK_INIT(bprm_check_security, ima_bprm_check),
1180 LSM_HOOK_INIT(file_post_open, ima_file_check),
1181 LSM_HOOK_INIT(inode_post_create_tmpfile, ima_post_create_tmpfile),
1182 LSM_HOOK_INIT(file_release, ima_file_free),
1183 LSM_HOOK_INIT(mmap_file, ima_file_mmap),
1184 LSM_HOOK_INIT(file_mprotect, ima_file_mprotect),
1185 LSM_HOOK_INIT(kernel_load_data, ima_load_data),
1186 LSM_HOOK_INIT(kernel_post_load_data, ima_post_load_data),
1187 LSM_HOOK_INIT(kernel_read_file, ima_read_file),
1188 LSM_HOOK_INIT(kernel_post_read_file, ima_post_read_file),
[all …]
Dima_appraise.c813 LSM_HOOK_INIT(inode_post_setattr, ima_inode_post_setattr),
814 LSM_HOOK_INIT(inode_setxattr, ima_inode_setxattr),
815 LSM_HOOK_INIT(inode_set_acl, ima_inode_set_acl),
816 LSM_HOOK_INIT(inode_removexattr, ima_inode_removexattr),
817 LSM_HOOK_INIT(inode_remove_acl, ima_inode_remove_acl),
/linux-6.12.1/security/safesetid/
Dlsm.c271 LSM_HOOK_INIT(task_fix_setuid, safesetid_task_fix_setuid),
272 LSM_HOOK_INIT(task_fix_setgid, safesetid_task_fix_setgid),
273 LSM_HOOK_INIT(task_fix_setgroups, safesetid_task_fix_setgroups),
274 LSM_HOOK_INIT(capable, safesetid_security_capable)
/linux-6.12.1/security/yama/
Dyama_lsm.c432 LSM_HOOK_INIT(ptrace_access_check, yama_ptrace_access_check),
433 LSM_HOOK_INIT(ptrace_traceme, yama_ptrace_traceme),
434 LSM_HOOK_INIT(task_prctl, yama_task_prctl),
435 LSM_HOOK_INIT(task_free, yama_task_free),
/linux-6.12.1/security/loadpin/
Dloadpin.c217 LSM_HOOK_INIT(sb_free_security, loadpin_sb_free_security),
218 LSM_HOOK_INIT(kernel_read_file, loadpin_read_file),
219 LSM_HOOK_INIT(kernel_load_data, loadpin_load_data),
/linux-6.12.1/include/linux/
Dlsm_hooks.h133 #define LSM_HOOK_INIT(NAME, HOOK) \ macro
/linux-6.12.1/security/lockdown/
Dlockdown.c76 LSM_HOOK_INIT(locked_down, lockdown_is_locked_down),