函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_free_names

函数原型:static inline void audit_free_names(struct audit_context *context)

返回类型:void

参数:

类型参数名称
struct audit_context *context
866  删除链表项
867  如果nameputname(name)
869  如果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.kfree(n)
872  文件数等于0
873  path_put( & 当前目录)
874  dentry = NULL
875  mnt = NULL
调用者
名称描述
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