Regression in unix stream sockets with the Smack LSM
casey at schaufler-ca.com
Mon Sep 13 22:50:55 UTC 2021
af_unix: Add read_sock for stream socket types
introduced a regression in UDS socket connections for the Smack LSM.
I have not tracked done the details of why the change broke the code,
but this is where bisecting the kernel indicates the problem lies, and
I have verified that reverting this change repairs the problem.
You can verify the problem with the Smack test suite:
The failing test is tests/uds-access.sh.
I have not looked to see if there's a similar problem with SELinux.
There may be, but if there isn't it doesn't matter, there's still a
More information about the Linux-security-module-archive