函数逻辑报告 |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-27 20:25:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:get the security ID of a set of credentials
函数原型:static inline unsigned int cred_sid(const struct cred *cred)
返回类型:unsigned int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct cred * | cred |
| 224 | tsec等于selinux_cred(cred) |
| 225 | 返回: current SID |
| 名称 | 描述 |
|---|---|
| task_sid | get the objective security ID of a task |
| cred_has_capability | Check whether a task is allowed to use a capability. |
| inode_has_perm | Check whether a task has a particular permission to an inode.The 'adp' parameter is optional and allows other auditdata to be passed (e.g. the dentry). |
| file_has_perm | Check whether a task can use an open file descriptor toaccess an inode in a given way. Check access to thedescriptor itself, and then use dentry_has_perm tocheck a particular permission to the file.Access to the descriptor is implicitly granted if it |
| superblock_has_perm | Check whether a task can perform a filesystem operation. |
| selinux_capset | |
| selinux_inode_follow_link | |
| selinux_inode_permission | |
| ioctl_has_perm | Check whether a task has the ioctl permission and cmd* operation to an inode. |
| file_map_prot_check | |
| selinux_file_mprotect | |
| selinux_cred_getsecid | |
| selinux_task_prlimit | |
| selinux_task_kill | |
| selinux_key_permission |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |