函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:unpack_u64

函数原型:static bool unpack_u64(struct aa_ext *e, u64 *data, const char *name)

返回类型:bool

参数:

类型参数名称
struct aa_ext *e
u64 *data
const char *name
337  pos等于pointer to current position in the buffer
339  如果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
340  如果非st if read will be in packed data bounds 则转到:fail
342  如果datadata等于le64_to_cpu(get_unaligned((__le64 * )pointer to current position in the buffer ))
344  pointer to current position in the buffer 加等于sizeof(u64)
345  返回:1
348  fail :
349  pointer to current position in the buffer 等于pos
350  返回:0
调用者
名称描述
unpack_rlimits