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:Return mask of changes for notify_change() that need to be done as a* response to write or truncate. Return 0 if nothing has to be changed.* Negative value on error (change should be denied).
Proto:int dentry_needs_remove_privs(struct dentry *dentry)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | dentry |
| 1805 | mask = 0 |
| 1812 | ret = security_inode_need_killpriv(dentry) |
| 1815 | If ret Then mask |= ATTR_KILL_PRIV |
| 1817 | Return mask |
| Name | Describe |
|---|---|
| file_remove_privs | Remove special file priviledges (suid, capabilities) when file is written* to or truncated. |
| 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 |