Function report | 
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 activity | Download SCCT | Chinese | 
Name:selinux_cred
Proto:static inline struct task_security_struct *selinux_cred(const struct cred *cred)
Type:struct task_security_struct
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct cred * | cred | 
| 154 | Return subjective LSM security + lbs_cred | 
| Name | Describe | 
|---|---|
| cred_init_security | alise the security for the init task | 
| cred_sid | get the security ID of a set of credentials | 
| may_context_mount_sb_relabel | |
| may_context_mount_inode_relabel | |
| may_create | Check whether a task can create a file. | 
| selinux_bprm_set_creds | |
| selinux_bprm_committing_creds | Prepare a process for imminent new credential changes due to exec | 
| selinux_bprm_committed_creds | Clean 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_security | kernfs node operations | 
| selinux_cred_prepare | prepare a new set of credentials for modification | 
| selinux_cred_transfer | ransfer the SELinux data to a blank set of creds | 
| selinux_kernel_act_as | set the security data for a kernel service* - all the creation contexts are set to unlabelled | 
| selinux_kernel_create_files_as | set 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_user | Allocates a xfrm_sec_state and populates it using the supplied security* xfrm_user_sec_ctx context. | 
| selinux_xfrm_delete | Authorize the deletion of a labeled SA or policy rule. | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |