函数逻辑报告 |
Source Code:kernel\user_namespace.c |
Create Date:2022-07-27 12:21:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:make_kuid - Map a user-namespace uid pair into a kuid
函数原型:kuid_t make_kuid(struct user_namespace *ns, uid_t uid)
返回类型:kuid_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct user_namespace * | ns | |
uid_t | uid |
389 | 返回 |
名称 | 描述 |
---|---|
SYSCALL_DEFINE3 | |
SYSCALL_DEFINE2 | Ugh. To avoid negative return values, "getpriority()" will* not return the normal nice-value, but a negated value that* has been offset by 20 (ie it returns 40..1 instead of -20..19)* to stay compatible. |
new_idmap_permitted | |
audit_data_to_entry | Translate struct audit_rule_data to kernel's rule representation. |
SYSCALL_DEFINE2 | |
keyctl_get_persistent | Get the persistent keyring for a specific UID and link it to the nominated* keyring. |
cap_inode_getsecurity | getsecurity: We are called for security |
rootid_from_xattr | |
get_vfs_caps_from_disk | Extract the on-exec-apply capability sets for an executable file. |
cap_bprm_set_creds | ap_bprm_set_creds - Set up the proposed credentials for execve().*@bprm: The execution parameters, including the proposed creds* Set up the proposed credentials for a new execution context being* constructed by execve() |
cap_emulate_setxuid | ap_emulate_setxuid() fixes the effective / permitted capabilities of* a process after a call to setuid, setreuid, or setresuid.* 1) When set*uiding _from_ one of {r,e,s}uid == 0 _to_ all of* {r,e,s}uid != 0, the permitted and effective capabilities are |
cap_task_fix_setuid | ap_task_fix_setuid - Fix up the results of setuid() call*@new: The proposed credentials*@old: The current task's current credentials*@flags: Indications of what has changed* Fix up the results of setuid() call before the credential changes are |
policy_view_capable | policy_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. |
parse_policy_line | In the case the input buffer contains one or more invalid UIDs, the kuid_t* variables pointed to by @parent and @child will get updated but this* function will return an error.* Contents of @buf may be modified. |
ima_parse_rule | |
chown_common | |
posix_acl_fix_xattr_userns | Fix up the uids and gids in posix acl extended attributes in place. |
posix_acl_from_xattr | Convert from extended attribute to in-memory representation. |
xdr_nfsace_decode | |
check_quotactl_permission | |
parse_mount_options | parse_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). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |