函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_groups - Change a group subscription in a set of credentials*@new: The newly prepared set of credentials to alter*@group_info: The group list to install

函数原型:void set_groups(struct cred *new, struct group_info *group_info)

返回类型:void

参数:

类型参数名称
struct cred *new
struct group_info *group_info
125  put_group_info - Release a reference to a group info structure*@group_info: The group info to release(组补充信息)
126  get_group_info - Get a reference to a group info structure*@group_info: The group info to reference* This gets a reference to a set of supplementary groups.* If the caller is accessing a task's credentials, they must hold the RCU read* lock when reading.
127  组补充信息等于group_info
调用者
名称描述
set_current_groupsset_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.