函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-27 12:31:17
Last Modify:2020-03-17 16:31:21 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__audit_getname - add a name to the list*@name: name to add* Add a name to the list of audit names for this context.* Called from fs/namei.c:getname().

函数原型:void __audit_getname(struct filename *name)

返回类型:void

参数:

类型参数名称
struct filename *name
1877  context等于audit_context()
1880  如果非是系统调用则返回
1883  n等于audit_alloc_name(context, we don't know yet )
1884  如果非n则返回
1887  name等于name
1888  umber of chars to log 等于Indicates that audit should log the full pathname.
1889  aname等于n
1890  refcnt自加
1892  如果非dentryget_fs_pwd(fs, & 当前目录)