Home
last modified time | relevance | path

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

/Linux-v5.4/security/
Dcommoncap.c322 static bool rootid_owns_currentns(kuid_t kroot) in rootid_owns_currentns() argument
326 if (!uid_valid(kroot)) in rootid_owns_currentns()
330 if (from_kuid(ns, kroot) == 0) in rootid_owns_currentns()
373 kuid_t kroot; in cap_inode_getsecurity() local
413 kroot = make_kuid(fs_ns, root); in cap_inode_getsecurity()
417 mappedroot = from_kuid(current_user_ns(), kroot); in cap_inode_getsecurity()
427 if (!rootid_owns_currentns(kroot)) { in cap_inode_getsecurity()