函数逻辑报告 |
Source Code:kernel\cred.c |
Create Date:2022-07-27 10:33:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:red_fscmp - Compare two credentials with respect to filesystem access.*@a: The first credential*@b: The second credential* cred_cmp() will return zero if both credentials have the same* fsuid, fsgid, and supplementary groups. That is, if they will both
函数原型:int cred_fscmp(const struct cred *a, const struct cred *b)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct cred * | a | |
const struct cred * | b |
620 | 如果uid_lt( UID for VFS ops , UID for VFS ops )则返回:负1 |
622 | 如果uid_gt( UID for VFS ops , UID for VFS ops )则返回:1 |
625 | 如果gid_lt( GID for VFS ops , GID for VFS ops )则返回:负1 |
627 | 如果gid_gt( GID for VFS ops , GID for VFS ops )则返回:1 |
634 | 如果(ga == NULL)则返回:负1 |
636 | 如果(gb == NULL)则返回:1 |
649 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |