Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:55:11 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Determine the label for an inode that might be unioned.
Proto:static int selinux_determine_inode_label(const struct task_security_struct *tsec, struct inode *dir, const struct qstr *name, u16 tclass, unsigned int *_new_isid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct task_security_struct * | tsec | |
struct inode * | dir | |
const struct qstr * | name | |
u16 | tclass | |
unsigned int * | _new_isid |
1791 | sbsec = s_security |
1796 | Else if which mount options were specified & SBLABEL_MNT && fscreate SID Then |
1798 | _new_isid = fscreate SID |
1799 | Else |
1801 | Return security_transition_sid( & selinux_state, current SID , SID of this object , tclass, name, _new_isid) |
1806 | Return 0 |
Name | Describe |
---|---|
may_create | Check whether a task can create a file. |
selinux_dentry_init_security | |
selinux_dentry_create_files_as | |
selinux_inode_init_security |
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 |