| Function report | 
| Source Code: fs\namei.c | Create Date:2022-07-28 20:05:00 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:This does the basic permission checking
Proto:static int acl_permission_check(struct inode *inode, int mask)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct inode * | inode | |
| int | mask | 
| 297 | If Value is more likely to compile time(uid_eq(current_fsuid(), i_uid)) Then mode >>= 6 | 
| 299 | Else | 
| 300 | If IS_POSIXACL(inode) && mode & S_IRWXG Then | 
| 306 | If in_group_p(i_gid) Then mode >>= 3 | 
| 315 | Return -EACCES | 
| Name | Describe | 
|---|---|
| generic_permission | generic_permission - check for access rights on a Posix-like filesystem*@inode: inode to check access rights for*@mask: right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC, | 
| 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 |