函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:scrypt_policies_equal - check whether two encryption policies are the same* Return: %true if equal, else %false

函数原型:bool fscrypt_policies_equal(const union fscrypt_policy *policy1, const union fscrypt_policy *policy2)

返回类型:bool

参数:

类型参数名称
const union fscrypt_policy *policy1
const union fscrypt_policy *policy2
26  如果version不等于version则返回:false
29  返回:非内存比较
调用者
名称描述
fscrypt_ioctl_set_policy
fscrypt_has_permitted_contextscrypt_has_permitted_context() - is a file's encryption policy permitted* within its directory?*@parent: inode for parent directory*@child: inode for file being looked up, opened, or linked into @parent* Filesystems must call this before permitting access