Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
Duser_namespace.h34 #define USERNS_SETGROUPS_ALLOWED 1UL macro
36 #define USERNS_INIT_FLAGS USERNS_SETGROUPS_ALLOWED
/Linux-v6.1/kernel/
Duser_namespace.c1181 if (!(ns->flags & USERNS_SETGROUPS_ALLOWED) && in new_idmap_permitted()
1208 (userns_flags & USERNS_SETGROUPS_ALLOWED) ? in proc_setgroups_show()
1258 if (!(ns->flags & USERNS_SETGROUPS_ALLOWED)) in proc_setgroups_write()
1266 ns->flags &= ~USERNS_SETGROUPS_ALLOWED; in proc_setgroups_write()
1290 allowed = allowed && (ns->flags & USERNS_SETGROUPS_ALLOWED); in userns_may_setgroups()