Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\uid16.c Create Date:2022-07-28 10:56:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:groups16_to_user

Proto:static int groups16_to_user(old_gid_t __user *grouplist, struct group_info *group_info)

Type:int

Parameter:

TypeParameterName
old_gid_t __user *grouplist
struct group_info *group_info
117  user_ns = current_user_ns()
122  When i < ngroups cycle
123  kgid = gid[i]
124  group = high2lowgid(from_kgid_munged(user_ns, kgid))
125  If Write a simple value into user space(group, grouplist + i) Then Return -EFAULT
129  Return 0
Caller
NameDescribe
SYSCALL_DEFINE2