函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Generic function to check FS_IOC_SETFLAGS values and reject any invalid* configurations.* Note: the caller should be holding i_mutex, or else be sure that they have* exclusive access to the inode structure.

函数原型:int vfs_ioc_setflags_prepare(struct inode *inode, unsigned int oldflags, unsigned int flags)

返回类型:int

参数:

类型参数名称
struct inode *inode
unsigned intoldflags
unsigned intflags
2251  如果flags按位异或oldflags的值按位与writes to file may only append 按位或Immutable file 的值且非操作权限检查则返回:负EPERM
2255  返回:0