Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-28 11:27:59
Last Modify:2020-03-17 16:31:21 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__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().

Proto:void __audit_getname(struct filename *name)

Type:void

Parameter:

TypeParameterName
struct filename *name
1877  context = audit_context()
1880  If Not 1 if task is in a syscall Then Return
1883  n = audit_alloc_name(context, we don't know yet )
1884  If Not n Then Return
1887  name = name
1888  umber of chars to log = Indicates that audit should log the full pathname.
1889  aname = n
1890  refcnt++
1892  If Not dentry Then get_fs_pwd(fs, & pwd)