Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\objsec.h Create Date:2022-07-28 18:52:14
Last Modify:2020-03-18 08:17:34 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_cred

Proto:static inline struct task_security_struct *selinux_cred(const struct cred *cred)

Type:struct task_security_struct

Parameter:

TypeParameterName
const struct cred *cred
154  Return subjective LSM security + lbs_cred
Caller
NameDescribe
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.