diff options
| author | Stephen Smalley <[email protected]> | 2024-08-26 08:47:09 -0400 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2024-08-26 18:39:16 -0400 |
| commit | 2571bb9d553ba2b8db1971bd3c903bff07d0bb11 (patch) | |
| tree | 3f0462beb870009d0ca64d2c27ced0ec0dbbc71f /scripts/gdb/linux/device.py | |
| parent | fc328c869c4128fc1f975b8cfe92e9ec320d477f (diff) | |
selinux: annotate false positive data race to avoid KCSAN warnings
KCSAN flags the check of isec->initialized by
__inode_security_revalidate() as a data race. This is indeed a racy
check, but inode_doinit_with_dentry() will recheck with isec->lock held.
Annotate the check with the data_race() macro to silence the KCSAN false
positive.
Reported-by: [email protected]
Signed-off-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions