Home
last modified time | relevance | path

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

/linux-6.6.21/security/
Dcommoncap.c331 static bool rootid_owns_currentns(vfsuid_t rootvfsuid) in rootid_owns_currentns() argument
336 if (!vfsuid_valid(rootvfsuid)) in rootid_owns_currentns()
339 kroot = vfsuid_into_kuid(rootvfsuid); in rootid_owns_currentns()
645 vfsuid_t rootvfsuid; in get_vfs_caps_from_disk() local
688 rootvfsuid = make_vfsuid(idmap, fs_ns, rootkuid); in get_vfs_caps_from_disk()
689 if (!vfsuid_valid(rootvfsuid)) in get_vfs_caps_from_disk()
695 if (!rootid_owns_currentns(rootvfsuid)) in get_vfs_caps_from_disk()
713 cpu_caps->rootid = vfsuid_into_kuid(rootvfsuid); in get_vfs_caps_from_disk()