Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditfilter.c Create Date:2022-07-28 11:25:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This function will re-initialize the lsm_rule field of all applicable rules

Proto:int audit_update_lsm_rules(void)

Type:int

Parameter:Nothing

1433  err = 0
1436  mutex_lock( & audit_filter_mutex)
1438  When i < AUDIT_NR_FILTERS cycle
1440  res = update_lsm_rule(r)
1441  If Not err Then err = res
1445  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1447  Return err