Searched refs:ns_capable_noaudit (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/include/linux/ ! |
D | capability.h | 150 extern bool ns_capable_noaudit(struct user_namespace *ns, int cap); 179 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() function
|
/linux-6.12.1/kernel/ ! |
D | capability.c | 399 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() function 403 EXPORT_SYMBOL(ns_capable_noaudit);
|
D | ptrace.c | 271 return ns_capable_noaudit(ns, CAP_SYS_PTRACE); in ptrace_has_cap()
|
D | seccomp.c | 684 !ns_capable_noaudit(current_user_ns(), CAP_SYS_ADMIN)) in seccomp_prepare_filter()
|
/linux-6.12.1/net/ ! |
D | sysctl_net.c | 48 if (ns_capable_noaudit(net->user_ns, CAP_NET_ADMIN)) { in net_ctl_permissions()
|
/linux-6.12.1/fs/overlayfs/ ! |
D | xattrs.c | 109 return ns_capable_noaudit(&init_user_ns, CAP_SYS_ADMIN); in ovl_can_list()
|
/linux-6.12.1/security/landlock/ ! |
D | syscalls.c | 489 !ns_capable_noaudit(current_user_ns(), CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
|
/linux-6.12.1/fs/ ! |
D | namespace.c | 2084 if (!ns_capable_noaudit(mntns->user_ns, CAP_SYS_ADMIN)) in __lookup_next_mnt_ns() 5177 !ns_capable_noaudit(ns->user_ns, CAP_SYS_ADMIN)) in do_statmount() 5343 !ns_capable_noaudit(ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE4() 5395 !ns_capable_noaudit(ns->user_ns, CAP_SYS_ADMIN)) in do_listmount() 5470 !ns_capable_noaudit(ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE4()
|
D | xattr.c | 1315 bool trusted = ns_capable_noaudit(&init_user_ns, CAP_SYS_ADMIN); in simple_xattr_list()
|
/linux-6.12.1/net/vmw_vsock/ ! |
D | af_vsock.c | 782 vsk->trusted = ns_capable_noaudit(&init_user_ns, CAP_NET_ADMIN); in __vsock_create()
|
/linux-6.12.1/io_uring/ ! |
D | io_uring.c | 3588 if (!ns_capable_noaudit(&init_user_ns, CAP_IPC_LOCK)) in io_uring_create()
|