函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dec_user_namespaces

函数原型:static void dec_user_namespaces(struct ucounts *ucounts)

返回类型:void

参数:

类型参数名称
struct ucounts *ucounts
39  返回:dec_ucount(ucounts, UCOUNT_USER_NAMESPACES)
调用者
名称描述
create_user_nsCreate a new user namespace, deriving the creator from the user in the* passed credentials, and replacing that user with the new root user for the* new namespace.* This is called by copy_creds(), which will finish setting the target task's* credentials.
free_user_ns