函数逻辑报告 |
Source Code:security\apparmor\file.c |
Create Date:2022-07-27 21:42:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ased on selinux's flush_unauthorized_files
函数原型:void aa_inherit_files(const struct cred *cred, struct files_struct *files)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct cred * | cred | |
struct files_struct * | files |
698 | label等于aa_get_newest_cred_label - obtain the newest label on a cred*@cred: cred to obtain label from (NOT NULL)* Returns: newest version of confining label |
702 | revalidate_tty(label) |
705 | n等于iterate_fd(files, 0, match_file, label) |
709 | devnull等于dentry_open( & aa_null, O_RDWR, cred) |
713 | 循环 |
714 | replace_fd(n - 1, devnull, 0) |
715 | 当n等于iterate_fd(files, n, match_file, label)不等于0循环 |
718 | out : |
719 | aa_put_label(label) |
名称 | 描述 |
---|---|
apparmor_bprm_committing_creds | apparmor_bprm_committing_creds - do task cleanup on committing new creds*@bprm: binprm for the exec (NOT NULL) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |