函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cred.h Create Date:2022-07-27 06:42:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline struct group_info *get_group_info(struct group_info *gi)

返回类型:struct group_info

参数:

类型参数名称
struct group_info *gi
42  atomic_inc( & usage)
43  返回:gi
调用者
名称描述
prepare_credsprepare_creds - Prepare a new set of credentials for modification* Prepare a new set of task credentials for modification
prepare_kernel_credprepare_kernel_cred - Prepare a set of credentials for a kernel service*@daemon: A userspace daemon to be used as a reference* Prepare a set of credentials for a kernel service
set_groupsset_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
key_change_session_keyringReplace a process's session keyring on behalf of one of its children when* the target process is about to resume userspace execution.