Function report | 
Source Code:kernel\cred.c | 
Create Date:2022-07-28 09:32:38 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name: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
Proto:int cred_fscmp(const struct cred *a, const struct cred *b)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct cred * | a | |
| const struct cred * | b | 
| 620 | If uid_lt( UID for VFS ops , UID for VFS ops ) Then Return -1 | 
| 622 | If uid_gt( UID for VFS ops , UID for VFS ops ) Then Return 1 | 
| 625 | If gid_lt( GID for VFS ops , GID for VFS ops ) Then Return -1 | 
| 627 | If gid_gt( GID for VFS ops , GID for VFS ops ) Then Return 1 | 
| 634 | If (ga == NULL) Then Return -1 | 
| 636 | If (gb == NULL) Then Return 1 | 
| 649 | Return 0 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |