函数逻辑报告 |
Source Code:kernel\sys.c |
Create Date:2022-07-27 10:21:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:prctl_set_mm_exe_file
函数原型:static int prctl_set_mm_exe_file(struct mm_struct *mm, unsigned int fd)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
unsigned int | fd |
1825 | inode等于file_inode(file) |
1833 | 如果非S_ISREG(i_mode)或path_noexec( & f_path)则转到:exit |
1836 | err等于inode_permission(inode, MAY_EXEC) |
1843 | exe_file等于get_mm_exe_file - acquire a reference to the mm's executable file* Returns %NULL if mm has no associated executable file.* User must release file via fput(). |
1845 | 如果exe_file则 |
1848 | lock for reading |
1850 | 如果非File we map to (can be NULL). 则继续下一循环 |
1852 | 如果path_equal( & f_path, & f_path)则转到:exit_err |
1857 | lease a read lock |
1861 | err等于0 |
1867 | exit : |
1869 | 返回:err |
1870 | exit_err : |
1871 | lease a read lock |
1873 | 转到:exit |
名称 | 描述 |
---|---|
prctl_set_mm |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |