函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:make_kgid - Map a user-namespace gid pair into a kgid

函数原型:kgid_t make_kgid(struct user_namespace *ns, gid_t gid)

返回类型:kgid_t

参数:

类型参数名称
struct user_namespace *ns
gid_tgid
457  返回
调用者
名称描述
groups16_from_user
new_idmap_permitted
audit_data_to_entryTranslate struct audit_rule_data to kernel's rule representation.
policy_view_capablepolicy_view_capable - check if viewing policy in at @ns is allowed* Returns: true if viewing policy is allowed* If @ns is NULL then the namespace being viewed is assumed to be the* tasks current namespace.
posix_acl_fix_xattr_usernsFix up the uids and gids in posix acl extended attributes in place.
posix_acl_from_xattrConvert from extended attribute to in-memory representation.
xdr_nfsace_decode
check_quotactl_permission
parse_mount_optionsparse_mount_options():* Set @opts to mount options specified in @data. If an option is not* specified in @data, set it to its default value.* Note: @data may be NULL (in which case all options are set to default).