函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:pack_dfa - unpack a file rule dfa*@e: serialized data extent information (NOT NULL)* returns dfa or ERR_PTR or NULL if no dfa

函数原型:static struct aa_dfa *unpack_dfa(struct aa_ext *e)

返回类型:struct aa_dfa

参数:

类型参数名称
struct aa_ext *e
444  char * blob = NULL
446  struct aa_dfa * dfa = NULL
448  size等于unpack_blob(e, & blob, "aadfa")
449  如果size
455  sz等于blobstartpointer to current position in the buffer start按位与7的值
457  pad等于@a is a power of 2 value (sz, 8)减sz
458  flags等于TO_ACCEPT1_FLAG(YYTD_DATA32)按位或TO_ACCEPT2_FLAG(YYTD_DATA32)按位或DFA_FLAG_VERIFY_STATES
460  dfa等于aa_dfa_unpack - unpack the binary tables of a serialized dfa*@blob: aligned serialized stream of data to unpack (NOT NULL)*@size: size of data to unpack*@flags: flags controlling what type of accept tables are acceptable
462  如果是错误则返回:dfa
467  返回: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