Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:52:58 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Get the security label of an inode.
Proto:static struct inode_security_struct *inode_security(struct inode *inode)
Type:struct inode_security_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct inode * | inode |
| 311 | Return selinux_inode(inode) |
| Name | Describe |
|---|---|
| selinux_determine_inode_label | Determine the label for an inode that might be unioned. |
| may_create | Check whether a task can create a file. |
| may_link | Check whether a task can link, unlink, or rmdir a file/directory. |
| may_rename | |
| selinux_bprm_set_creds | |
| selinux_inode_getsecurity | Copy the inode security context value to the user.* Permission check is handled by selinux_inode_getxattr hook. |
| selinux_file_permission | |
| ioctl_has_perm | Check whether a task has the ioctl permission and cmd* operation to an inode. |
| selinux_file_open | |
| 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_kernel_module_from_file |
| 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 |