Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\policy_unpack.c Create Date:2022-07-28 19:52:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:aa_rawdata_eq

Proto:bool aa_rawdata_eq(struct aa_loaddata *l, struct aa_loaddata *r)

Type:bool

Parameter:

TypeParameterName
struct aa_loaddata *l
struct aa_loaddata *r
141  If he original size of the payload != he original size of the payload Then Return false
143  If he compressed size of the payload != he compressed size of the payload Then Return false
145  If aa_g_hash_policy && memcmp(hash, hash, aa_hash_size()) != 0 Then Return false
147  Return memcmp(Pointer to payload. If @compressed_size > 0, then this is the* compressed version of the payload, else it is the uncompressed* version (with the size indicated by @size)., Pointer to payload. If @compressed_size > 0, then this is the* compressed version of the payload, else it is the uncompressed* version (with the size indicated by @size)., he compressed size of the payload ? : he original size of the payload ) == 0