Home
last modified time | relevance | path

Searched refs:file_ns_capable (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/kernel/
Dcapability.c420 bool file_ns_capable(const struct file *file, struct user_namespace *ns, in file_ns_capable() function
431 EXPORT_SYMBOL(file_ns_capable);
Duser_namespace.c638 if (cap_valid(cap_setid) && !file_ns_capable(file, ns, CAP_SYS_ADMIN)) in map_write()
848 file_ns_capable(file, ns->parent, cap_setid)) in new_idmap_permitted()
/linux-4.4.14/include/linux/
Dcapability.h246 extern bool file_ns_capable(const struct file *file, struct user_namespace *ns, int cap);
/linux-4.4.14/net/netlink/
Daf_netlink.c1399 file_ns_capable(nsp->sk->sk_socket->file, user_ns, cap)) && in __netlink_ns_capable()
2019 if (!file_ns_capable(sk->sk_socket->file, p->net->user_ns, in do_one_broadcast()
/linux-4.4.14/fs/proc/
Dtask_mmu.c1275 pm.show_pfn = file_ns_capable(file, &init_user_ns, CAP_SYS_ADMIN); in pagemap_read()
/linux-4.4.14/net/core/
Dsock.c162 return file_ns_capable(sk->sk_socket->file, user_ns, cap) && in sk_ns_capable()
Dskbuff.c3686 file_ns_capable(sk->sk_socket->file, &init_user_ns, CAP_NET_RAW); in skb_may_tx_timestamp()