mbox series

[0/2] smack: recognize ipv4 CIPSO w/o categories

Message ID 20250116234043.2904723-1-andreev@swemel.ru (mailing list archive)
Headers show
Series smack: recognize ipv4 CIPSO w/o categories | expand

Message

Konstantin Andreev Jan. 16, 2025, 11:40 p.m. UTC
Before [1] SMACK did not recognize CIPSO w/o categories (sensitivity only)
[1] tried to address this, but did this wrong.

The 1st patch reverts [1],
the 2nd patch addresses CIPSO w/o categories better than [1].

[1] https://lore.kernel.org/linux-security-module/20230124105037.23108-1-arefev@swemel.ru/
    ccfd889acb06 ("smackfs: Added check catlen")  2023-01-24

Konstantin Andreev (2):
  smack: Revert "smackfs: Added check catlen"
  smack: recognize ipv4 CIPSO w/o categories

 security/smack/smackfs.c | 21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)