Function report |
Source Code:kernel\groups.c |
Create Date:2022-07-28 09:35:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SMP: Our groups are copy-on-write. We can set them safely* without another task interfering.
Proto:SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist)
Type:
Parameter:Nothing
195 | If Not may_setgroups() Then Return -EPERM |
197 | If gidsetsize > supplemental group IDs are available Then Return -EINVAL |
200 | group_info = groups_alloc(gidsetsize) |
201 | If Not group_info Then Return -ENOMEM |
204 | If retval Then |
205 | put_group_info - Release a reference to a group info structure*@group_info: The group info to release(group_info) |
206 | Return retval |
209 | groups_sort(group_info) |
211 | put_group_info - Release a reference to a group info structure*@group_info: The group info to release(group_info) |
213 | 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 |