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: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,
Proto:int generic_permission(struct inode *inode, int mask)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
int | mask |
348 | Return 0 |
351 | Return -EACCES |
360 | Return 0 |
368 | Return 0 |
370 | Return -EACCES |
Name | Describe |
---|---|
do_inode_permission | We _really_ want to just do "generic_permission()" without* even looking at the inode->i_op values. So we keep a cache* flag in inode->i_opflags, that says "this has not special* permission function, use the fast case". |
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 |