函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\crypto\fname.c Create Date:2022-07-29 10:56:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fscrypt_is_dot_dotdot

函数原型:static inline bool fscrypt_is_dot_dotdot(const struct qstr *str)

返回类型:bool

参数:

类型参数名称
const struct qstr *str
20  如果len恒等于1且name[0]恒等于'.'则返回:true
23  如果len恒等于2且name[0]恒等于'.'且name[1]恒等于'.'则返回:true
26  返回:false
调用者
名称描述
fscrypt_fname_disk_to_usrscrypt_fname_disk_to_usr() - converts a filename from disk space to user* space* The caller must have allocated sufficient memory for the @oname string.* If the key is available, we'll decrypt the disk name; otherwise, we'll encode* it for presentation
fscrypt_setup_filenamescrypt_setup_filename() - prepare to search a possibly encrypted directory*@dir: the directory that will be searched*@iname: the user-provided filename being searched for*@lookup: 1 if we're allowed to proceed without the key because it's* ->lookup() or