aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/pyynl/cli.py
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2024-11-21 09:57:12 +0000
committerMimi Zohar <[email protected]>2024-12-24 18:56:45 +0000
commit68af44a71975688b881ea524e2526bb7c7ad0e9a (patch)
treeedb47ac4ac202e17e9cd860d51961c3ecabd7d17 /tools/net/ynl/pyynl/cli.py
parentima: Suspend PCR extends and log appends when rebooting (diff)
downloadkernel-68af44a71975688b881ea524e2526bb7c7ad0e9a.tar.gz
kernel-68af44a71975688b881ea524e2526bb7c7ad0e9a.zip
ima: kexec: silence RCU list traversal warning
The ima_measurements list is append-only and doesn't require rcu_read_lock() protection. However, lockdep issues a warning when traversing RCU lists without the read lock: security/integrity/ima/ima_kexec.c:40 RCU-list traversed in non-reader section!! Fix this by using the variant of list_for_each_entry_rcu() with the last argument set to true. This tells the RCU subsystem that traversing this append-only list without the read lock is intentional and safe. This change silences the lockdep warning while maintaining the correct semantics for the append-only list traversal. Signed-off-by: Breno Leitao <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions