函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:audit_put_watch

函数原型:void audit_put_watch(struct audit_watch *watch)

返回类型:void

参数:

类型参数名称
struct audit_watch *watch
107  如果_dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED
108  WARN_ON(associated parent )
109  WARN_ON(!链表为空)
110  kfree(sertion path )
111  kfree(watch)
调用者
名称描述
audit_free_rule
audit_remove_watch
audit_update_watchUpdate inode info in audit rules based on filesystem event.
audit_add_to_parentAssociate the given rule with an existing parent.* Caller must hold audit_filter_mutex.
audit_add_watchFind a matching watch entry, or add this one.* Caller must hold audit_filter_mutex.