函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-27 06:44:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:inode_is_open_for_write

函数原型:static inline bool inode_is_open_for_write(const struct inode *inode)

返回类型:bool

参数:

类型参数名称
const struct inode *inode
2938  返回:atomic_read( & i_writecount)大于0
调用者
名称描述
ima_rdwr_violation_checkma_rdwr_violation_check* Only invalidate the PCR for measured files:* - Opening a file for write when already open for read,* results in a time of measure, time of use (ToMToU) error.* - Opening a file for read when already open for write,
fanotify_add_inode_mark
check_conflicting_openheck_conflicting_open - see if the given file points to an inode that has* an existing open that would conflict with the* desired lease