Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-28 05:43:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:inode_is_open_for_write

Proto:static inline bool inode_is_open_for_write(const struct inode *inode)

Type:bool

Parameter:

TypeParameterName
const struct inode *inode
2938  Return atomic_read( & i_writecount) > 0
Caller
NameDescribe
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