Merge tag 'audit-pr-20200127' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
Pull audit update from Paul Moore: "One small audit patch for the Linux v5.6 merge window, and unsurprisingly it passes our test suite with flying colors" * tag 'audit-pr-20200127' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit: audit: Add __rcu annotation to RCU pointer
This commit is contained in:
@@ -102,12 +102,13 @@ struct audit_net {
|
||||
* This struct is RCU protected; you must either hold the RCU lock for reading
|
||||
* or the associated spinlock for writing.
|
||||
*/
|
||||
static struct auditd_connection {
|
||||
struct auditd_connection {
|
||||
struct pid *pid;
|
||||
u32 portid;
|
||||
struct net *net;
|
||||
struct rcu_head rcu;
|
||||
} *auditd_conn = NULL;
|
||||
};
|
||||
static struct auditd_connection __rcu *auditd_conn;
|
||||
static DEFINE_SPINLOCK(auditd_conn_lock);
|
||||
|
||||
/* If audit_rate_limit is non-zero, limit the rate of sending audit records
|
||||
|
||||
Reference in New Issue
Block a user