函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:aa_mangle_name - mangle a profile name to std profile layout form*@name: profile name to mangle (NOT NULL)*@target: buffer to store mangled name, same length as @name (MAYBE NULL)* Returns: length of mangled name

函数原型:static int mangle_name(const char *name, char *target)

返回类型:int

参数:

类型参数名称
const char *name
char *target
107  t等于target
109 name恒等于'/'或name恒等于'.'循环
110  name自加
112  如果target
113 name循环
114  如果name恒等于'/'则*t自加等于'.'
116  否则如果Note: isspace() must return false for %NUL-terminator ( * name)则*t自加等于'_'
122  t等于0
123  否则
124  len等于0
125 name循环
131  返回:len
134  返回:ttarget
调用者
名称描述
__aafs_profile_mkdirRequires: @profile->ns->lock held