函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Initialize a watch entry.

函数原型:static struct audit_watch *audit_init_watch(char *path)

返回类型:struct audit_watch

参数:

类型参数名称
char *path
164  watch等于分配内存并置零
165  如果此条件成立可能性小(为编译器优化)(!watch)则返回:错误号
168  初始化链表头
169  _set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
170  sertion path 等于path
171  associated superblock device 等于AUDIT_DEV_UNSET
172  associated inode number 等于AUDIT_INO_UNSET
174  返回:watch
调用者
名称描述
audit_to_watchTranslate a watch string to kernel representation.
audit_dupe_watchDuplicate the given audit watch. The new watch's rules list is initialized* to an empty list and wlist is undefined.