函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\uid16.c Create Date:2022-07-27 11:57:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:SYSCALL_DEFINE2

函数原型:SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist)

返回类型:

参数:

182  如果非may_setgroups()则返回:负EPERM
184  如果gidsetsize大于supplemental group IDs are available 则返回:负EINVAL
187  group_info等于groups_alloc(gidsetsize)
188  如果非group_info则返回:负ENOMEM
190  retval等于groups16_from_user(group_info, grouplist)
191  如果retval
192  put_group_info - Release a reference to a group info structure*@group_info: The group info to release(group_info)
193  返回:retval
196  groups_sort(group_info)
197  retval等于set_current_groups - Change current's group subscription*@group_info: The group list to impose* Validate a group subscription and, if valid, impose it upon current's task* security record.
198  put_group_info - Release a reference to a group info structure*@group_info: The group info to release(group_info)
200  返回:retval