Lines Matching refs:call_int_hook

970 #define call_int_hook(HOOK, ...)					\  macro
997 return call_int_hook(binder_set_context_mgr, mgr); in security_binder_set_context_mgr()
1012 return call_int_hook(binder_transaction, from, to); in security_binder_transaction()
1027 return call_int_hook(binder_transfer_binder, from, to); in security_binder_transfer_binder()
1043 return call_int_hook(binder_transfer_file, from, to, file); in security_binder_transfer_file()
1062 return call_int_hook(ptrace_access_check, child, mode); in security_ptrace_access_check()
1077 return call_int_hook(ptrace_traceme, parent); in security_ptrace_traceme()
1099 return call_int_hook(capget, target, effective, inheritable, permitted); in security_capget()
1120 return call_int_hook(capset, new, old, effective, inheritable, in security_capset()
1142 return call_int_hook(capable, cred, ns, cap, opts); in security_capable()
1158 return call_int_hook(quotactl, cmds, type, id, sb); in security_quotactl()
1171 return call_int_hook(quota_on, dentry); in security_quota_on()
1186 return call_int_hook(syslog, type); in security_syslog()
1201 return call_int_hook(settime, ts, tz); in security_settime64()
1261 return call_int_hook(bprm_creds_for_exec, bprm); in security_bprm_creds_for_exec()
1285 return call_int_hook(bprm_creds_from_file, bprm, file); in security_bprm_creds_from_file()
1302 return call_int_hook(bprm_check_security, bprm); in security_bprm_check()
1349 return call_int_hook(fs_context_submount, fc, reference); in security_fs_context_submount()
1365 return call_int_hook(fs_context_dup, fc, src_fc); in security_fs_context_dup()
1413 rc = call_int_hook(sb_alloc_security, sb); in security_sb_alloc()
1471 return call_int_hook(sb_eat_lsm_opts, options, mnt_opts); in security_sb_eat_lsm_opts()
1488 return call_int_hook(sb_mnt_opts_compat, sb, mnt_opts); in security_sb_mnt_opts_compat()
1505 return call_int_hook(sb_remount, sb, mnt_opts); in security_sb_remount()
1519 return call_int_hook(sb_kern_mount, sb); in security_sb_kern_mount()
1533 return call_int_hook(sb_show_options, m, sb); in security_sb_show_options()
1547 return call_int_hook(sb_statfs, dentry); in security_sb_statfs()
1570 return call_int_hook(sb_mount, dev_name, path, type, flags, data); in security_sb_mount()
1584 return call_int_hook(sb_umount, mnt, flags); in security_sb_umount()
1599 return call_int_hook(sb_pivotroot, old_path, new_path); in security_sb_pivotroot()
1647 return call_int_hook(sb_clone_mnt_opts, oldsb, newsb, in security_sb_clone_mnt_opts()
1664 return call_int_hook(move_mount, from_path, to_path); in security_move_mount()
1681 return call_int_hook(path_notify, path, mask, obj_type); in security_path_notify()
1701 rc = call_int_hook(inode_alloc_security, inode); in security_inode_alloc()
1757 return call_int_hook(dentry_init_security, dentry, mode, name, in security_dentry_init_security()
1781 return call_int_hook(dentry_create_files_as, dentry, mode, in security_dentry_create_files_as()
1877 return call_int_hook(inode_init_security_anon, inode, name, in security_inode_init_security_anon()
1899 return call_int_hook(path_mknod, dir, dentry, mode, dev); in security_path_mknod()
1932 return call_int_hook(path_mkdir, dir, dentry, mode); in security_path_mkdir()
1949 return call_int_hook(path_rmdir, dir, dentry); in security_path_rmdir()
1965 return call_int_hook(path_unlink, dir, dentry); in security_path_unlink()
1984 return call_int_hook(path_symlink, dir, dentry, old_name); in security_path_symlink()
2002 return call_int_hook(path_link, old_dentry, new_dir, new_dentry); in security_path_link()
2026 return call_int_hook(path_rename, old_dir, old_dentry, new_dir, in security_path_rename()
2045 return call_int_hook(path_truncate, path); in security_path_truncate()
2063 return call_int_hook(path_chmod, path, mode); in security_path_chmod()
2080 return call_int_hook(path_chown, path, uid, gid); in security_path_chown()
2093 return call_int_hook(path_chroot, path); in security_path_chroot()
2112 return call_int_hook(inode_create, dir, dentry, mode); in security_inode_create()
2146 return call_int_hook(inode_link, old_dentry, dir, new_dentry); in security_inode_link()
2162 return call_int_hook(inode_unlink, dir, dentry); in security_inode_unlink()
2180 return call_int_hook(inode_symlink, dir, dentry, old_name); in security_inode_symlink()
2198 return call_int_hook(inode_mkdir, dir, dentry, mode); in security_inode_mkdir()
2215 return call_int_hook(inode_rmdir, dir, dentry); in security_inode_rmdir()
2237 return call_int_hook(inode_mknod, dir, dentry, mode, dev); in security_inode_mknod()
2262 int err = call_int_hook(inode_rename, new_dir, new_dentry, in security_inode_rename()
2268 return call_int_hook(inode_rename, old_dir, old_dentry, in security_inode_rename()
2284 return call_int_hook(inode_readlink, dentry); in security_inode_readlink()
2303 return call_int_hook(inode_follow_link, dentry, inode, rcu); in security_inode_follow_link()
2324 return call_int_hook(inode_permission, inode, mask); in security_inode_permission()
2345 return call_int_hook(inode_setattr, idmap, dentry, attr); in security_inode_setattr()
2377 return call_int_hook(inode_getattr, path); in security_inode_getattr()
2416 if (!call_int_hook(inode_xattr_skipcap, name)) { in security_inode_setxattr()
2422 return call_int_hook(inode_setxattr, idmap, dentry, name, value, size, in security_inode_setxattr()
2444 return call_int_hook(inode_set_acl, idmap, dentry, acl_name, kacl); in security_inode_set_acl()
2480 return call_int_hook(inode_get_acl, idmap, dentry, acl_name); in security_inode_get_acl()
2499 return call_int_hook(inode_remove_acl, idmap, dentry, acl_name); in security_inode_remove_acl()
2551 return call_int_hook(inode_getxattr, dentry, name); in security_inode_getxattr()
2567 return call_int_hook(inode_listxattr, dentry); in security_inode_listxattr()
2602 if (!call_int_hook(inode_xattr_skipcap, name)) { in security_inode_removexattr()
2608 return call_int_hook(inode_removexattr, idmap, dentry, name); in security_inode_removexattr()
2638 return call_int_hook(inode_need_killpriv, dentry); in security_inode_need_killpriv()
2655 return call_int_hook(inode_killpriv, idmap, dentry); in security_inode_killpriv()
2681 return call_int_hook(inode_getsecurity, idmap, inode, name, buffer, in security_inode_getsecurity()
2706 return call_int_hook(inode_setsecurity, inode, name, value, size, in security_inode_setsecurity()
2728 return call_int_hook(inode_listsecurity, inode, buffer, buffer_size); in security_inode_listsecurity()
2758 return call_int_hook(inode_copy_up, src, new); in security_inode_copy_up()
2779 rc = call_int_hook(inode_copy_up_xattr, src, name); in security_inode_copy_up_xattr()
2803 return call_int_hook(inode_setintegrity, inode, type, value, size); in security_inode_setintegrity()
2820 return call_int_hook(kernfs_init_security, kn_dir, kn); in security_kernfs_init_security()
2844 return call_int_hook(file_permission, file, mask); in security_file_permission()
2862 rc = call_int_hook(file_alloc_security, file); in security_file_alloc()
2913 return call_int_hook(file_ioctl, file, cmd, arg); in security_file_ioctl()
2931 return call_int_hook(file_ioctl_compat, file, cmd, arg); in security_file_ioctl_compat()
2982 return call_int_hook(mmap_file, file, prot, mmap_prot(file, prot), in security_mmap_file()
2996 return call_int_hook(mmap_addr, addr); in security_mmap_addr()
3012 return call_int_hook(file_mprotect, vma, reqprot, prot); in security_file_mprotect()
3027 return call_int_hook(file_lock, file, cmd); in security_file_lock()
3046 return call_int_hook(file_fcntl, file, cmd, arg); in security_file_fcntl()
3082 return call_int_hook(file_send_sigiotask, tsk, fown, sig); in security_file_send_sigiotask()
3096 return call_int_hook(file_receive, file); in security_file_receive()
3114 return call_int_hook(file_open, file); in security_file_open()
3130 return call_int_hook(file_post_open, file, mask); in security_file_post_open()
3146 return call_int_hook(file_truncate, file); in security_file_truncate()
3164 rc = call_int_hook(task_alloc, task, clone_flags); in security_task_alloc()
3202 rc = call_int_hook(cred_alloc_blank, cred, gfp); in security_cred_alloc_blank()
3246 rc = call_int_hook(cred_prepare, new, old, gfp); in security_prepare_creds()
3306 return call_int_hook(kernel_act_as, new, secid); in security_kernel_act_as()
3322 return call_int_hook(kernel_create_files_as, new, inode); in security_kernel_create_files_as()
3336 return call_int_hook(kernel_module_request, kmod_name); in security_kernel_module_request()
3352 return call_int_hook(kernel_read_file, file, id, contents); in security_kernel_read_file()
3372 return call_int_hook(kernel_post_read_file, file, buf, size, id); in security_kernel_post_read_file()
3387 return call_int_hook(kernel_load_data, id, contents); in security_kernel_load_data()
3409 return call_int_hook(kernel_post_load_data, buf, size, id, description); in security_kernel_post_load_data()
3430 return call_int_hook(task_fix_setuid, new, old, flags); in security_task_fix_setuid()
3450 return call_int_hook(task_fix_setgid, new, old, flags); in security_task_fix_setgid()
3467 return call_int_hook(task_fix_setgroups, new, old); in security_task_fix_setgroups()
3482 return call_int_hook(task_setpgid, p, pgid); in security_task_setpgid()
3496 return call_int_hook(task_getpgid, p); in security_task_getpgid()
3509 return call_int_hook(task_getsid, p); in security_task_getsid()
3552 return call_int_hook(task_setnice, p, nice); in security_task_setnice()
3566 return call_int_hook(task_setioprio, p, ioprio); in security_task_setioprio()
3579 return call_int_hook(task_getioprio, p); in security_task_getioprio()
3596 return call_int_hook(task_prlimit, cred, tcred, flags); in security_task_prlimit()
3614 return call_int_hook(task_setrlimit, p, resource, new_rlim); in security_task_setrlimit()
3628 return call_int_hook(task_setscheduler, p); in security_task_setscheduler()
3641 return call_int_hook(task_getscheduler, p); in security_task_getscheduler()
3654 return call_int_hook(task_movememory, p); in security_task_movememory()
3675 return call_int_hook(task_kill, p, info, sig, cred); in security_task_kill()
3733 return call_int_hook(userns_create, cred); in security_create_user_ns()
3747 return call_int_hook(ipc_permission, ipcp, flag); in security_ipc_permission()
3779 rc = call_int_hook(msg_msg_alloc_security, msg); in security_msg_msg_alloc()
3813 rc = call_int_hook(msg_queue_alloc_security, msq); in security_msg_queue_alloc()
3845 return call_int_hook(msg_queue_associate, msq, msqflg); in security_msg_queue_associate()
3860 return call_int_hook(msg_queue_msgctl, msq, cmd); in security_msg_queue_msgctl()
3877 return call_int_hook(msg_queue_msgsnd, msq, msg, msqflg); in security_msg_queue_msgsnd()
3898 return call_int_hook(msg_queue_msgrcv, msq, msg, target, type, mode); in security_msg_queue_msgrcv()
3916 rc = call_int_hook(shm_alloc_security, shp); in security_shm_alloc()
3949 return call_int_hook(shm_associate, shp, shmflg); in security_shm_associate()
3964 return call_int_hook(shm_shmctl, shp, cmd); in security_shm_shmctl()
3982 return call_int_hook(shm_shmat, shp, shmaddr, shmflg); in security_shm_shmat()
4000 rc = call_int_hook(sem_alloc_security, sma); in security_sem_alloc()
4032 return call_int_hook(sem_associate, sma, semflg); in security_sem_associate()
4047 return call_int_hook(sem_semctl, sma, cmd); in security_sem_semctl()
4065 return call_int_hook(sem_semop, sma, sops, nsops, alter); in security_sem_semop()
4294 return call_int_hook(netlink_send, sk, skb); in security_netlink_send()
4307 return call_int_hook(ismaclabel, name); in security_ismaclabel()
4325 return call_int_hook(secid_to_secctx, secid, cp); in security_secid_to_secctx()
4343 return call_int_hook(lsmprop_to_secctx, prop, cp); in security_lsmprop_to_secctx()
4360 return call_int_hook(secctx_to_secid, secdata, seclen, secid); in security_secctx_to_secid()
4407 return call_int_hook(inode_notifysecctx, inode, ctx, ctxlen); in security_inode_notifysecctx()
4429 return call_int_hook(inode_setsecctx, dentry, ctx, ctxlen); in security_inode_setsecctx()
4446 return call_int_hook(inode_getsecctx, inode, cp); in security_inode_getsecctx()
4465 return call_int_hook(post_notification, w_cred, cred, n); in security_post_notification()
4481 return call_int_hook(watch_key, key); in security_watch_key()
4510 return call_int_hook(unix_stream_connect, sock, other, newsk); in security_unix_stream_connect()
4536 return call_int_hook(unix_may_send, sock, other); in security_unix_may_send()
4553 return call_int_hook(socket_create, family, type, protocol, kern); in security_socket_create()
4577 return call_int_hook(socket_post_create, sock, family, type, in security_socket_post_create()
4593 return call_int_hook(socket_socketpair, socka, sockb); in security_socket_socketpair()
4612 return call_int_hook(socket_bind, sock, address, addrlen); in security_socket_bind()
4629 return call_int_hook(socket_connect, sock, address, addrlen); in security_socket_connect()
4643 return call_int_hook(socket_listen, sock, backlog); in security_socket_listen()
4659 return call_int_hook(socket_accept, sock, newsock); in security_socket_accept()
4674 return call_int_hook(socket_sendmsg, sock, msg, size); in security_socket_sendmsg()
4691 return call_int_hook(socket_recvmsg, sock, msg, size, flags); in security_socket_recvmsg()
4705 return call_int_hook(socket_getsockname, sock); in security_socket_getsockname()
4718 return call_int_hook(socket_getpeername, sock); in security_socket_getpeername()
4734 return call_int_hook(socket_getsockopt, sock, level, optname); in security_socket_getsockopt()
4749 return call_int_hook(socket_setsockopt, sock, level, optname); in security_socket_setsockopt()
4764 return call_int_hook(socket_shutdown, sock, how); in security_socket_shutdown()
4781 return call_int_hook(socket_sock_rcv_skb, sk, skb); in security_sock_rcv_skb()
4803 return call_int_hook(socket_getpeersec_stream, sock, optval, optlen, in security_socket_getpeersec_stream()
4824 return call_int_hook(socket_getpeersec_dgram, sock, skb, secid); in security_socket_getpeersec_dgram()
4859 rc = call_int_hook(sk_alloc_security, sk, family, priority); in security_sk_alloc()
4945 return call_int_hook(inet_conn_request, sk, skb, req); in security_inet_conn_request()
4986 return call_int_hook(secmark_relabel_packet, secid); in security_secmark_relabel_packet()
5029 rc = call_int_hook(tun_dev_alloc_security, *security); in security_tun_dev_alloc_security()
5059 return call_int_hook(tun_dev_create); in security_tun_dev_create()
5073 return call_int_hook(tun_dev_attach_queue, security); in security_tun_dev_attach_queue()
5089 return call_int_hook(tun_dev_attach, sk, security); in security_tun_dev_attach()
5104 return call_int_hook(tun_dev_open, security); in security_tun_dev_open()
5120 return call_int_hook(sctp_assoc_request, asoc, skb); in security_sctp_assoc_request()
5141 return call_int_hook(sctp_bind_connect, sk, optname, address, addrlen); in security_sctp_bind_connect()
5175 return call_int_hook(sctp_assoc_established, asoc, skb); in security_sctp_assoc_established()
5193 return call_int_hook(mptcp_add_subflow, sk, ssk); in security_mptcp_add_subflow()
5211 return call_int_hook(ib_pkey_access, sec, subnet_prefix, pkey); in security_ib_pkey_access()
5228 return call_int_hook(ib_endport_manage_subnet, sec, dev_name, port_num); in security_ib_endport_manage_subnet()
5248 rc = call_int_hook(ib_alloc_security, *sec); in security_ib_alloc_security()
5286 return call_int_hook(xfrm_policy_alloc_security, ctxp, sec_ctx, gfp); in security_xfrm_policy_alloc()
5303 return call_int_hook(xfrm_policy_clone_security, old_ctx, new_ctxp); in security_xfrm_policy_clone()
5328 return call_int_hook(xfrm_policy_delete_security, ctx); in security_xfrm_policy_delete()
5345 return call_int_hook(xfrm_state_alloc, x, sec_ctx); in security_xfrm_state_alloc()
5364 return call_int_hook(xfrm_state_alloc_acquire, x, polsec, secid); in security_xfrm_state_alloc_acquire()
5377 return call_int_hook(xfrm_state_delete_security, x); in security_xfrm_state_delete()
5406 return call_int_hook(xfrm_policy_lookup, ctx, fl_secid); in security_xfrm_policy_lookup()
5453 return call_int_hook(xfrm_decode_session, skb, secid, 1); in security_xfrm_decode_session()
5458 int rc = call_int_hook(xfrm_decode_session, skb, &flic->flowic_secid, in security_skb_classify_flow()
5485 rc = call_int_hook(key_alloc, key, cred, flags); in security_key_alloc()
5516 return call_int_hook(key_permission, key_ref, cred, need_perm); in security_key_permission()
5535 return call_int_hook(key_getsecurity, key, buffer); in security_key_getsecurity()
5575 return call_int_hook(audit_rule_init, field, op, rulestr, lsmrule, gfp); in security_audit_rule_init()
5589 return call_int_hook(audit_rule_known, krule); in security_audit_rule_known()
5620 return call_int_hook(audit_rule_match, prop, field, op, lsmrule); in security_audit_rule_match()
5639 return call_int_hook(bpf, cmd, attr, size); in security_bpf()
5654 return call_int_hook(bpf_map, map, fmode); in security_bpf_map()
5668 return call_int_hook(bpf_prog, prog); in security_bpf_prog()
5685 return call_int_hook(bpf_map_create, map, attr, token); in security_bpf_map_create()
5703 return call_int_hook(bpf_prog_load, prog, attr, token); in security_bpf_prog_load()
5720 return call_int_hook(bpf_token_create, token, attr, path); in security_bpf_token_create()
5736 return call_int_hook(bpf_token_cmd, token, cmd); in security_bpf_token_cmd()
5752 return call_int_hook(bpf_token_capable, token, cap); in security_bpf_token_capable()
5800 return call_int_hook(locked_down, what); in security_locked_down()
5822 rc = call_int_hook(bdev_alloc_security, bdev); in security_bdev_alloc()
5879 return call_int_hook(bdev_setintegrity, bdev, type, value, size); in security_bdev_setintegrity()
5895 return call_int_hook(perf_event_open, attr, type); in security_perf_event_open()
5915 rc = call_int_hook(perf_event_alloc, event); in security_perf_event_alloc()
5945 return call_int_hook(perf_event_read, event); in security_perf_event_read()
5958 return call_int_hook(perf_event_write, event); in security_perf_event_write()
5974 return call_int_hook(uring_override_creds, new); in security_uring_override_creds()
5987 return call_int_hook(uring_sqpoll); in security_uring_sqpoll()
6000 return call_int_hook(uring_cmd, ioucmd); in security_uring_cmd()