Home
last modified time | relevance | path

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

/Linux-v5.15/security/
Dcommoncap.c330 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns() argument
334 if (!uid_valid(kroot)) in rootid_owns_currentns()
338 if (from_kuid(ns, kroot) == 0) in rootid_owns_currentns()
382 kuid_t kroot; in cap_inode_getsecurity() local
418 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
421 kroot = kuid_into_mnt(mnt_userns, kroot); in cap_inode_getsecurity()
425 mappedroot = from_kuid(current_user_ns(), kroot); in cap_inode_getsecurity()
452 if (!rootid_owns_currentns(kroot)) { in cap_inode_getsecurity()