Lines Matching refs:call_int_hook
700 * call_int_hook:
712 #define call_int_hook(FUNC, IRC, ...) ({ \
730 return call_int_hook(binder_set_context_mgr, 0, mgr);
736 return call_int_hook(binder_transaction, 0, from, to);
742 return call_int_hook(binder_transfer_binder, 0, from, to);
748 return call_int_hook(binder_transfer_file, 0, from, to, file);
753 return call_int_hook(ptrace_access_check, 0, child, mode);
758 return call_int_hook(ptrace_traceme, 0, parent);
766 return call_int_hook(capget, 0, target,
775 return call_int_hook(capset, 0, new, old,
784 return call_int_hook(capable, 0, cred, ns, cap, opts);
789 return call_int_hook(quotactl, 0, cmds, type, id, sb);
794 return call_int_hook(quota_on, 0, dentry);
799 return call_int_hook(syslog, 0, type);
804 return call_int_hook(settime, 0, ts, tz);
832 return call_int_hook(bprm_creds_for_exec, 0, bprm);
837 return call_int_hook(bprm_creds_from_file, 0, bprm, file);
844 ret = call_int_hook(bprm_check_security, 0, bprm);
862 return call_int_hook(fs_context_dup, 0, fc, src_fc);
885 return call_int_hook(sb_alloc_security, 0, sb);
904 return call_int_hook(sb_eat_lsm_opts, 0, options, mnt_opts);
911 return call_int_hook(sb_remount, 0, sb, mnt_opts);
917 return call_int_hook(sb_kern_mount, 0, sb);
922 return call_int_hook(sb_show_options, 0, m, sb);
927 return call_int_hook(sb_statfs, 0, dentry);
933 return call_int_hook(sb_mount, 0, dev_name, path, type, flags, data);
938 return call_int_hook(sb_umount, 0, mnt, flags);
943 return call_int_hook(sb_pivotroot, 0, old_path, new_path);
951 return call_int_hook(sb_set_mnt_opts,
962 return call_int_hook(sb_clone_mnt_opts, 0, oldsb, newsb,
970 return call_int_hook(sb_add_mnt_opt, -EINVAL,
977 return call_int_hook(move_mount, 0, from_path, to_path);
983 return call_int_hook(path_notify, 0, path, mask, obj_type);
992 rc = call_int_hook(inode_alloc_security, 0, inode);
1028 return call_int_hook(dentry_init_security, -EOPNOTSUPP, dentry, mode,
1037 return call_int_hook(dentry_create_files_as, 0, dentry, mode,
1054 return call_int_hook(inode_init_security, -EOPNOTSUPP, inode,
1058 ret = call_int_hook(inode_init_security, -EOPNOTSUPP, inode, dir, qstr,
1083 return call_int_hook(inode_init_security, -EOPNOTSUPP, inode, dir,
1094 return call_int_hook(path_mknod, 0, dir, dentry, mode, dev);
1102 return call_int_hook(path_mkdir, 0, dir, dentry, mode);
1110 return call_int_hook(path_rmdir, 0, dir, dentry);
1117 return call_int_hook(path_unlink, 0, dir, dentry);
1126 return call_int_hook(path_symlink, 0, dir, dentry, old_name);
1134 return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry);
1146 int err = call_int_hook(path_rename, 0, new_dir, new_dentry,
1152 return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir,
1161 return call_int_hook(path_truncate, 0, path);
1168 return call_int_hook(path_chmod, 0, path, mode);
1175 return call_int_hook(path_chown, 0, path, uid, gid);
1180 return call_int_hook(path_chroot, 0, path);
1188 return call_int_hook(inode_create, 0, dir, dentry, mode);
1197 return call_int_hook(inode_link, 0, old_dentry, dir, new_dentry);
1204 return call_int_hook(inode_unlink, 0, dir, dentry);
1212 return call_int_hook(inode_symlink, 0, dir, dentry, old_name);
1219 return call_int_hook(inode_mkdir, 0, dir, dentry, mode);
1227 return call_int_hook(inode_rmdir, 0, dir, dentry);
1234 return call_int_hook(inode_mknod, 0, dir, dentry, mode, dev);
1246 int err = call_int_hook(inode_rename, 0, new_dir, new_dentry,
1252 return call_int_hook(inode_rename, 0, old_dir, old_dentry,
1260 return call_int_hook(inode_readlink, 0, dentry);
1268 return call_int_hook(inode_follow_link, 0, dentry, inode, rcu);
1275 return call_int_hook(inode_permission, 0, inode, mask);
1284 ret = call_int_hook(inode_setattr, 0, dentry, attr);
1295 return call_int_hook(inode_getattr, 0, path);
1309 ret = call_int_hook(inode_setxattr, 1, dentry, name, value, size,
1335 return call_int_hook(inode_getxattr, 0, dentry, name);
1342 return call_int_hook(inode_listxattr, 0, dentry);
1355 ret = call_int_hook(inode_removexattr, 1, dentry, name);
1368 return call_int_hook(inode_need_killpriv, 0, dentry);
1373 return call_int_hook(inode_killpriv, 0, dentry);
1417 return call_int_hook(inode_listsecurity, 0, inode, buffer, buffer_size);
1428 return call_int_hook(inode_copy_up, 0, src, new);
1456 return call_int_hook(kernfs_init_security, 0, kn_dir, kn);
1463 ret = call_int_hook(file_permission, 0, file, mask);
1476 rc = call_int_hook(file_alloc_security, 0, file);
1497 return call_int_hook(file_ioctl, 0, file, cmd, arg);
1515 return call_int_hook(file_ioctl_compat, 0, file, cmd, arg);
1558 ret = call_int_hook(mmap_file, 0, file, prot, prot_adj, flags);
1566 return call_int_hook(mmap_addr, 0, addr);
1574 ret = call_int_hook(file_mprotect, 0, vma, reqprot, prot);
1582 return call_int_hook(file_lock, 0, file, cmd);
1587 return call_int_hook(file_fcntl, 0, file, cmd, arg);
1598 return call_int_hook(file_send_sigiotask, 0, tsk, fown, sig);
1603 return call_int_hook(file_receive, 0, file);
1610 ret = call_int_hook(file_open, 0, file);
1623 rc = call_int_hook(task_alloc, 0, task, clone_flags);
1644 rc = call_int_hook(cred_alloc_blank, 0, cred, gfp);
1672 rc = call_int_hook(cred_prepare, 0, new, old, gfp);
1692 return call_int_hook(kernel_act_as, 0, new, secid);
1697 return call_int_hook(kernel_create_files_as, 0, new, inode);
1704 ret = call_int_hook(kernel_module_request, 0, kmod_name);
1715 ret = call_int_hook(kernel_read_file, 0, file, id, contents);
1727 ret = call_int_hook(kernel_post_read_file, 0, file, buf, size, id);
1738 ret = call_int_hook(kernel_load_data, 0, id, contents);
1751 ret = call_int_hook(kernel_post_load_data, 0, buf, size, id,
1762 return call_int_hook(task_fix_setuid, 0, new, old, flags);
1768 return call_int_hook(task_fix_setgid, 0, new, old, flags);
1773 return call_int_hook(task_setpgid, 0, p, pgid);
1778 return call_int_hook(task_getpgid, 0, p);
1783 return call_int_hook(task_getsid, 0, p);
1795 return call_int_hook(task_setnice, 0, p, nice);
1800 return call_int_hook(task_setioprio, 0, p, ioprio);
1805 return call_int_hook(task_getioprio, 0, p);
1811 return call_int_hook(task_prlimit, 0, cred, tcred, flags);
1817 return call_int_hook(task_setrlimit, 0, p, resource, new_rlim);
1822 return call_int_hook(task_setscheduler, 0, p);
1827 return call_int_hook(task_getscheduler, 0, p);
1832 return call_int_hook(task_movememory, 0, p);
1838 return call_int_hook(task_kill, 0, p, info, sig, cred);
1866 return call_int_hook(ipc_permission, 0, ipcp, flag);
1881 rc = call_int_hook(msg_msg_alloc_security, 0, msg);
1900 rc = call_int_hook(msg_queue_alloc_security, 0, msq);
1915 return call_int_hook(msg_queue_associate, 0, msq, msqflg);
1920 return call_int_hook(msg_queue_msgctl, 0, msq, cmd);
1926 return call_int_hook(msg_queue_msgsnd, 0, msq, msg, msqflg);
1932 return call_int_hook(msg_queue_msgrcv, 0, msq, msg, target, type, mode);
1941 rc = call_int_hook(shm_alloc_security, 0, shp);
1956 return call_int_hook(shm_associate, 0, shp, shmflg);
1961 return call_int_hook(shm_shmctl, 0, shp, cmd);
1966 return call_int_hook(shm_shmat, 0, shp, shmaddr, shmflg);
1975 rc = call_int_hook(sem_alloc_security, 0, sma);
1990 return call_int_hook(sem_associate, 0, sma, semflg);
1995 return call_int_hook(sem_semctl, 0, sma, cmd);
2001 return call_int_hook(sem_semop, 0, sma, sops, nsops, alter);
2040 return call_int_hook(netlink_send, 0, sk, skb);
2045 return call_int_hook(ismaclabel, 0, name);
2071 return call_int_hook(secctx_to_secid, 0, secdata, seclen, secid);
2089 return call_int_hook(inode_notifysecctx, 0, inode, ctx, ctxlen);
2095 return call_int_hook(inode_setsecctx, 0, dentry, ctx, ctxlen);
2122 return call_int_hook(post_notification, 0, w_cred, cred, n);
2129 return call_int_hook(watch_key, 0, key);
2137 return call_int_hook(unix_stream_connect, 0, sock, other, newsk);
2143 return call_int_hook(unix_may_send, 0, sock, other);
2149 return call_int_hook(socket_create, 0, family, type, protocol, kern);
2155 return call_int_hook(socket_post_create, 0, sock, family, type,
2161 return call_int_hook(socket_socketpair, 0, socka, sockb);
2167 return call_int_hook(socket_bind, 0, sock, address, addrlen);
2172 return call_int_hook(socket_connect, 0, sock, address, addrlen);
2177 return call_int_hook(socket_listen, 0, sock, backlog);
2182 return call_int_hook(socket_accept, 0, sock, newsock);
2187 return call_int_hook(socket_sendmsg, 0, sock, msg, size);
2193 return call_int_hook(socket_recvmsg, 0, sock, msg, size, flags);
2198 return call_int_hook(socket_getsockname, 0, sock);
2203 return call_int_hook(socket_getpeername, 0, sock);
2208 return call_int_hook(socket_getsockopt, 0, sock, level, optname);
2213 return call_int_hook(socket_setsockopt, 0, sock, level, optname);
2218 return call_int_hook(socket_shutdown, 0, sock, how);
2223 return call_int_hook(socket_sock_rcv_skb, 0, sk, skb);
2230 return call_int_hook(socket_getpeersec_stream, -ENOPROTOOPT, sock,
2236 return call_int_hook(socket_getpeersec_dgram, -ENOPROTOOPT, sock,
2243 return call_int_hook(sk_alloc_security, 0, sk, family, priority);
2279 return call_int_hook(inet_conn_request, 0, sk, skb, req);
2298 return call_int_hook(secmark_relabel_packet, 0, secid);
2316 return call_int_hook(tun_dev_alloc_security, 0, security);
2328 return call_int_hook(tun_dev_create, 0);
2334 return call_int_hook(tun_dev_attach_queue, 0, security);
2340 return call_int_hook(tun_dev_attach, 0, sk, security);
2346 return call_int_hook(tun_dev_open, 0, security);
2352 return call_int_hook(sctp_assoc_request, 0, ep, skb);
2359 return call_int_hook(sctp_bind_connect, 0, sk, optname,
2377 return call_int_hook(ib_pkey_access, 0, sec, subnet_prefix, pkey);
2383 return call_int_hook(ib_endport_manage_subnet, 0, sec, dev_name, port_num);
2389 return call_int_hook(ib_alloc_security, 0, sec);
2406 return call_int_hook(xfrm_policy_alloc_security, 0, ctxp, sec_ctx, gfp);
2413 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp);
2424 return call_int_hook(xfrm_policy_delete_security, 0, ctx);
2430 return call_int_hook(xfrm_state_alloc, 0, x, sec_ctx);
2437 return call_int_hook(xfrm_state_alloc_acquire, 0, x, polsec, secid);
2442 return call_int_hook(xfrm_state_delete_security, 0, x);
2453 return call_int_hook(xfrm_policy_lookup, 0, ctx, fl_secid, dir);
2482 return call_int_hook(xfrm_decode_session, 0, skb, secid, 1);
2487 int rc = call_int_hook(xfrm_decode_session, 0, skb, &flic->flowic_secid,
2501 return call_int_hook(key_alloc, 0, key, cred, flags);
2512 return call_int_hook(key_permission, 0, key_ref, cred, need_perm);
2518 return call_int_hook(key_getsecurity, 0, key, _buffer);
2527 return call_int_hook(audit_rule_init, 0, field, op, rulestr, lsmrule);
2532 return call_int_hook(audit_rule_known, 0, krule);
2542 return call_int_hook(audit_rule_match, 0, secid, field, op, lsmrule);
2549 return call_int_hook(bpf, 0, cmd, attr, size);
2553 return call_int_hook(bpf_map, 0, map, fmode);
2557 return call_int_hook(bpf_prog, 0, prog);
2561 return call_int_hook(bpf_map_alloc_security, 0, map);
2565 return call_int_hook(bpf_prog_alloc_security, 0, aux);
2579 return call_int_hook(locked_down, 0, what);
2586 return call_int_hook(perf_event_open, 0, attr, type);
2591 return call_int_hook(perf_event_alloc, 0, event);
2601 return call_int_hook(perf_event_read, 0, event);
2606 return call_int_hook(perf_event_write, 0, event);
2613 return call_int_hook(mmap_region, 0, vma);