函数逻辑报告

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

函数名称:deny_write_access

函数原型:static inline int deny_write_access(struct file *file)

返回类型:int

参数:

类型参数名称
struct file *file
2924  inode等于file_inode(file)
2925  返回:如果atomic_dec_unless_positive( & i_writecount)则0否则负ETXTBSY
调用者
名称描述
mmap_region
do_open_execat
kernel_read_file
fsverity_ioctl_enablesverity_ioctl_enable() - enable verity on a file* Enable fs-verity on a file. See the "FS_IOC_ENABLE_VERITY" section of* Documentation/filesystems/fsverity.rst for the documentation.* Return: 0 on success, -errno on failure
load_misc_binaryhe loader itself