函数逻辑报告 |
Source Code:kernel\auditsc.c |
Create Date:2022-07-27 12:31:47 |
| Last Modify:2020-03-17 16:31:21 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__audit_log_bprm_fcaps - store information about a loading bprm and relevant fcaps*@bprm: pointer to the bprm being processed*@new: the proposed new credentials*@old: the old credentials* Simply check if the proc already has the caps given by the file and
函数原型:int __audit_log_bprm_fcaps(struct linux_binprm *bprm, const struct cred *new, const struct cred *old)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct linux_binprm * | bprm | |
| const struct cred * | new | |
| const struct cred * | old |
| 2445 | context等于audit_context() |
| 2459 | inheritable等于inheritable |
| 2460 | effective bit of file cap 等于非非magic_etc按位与VFS_CAP_FLAGS_EFFECTIVE的值 |
| 2462 | fcap_ver等于magic_etc按位与VFS_CAP_REVISION_MASK的值右移VFS_CAP_REVISION_SHIFT位 |
| 2464 | permitted等于 caps we're permitted |
| 2467 | ambient等于 Ambient capability set |
| 2469 | permitted等于 caps we're permitted |
| 2472 | ambient等于 Ambient capability set |
| 2473 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |