Function report | 
Source Code:kernel\groups.c | 
Create Date:2022-07-28 09:35:02 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:xport the group_info to a user-space array
Proto:static int groups_to_user(gid_t __user *grouplist, const struct group_info *group_info)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| gid_t __user * | grouplist | |
| const struct group_info * | group_info | 
| 45 | user_ns = current_user_ns() | 
| 51 | gid = from_kgid_munged(user_ns, gid[i]) | 
| 52 | If Write a simple value into user space(gid, grouplist + i) Then Return -EFAULT | 
| 55 | Return 0 | 
| Name | Describe | 
|---|---|
| SYSCALL_DEFINE2 | 
| 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  |