函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:54:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_dentry_create_files_as
函数原型:static int smack_dentry_create_files_as(struct dentry *dentry, int mode, struct qstr *name, const struct cred *old, struct cred *new)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry | |
| int | mode | |
| struct qstr * | name | |
| const struct cred * | old | |
| struct cred * | new |
| 4549 | otsp等于smack_cred(old) |
| 4550 | ntsp等于smack_cred(new) |
| 4563 | isp等于smack_inode(获得目录项的索引节点) |
| 4565 | 如果smack inode flags 按位与directory is transmuting 则 |
| 4577 | 如果may大于0且may按位与Controls directory labeling 则 label for access control 等于label of the fso |
| 4580 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |