函数逻辑报告 |
Source Code:security\safesetid\securityfs.c |
Create Date:2022-07-27 21:50:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:In the case the input buffer contains one or more invalid UIDs, the kuid_t* variables pointed to by @parent and @child will get updated but this* function will return an error.* Contents of @buf may be modified.
函数原型:static int parse_policy_line(struct file *file, char *buf, struct setuid_rule *rule)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct file * | file | |
char * | buf | |
struct setuid_rule * | rule |
38 | child_str等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
41 | child_str等于'\0' |
42 | child_str自加 |
44 | ret等于kstrtou32(buf, 0, & parsed_parent) |
48 | ret等于kstrtou32(child_str, 0, & parsed_child) |
57 | 返回:0 |
名称 | 描述 |
---|---|
handle_policy_update |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |