函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-29 10:38:08
Last Modify:2020-03-18 19:19:59 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__remove_privs

函数原型:static int __remove_privs(struct dentry *dentry, int kill)

返回类型:int

参数:

类型参数名称
struct dentry *dentry
intkill
1824  ia_valid等于Not a change, but a change it 按位或kill
1829  返回:y_change - modify attributes of a filesytem object*@dentry: object affected*@attr: new attributes*@delegated_inode: returns inode, if the inode is delegated* The caller must hold the i_mutex on the affected object
调用者
名称描述
file_remove_privsRemove special file priviledges (suid, capabilities) when file is written* to or truncated.