函数逻辑报告 |
Source Code:fs\file.c |
Create Date:2022-07-29 10:38:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:replace_fd
函数原型:int replace_fd(unsigned fd, struct file *file, unsigned flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned | fd | |
struct file * | file | |
unsigned | flags |
895 | 如果fd大于等于rlimit(RLIMIT_NOFILE)则返回:负EBADF |
898 | 加自旋锁 |
900 | 如果此条件成立可能性小(为编译器优化)(err < 0)则转到:out_unlock |
904 | out_unlock : |
905 | 自旋锁解锁 |
906 | 返回:err |
名称 | 描述 |
---|---|
umh_pipe_setup | |
aa_inherit_files | ased on selinux's flush_unauthorized_files |
umh_pipe_setup | mh_pipe_setup* helper function to customize the process used* to collect the core in userspace. Specifically* it sets up a pipe and installs it as fd 0 (stdin)* for the process. Returns 0 on success, or* PTR_ERR on failure. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |