]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
smack: Revert "smackfs: Added check catlen"
authorKonstantin Andreev <andreev@swemel.ru>
Thu, 16 Jan 2025 23:40:33 +0000 (02:40 +0300)
committerCasey Schaufler <casey@schaufler-ca.com>
Sun, 16 Feb 2025 18:30:23 +0000 (10:30 -0800)
commitc7fb50cecff9cad19fdac5b37337eae4e42b94c7
treeb08534a00ad16bf5b07f01bb180524cbca9e400e
parentbf9f14c91a05ec77ee3710703b699c2a32f80ae4
smack: Revert "smackfs: Added check catlen"

This reverts commit ccfd889acb06eab10b98deb4b5eef0ec74157ea0

The indicated commit
* does not describe the problem that change tries to solve
* has programming issues
* introduces a bug: forever clears NETLBL_SECATTR_MLS_CAT
         in (struct smack_known *)skp->smk_netlabel.flags

Reverting the commit to reapproach original problem

Signed-off-by: Konstantin Andreev <andreev@swemel.ru>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smackfs.c