Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:audit_free_names

Proto:static inline void audit_free_names(struct audit_context *context)

Type:void

Parameter:

TypeParameterName
struct audit_context *context
866  deletes entry from list
867  If name Then putname(name)
869  If This was an allocated audit_names and not from the array of* names allocated in the task audit context. Thus this name* should be freed on syscall exit. Then kfree(n)
872  al records in names_list = 0
873  path_put( & pwd)
874  dentry = NULL
875  mnt = NULL
Caller
NameDescribe
audit_free_context
__audit_syscall_exit__audit_syscall_exit - deallocate audit context after a system call*@success: success value of the syscall*@return_code: return value of the syscall* Tear down after system call