aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorLontke Michael <[email protected]>2022-08-31 14:03:26 +0200
committerCasey Schaufler <[email protected]>2022-09-27 10:33:03 -0700
commit4ca165fc6c49c3b0100f61524ffbca4743d46e8d (patch)
treed4173b1c3e8290074b3329be13e39a44d2d51629 /scripts/generate_rust_analyzer.py
parentb90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff)
SMACK: Add sk_clone_security LSM hook
Using smk_of_current() during sk_alloc_security hook leads in rare cases to a faulty initialization of the security context of the created socket. By adding the LSM hook sk_clone_security to SMACK this initialization fault is corrected by copying the security context of the old socket pointer to the newly cloned one. Co-authored-by: Martin Ostertag: <[email protected]> Signed-off-by: Lontke Michael <[email protected]> Signed-off-by: Casey Schaufler <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions