函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:25:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Get the security label of an inode.
函数原型:static struct inode_security_struct *inode_security(struct inode *inode)
返回类型:struct inode_security_struct
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct inode * | inode |
| 311 | 返回:selinux_inode(inode) |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |