diff options
| author | John Johansen <[email protected]> | 2025-07-30 10:08:29 +0000 |
|---|---|---|
| committer | John Johansen <[email protected]> | 2025-07-30 12:00:47 +0000 |
| commit | f3c0675bb9e0a3a472dd519ec7ccde23bdcf180b (patch) | |
| tree | 8ecefcd761fe3aee6a658488b43e9ed19438c3e6 /scripts/rustdoc_test_gen.rs | |
| parent | apparmor: Remove the unused variable rules (diff) | |
| download | kernel-f3c0675bb9e0a3a472dd519ec7ccde23bdcf180b.tar.gz kernel-f3c0675bb9e0a3a472dd519ec7ccde23bdcf180b.zip | |
apparmor: fix test error: WARNING in apparmor_unix_stream_connect
commit 88fec3526e84 ("apparmor: make sure unix socket labeling is correctly updated.")
added the use of security_sk_alloc() which ensures the sk label is
initialized.
This means that the AA_BUG in apparmor_unix_stream_connect() is no
longer correct, because while the sk is still not being initialized
by going through post_create, it is now initialize in sk_alloc().
Remove the now invalid check.
Reported-by: [email protected]
Fixes: 88fec3526e84 ("apparmor: make sure unix socket labeling is correctly updated.")
Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
