Function report |
Source Code:kernel\uid16.c |
Create Date:2022-07-28 10:56:42 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE2
Proto:SYSCALL_DEFINE2(setgroups16, int, gidsetsize, old_gid_t __user *, grouplist)
Type:
Parameter:Nothing
| 182 | If Not may_setgroups() Then Return -EPERM |
| 184 | If gidsetsize > supplemental group IDs are available Then Return -EINVAL |
| 187 | group_info = groups_alloc(gidsetsize) |
| 188 | If Not group_info Then Return -ENOMEM |
| 190 | retval = groups16_from_user(group_info, grouplist) |
| 191 | If retval Then |
| 192 | put_group_info - Release a reference to a group info structure*@group_info: The group info to release(group_info) |
| 193 | Return retval |
| 196 | groups_sort(group_info) |
| 198 | put_group_info - Release a reference to a group info structure*@group_info: The group info to release(group_info) |
| 200 | Return retval |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |