函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:may_setgroups

函数原型:bool may_setgroups(void)

返回类型:bool

参数:

179  user_ns等于current_user_ns()
181  返回:ns_capable(user_ns, Allows forged gids on socket credentials passing. )且userns_may_setgroups(user_ns)
调用者
名称描述
SYSCALL_DEFINE2SMP: Our groups are copy-on-write. We can set them safely* without another task interfering.
SYSCALL_DEFINE2