函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Associate the given rule with an existing parent.* Caller must hold audit_filter_mutex.

函数原型:static void audit_add_to_parent(struct audit_krule *krule, struct audit_parent *parent)

返回类型:void

参数:

类型参数名称
struct audit_krule *krule
struct audit_parent *parent
369  watch等于 associated watch
370  watch_found等于0
372  BUG_ON(!是互斥锁)
375  如果字符串比较则继续下一循环
378  watch_found等于1
381  audit_put_watch(watch)
383  audit_get_watch(w)
384  associated watch 等于watch等于w
386  audit_put_parent(parent)
387  退出
390  如果非watch_found
391  associated parent 等于parent
393  audit_get_watch(watch)
394  添加链表项
396  添加链表项
调用者
名称描述
audit_add_watchFind a matching watch entry, or add this one.* Caller must hold audit_filter_mutex.