Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/
Duid16.c93 rgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->gid)); in SYSCALL_DEFINE3()
94 egid = high2lowgid(from_kgid_munged(cred->user_ns, cred->egid)); in SYSCALL_DEFINE3()
95 sgid = high2lowgid(from_kgid_munged(cred->user_ns, cred->sgid)); in SYSCALL_DEFINE3()
124 group = high2lowgid(from_kgid_munged(user_ns, kgid)); in groups16_to_user()
215 return high2lowgid(from_kgid_munged(current_user_ns(), current_gid())); in SYSCALL_DEFINE0()
220 return high2lowgid(from_kgid_munged(current_user_ns(), current_egid())); in SYSCALL_DEFINE0()
/linux-6.6.21/include/linux/
Dhighuid.h48 #define high2lowgid(gid) ((gid) & ~0xFFFF ? (old_gid_t)overflowgid : (old_gid_t)(gid)) macro
59 (size >= sizeof(gid) ? (gid) : high2lowgid(gid))