| Function report | 
| Source Code: fs\inode.c | Create Date:2022-07-28 20:07:59 | 
| Last Modify:2020-03-18 19:19:59 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Remove special file priviledges (suid, capabilities) when file is written* to or truncated.
Proto:int file_remove_privs(struct file *file)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | file | 
| 1838 | dentry = file_dentry(file) | 
| 1839 | inode = file_inode(file) | 
| 1841 | error = 0 | 
| 1855 | If kill Then error = __remove_privs(dentry, kill) | 
| 1857 | If Not error Then inode_has_no_xattr(inode) | 
| 1860 | Return error | 
| Name | Describe | 
|---|---|
| file_modified | Caller must hold the file's inode lock | 
| 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 |