Searched refs:high2lowgid (Results 1 – 3 of 3) sorted by relevance
93 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()
48 #define high2lowgid(gid) ((gid) & ~0xFFFF ? (old_gid_t)overflowgid : (old_gid_t)(gid)) macro59 (size >= sizeof(gid) ? (gid) : high2lowgid(gid))
7149 static inline int high2lowgid(int gid) in high2lowgid() function7184 static inline int high2lowgid(int gid) in high2lowgid() function11935 return get_errno(high2lowgid(getgid())); in _syscall2()11943 return get_errno(high2lowgid(getegid())); in _syscall2()11973 target_grouplist[i] = tswapid(high2lowgid(grouplist[i])); in _syscall2()12051 if (put_user_id(high2lowgid(rgid), arg1) in _syscall2()12052 || put_user_id(high2lowgid(egid), arg2) in _syscall2()12053 || put_user_id(high2lowgid(sgid), arg3)) in _syscall2()