函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\apparmor\policy_unpack.c Create Date:2022-07-27 21:34:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unpack_blob

函数原型:static size_t unpack_blob(struct aa_ext *e, char **blob, const char *name)

返回类型:size_t

参数:

类型参数名称
struct aa_ext *e
char **blob
const char *name
373  pos等于pointer to current position in the buffer
375  如果pack_nameX - check is the next element is of type X with a name of @name*@e: serialized data extent information (NOT NULL)*@code: type code*@name: name to match to the serialized element
377  如果非st if read will be in packed data bounds 则转到:fail
379  size等于le32_to_cpu(get_unaligned((__le32 * )pointer to current position in the buffer ))
380  pointer to current position in the buffer 加等于sizeof(u32)
384  返回:size
388  fail :
389  pointer to current position in the buffer 等于pos
390  返回:0
调用者
名称描述
unpack_dfapack_dfa - unpack a file rule dfa*@e: serialized data extent information (NOT NULL)* returns dfa or ERR_PTR or NULL if no dfa
unpack_profilepack_profile - unpack a serialized profile*@e: serialized data extent information (NOT NULL)* NOTE: unpack profile sets audit struct if there is a failure