Home
last modified time | relevance | path

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

/linux-5.19.10/security/ !
Dcommoncap.c331 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns() argument
335 if (!uid_valid(kroot)) in rootid_owns_currentns()
339 if (from_kuid(ns, kroot) == 0) in rootid_owns_currentns()
383 kuid_t kroot; in cap_inode_getsecurity() local
419 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
422 kroot = mapped_kuid_fs(mnt_userns, fs_ns, kroot); in cap_inode_getsecurity()
426 mappedroot = from_kuid(current_user_ns(), kroot); in cap_inode_getsecurity()
453 if (!rootid_owns_currentns(kroot)) { in cap_inode_getsecurity()