SELinuxProject / selinux-testsuite

This is the upstream SELinux testsuite which is designed as a basic set of regression tests for the SELinux kernel functionality.
GNU General Public License v2.0
53 stars 43 forks source link

RFE: test socketpair peer labeling support #63

Closed stephensmalley closed 4 years ago

stephensmalley commented 5 years ago

kernel commit 0b811db2cb2aabc910e53d34ebb95a15997c33e7 ("selinux: provide socketpair callback") introduced support for SO_PEERSEC on sockets created via socketpair(). Augment the tests/unix_socket tests to test this functionality; currently it only tests SO_PEERSEC for sockets created via accept().

stephensmalley commented 4 years ago

Fixed by df5bff4ba193509d1e6e8cadf88706aefcdf9a45