Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dcapability.h212 extern bool ns_capable_noaudit(struct user_namespace *ns, int cap);
241 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() function
/linux-5.19.10/kernel/
Dcapability.c413 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() function
417 EXPORT_SYMBOL(ns_capable_noaudit);
Dptrace.c281 return ns_capable_noaudit(ns, CAP_SYS_PTRACE); in ptrace_has_cap()
Dseccomp.c662 !ns_capable_noaudit(current_user_ns(), CAP_SYS_ADMIN)) in seccomp_prepare_filter()
/linux-5.19.10/net/
Dsysctl_net.c48 if (ns_capable_noaudit(net->user_ns, CAP_NET_ADMIN)) { in net_ctl_permissions()
/linux-5.19.10/security/landlock/
Dsyscalls.c413 !ns_capable_noaudit(current_user_ns(), CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
/linux-5.19.10/fs/overlayfs/
Dinode.c420 return ns_capable_noaudit(&init_user_ns, CAP_SYS_ADMIN); in ovl_can_list()
/linux-5.19.10/net/vmw_vsock/
Daf_vsock.c777 vsk->trusted = ns_capable_noaudit(&init_user_ns, CAP_NET_ADMIN); in __vsock_create()