security: Fix some kernel-doc comments
Subsystems (4)
PATCH 1/1 security: Fix some kernel-doc comments
Fix some kernel-doc comments:
1.Remove the description of @inode in evm_read_protected_xattrs(); 2.Add the description of @iint in integrity_status();
3.Add the description of @mnt_userns and @attr in evm_inode_setattr().
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- security/integrity/evm/evm_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
security/integrity/evm/evm_main.c +3 -1
@@ -318,7 +318,6 @@ int evm_protected_xattr_if_enabled(const char *req_xattr_name)/** * evm_read_protected_xattrs - read EVM protected xattr names, lengths, values * @dentry: dentry of the read xattrs -* @inode: inode of the read xattrs * @buffer: buffer xattr names, lengths or values are copied to * @buffer_size: size of buffer * @type: n: names, l: lengths, v: values
@@ -390,6 +389,7 @@ int evm_read_protected_xattrs(struct dentry *dentry, u8 *buffer,* @xattr_name: requested xattr * @xattr_value: requested xattr value * @xattr_value_len: requested xattr value length +* @iint: integrity data associated with an inode * * Calculate the HMAC for the given dentry and verify it against the stored * security.evm xattr. For performance, use the xattr value and length
@@ -776,7 +776,9 @@ static int evm_attr_change(struct user_namespace *mnt_userns,/** * evm_inode_setattr - prevent updating an invalid EVM extended attribute +* @mnt_userns: user namespace of the idmapped mount * @dentry: pointer to the affected dentry +* @attr: new inode attributes * * Permit update of file attributes when files have a valid EVM signature, * except in the case of them having an immutable portable signature.
Signature · 1 line
2.20.1.7.g153144c