Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:55:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check whether a task can create a file.
Proto:static int may_create(struct inode *dir, struct dentry *dentry, u16 tclass)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | dir | |
struct dentry * | dentry | |
u16 | tclass |
1814 | tsec = selinux_cred(current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()) |
1822 | sbsec = s_security |
1824 | sid = current SID |
1826 | type = LSM_AUDIT_DATA_DENTRY |
Name | Describe |
---|---|
selinux_inode_create | |
selinux_inode_symlink | |
selinux_inode_mkdir | |
selinux_inode_mknod |
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 |