Home
last modified time | relevance | path

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

/openbmc/linux/kernel/
H A 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()
/openbmc/linux/include/linux/
H A Dhighuid.h48 #define high2lowgid(gid) ((gid) & ~0xFFFF ? (old_gid_t)overflowgid : (old_gid_t)(gid)) macro
59 (size >= sizeof(gid) ? (gid) : high2lowgid(gid))
/openbmc/qemu/linux-user/
H A Dsyscall.c7119 static inline int high2lowgid(int gid) in high2lowgid() function
7154 static inline int high2lowgid(int gid) in high2lowgid() function
11830 return get_errno(high2lowgid(getgid())); in _syscall2()
11838 return get_errno(high2lowgid(getegid())); in _syscall2()
11868 target_grouplist[i] = tswapid(high2lowgid(grouplist[i])); in _syscall2()
11946 if (put_user_id(high2lowgid(rgid), arg1) in _syscall2()
11947 || put_user_id(high2lowgid(egid), arg2) in _syscall2()
11948 || put_user_id(high2lowgid(sgid), arg3)) in _syscall2()