函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\objsec.h Create Date:2022-07-27 20:25:08
Last Modify:2020-03-18 08:17:34 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_cred

函数原型:static inline struct task_security_struct *selinux_cred(const struct cred *cred)

返回类型:struct task_security_struct

参数:

类型参数名称
const struct cred *cred
154  返回: subjective LSM security lbs_cred
调用者
名称描述
cred_init_securityalise the security for the init task
cred_sidget the security ID of a set of credentials
may_context_mount_sb_relabel
may_context_mount_inode_relabel
may_createCheck whether a task can create a file.
selinux_bprm_set_creds
selinux_bprm_committing_credsPrepare a process for imminent new credential changes due to exec
selinux_bprm_committed_credsClean up the process immediately after the installation of new credentials* due to exec
selinux_dentry_init_security
selinux_dentry_create_files_as
selinux_inode_init_security
selinux_inode_copy_up
selinux_kernfs_init_securitykernfs node operations
selinux_cred_prepareprepare a new set of credentials for modification
selinux_cred_transferransfer the SELinux data to a blank set of creds
selinux_kernel_act_asset the security data for a kernel service* - all the creation contexts are set to unlabelled
selinux_kernel_create_files_asset the file creation context in a security record to the same as the* objective context of the specified inode
selinux_socket_create
selinux_socket_post_create
selinux_secmark_relabel_packet
selinux_getprocattr
selinux_setprocattr
selinux_key_alloc
selinux_xfrm_alloc_userAllocates a xfrm_sec_state and populates it using the supplied security* xfrm_user_sec_ctx context.
selinux_xfrm_deleteAuthorize the deletion of a labeled SA or policy rule.
current_sidget the subjective security ID of the current task