Home
last modified time | relevance | path

Searched refs:ns_capable_noaudit (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/include/linux/
Dcapability.h150 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.6.21/kernel/
Dcapability.c399 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() function
403 EXPORT_SYMBOL(ns_capable_noaudit);
Dptrace.c282 return ns_capable_noaudit(ns, CAP_SYS_PTRACE); in ptrace_has_cap()
Dseccomp.c671 !ns_capable_noaudit(current_user_ns(), CAP_SYS_ADMIN)) in seccomp_prepare_filter()
/linux-6.6.21/net/
Dsysctl_net.c48 if (ns_capable_noaudit(net->user_ns, CAP_NET_ADMIN)) { in net_ctl_permissions()
/linux-6.6.21/security/landlock/
Dsyscalls.c413 !ns_capable_noaudit(current_user_ns(), CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
/linux-6.6.21/fs/
Dxattr.c1311 bool trusted = ns_capable_noaudit(&init_user_ns, CAP_SYS_ADMIN); in simple_xattr_list()
/linux-6.6.21/fs/overlayfs/
Dinode.c429 return ns_capable_noaudit(&init_user_ns, CAP_SYS_ADMIN); in ovl_can_list()
/linux-6.6.21/net/vmw_vsock/
Daf_vsock.c781 vsk->trusted = ns_capable_noaudit(&init_user_ns, CAP_NET_ADMIN); in __vsock_create()
/linux-6.6.21/io_uring/
Dio_uring.c3948 if (!ns_capable_noaudit(&init_user_ns, CAP_IPC_LOCK)) in io_uring_create()