函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:27:17 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:selinux_genfs_get_sid
函数原型:static int selinux_genfs_get_sid(struct dentry *dentry, u16 tclass, u16 flags, unsigned int *sid)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct dentry * | dentry | |
| u16 | tclass | |
| u16 | flags | |
| unsigned int * | sid |
| 1337 | sb等于 The root of the dentry tree |
| 1340 | buffer等于__get_free_page(GFP_KERNEL) |
| 1344 | path等于dentry_path_raw(dentry, buffer, PAGE_SIZE) |
| 1347 | 否则 |
| 1357 | rc等于security_genfs_sid( & selinux_state, name, path, tclass, sid) |
| 1361 | sid等于SECINITSID_UNLABELED |
| 1362 | rc等于0 |
| 1366 | 返回:rc |
| 名称 | 描述 |
|---|---|
| inode_doinit_with_dentry |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |