Files
android_kernel_xiaomi_sm8450/include/net
Stephen Smalley 37a9a8df8c net/unix: support SCM_SECURITY for stream sockets
SCM_SECURITY was originally only implemented for datagram sockets,
not for stream sockets.  However, SCM_CREDENTIALS is supported on
Unix stream sockets.  For consistency, implement Unix stream support
for SCM_SECURITY as well.  Also clean up the existing code and get
rid of the superfluous UNIXSID macro.

Motivated by https://bugzilla.redhat.com/show_bug.cgi?id=1224211,
where systemd was using SCM_CREDENTIALS and assumed wrongly that
SCM_SECURITY was also supported on Unix stream sockets.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-10 22:49:20 -07:00
..
2014-09-18 10:54:36 +02:00
2015-03-04 00:23:23 -05:00
2015-03-06 21:50:02 -05:00
2015-05-12 23:19:49 -04:00
2013-11-07 19:28:58 -05:00
2015-03-12 14:39:40 -04:00
2014-09-30 01:02:26 -04:00
2015-03-12 14:39:40 -04:00
2014-06-04 22:46:38 -07:00
2015-01-18 01:56:32 -05:00
2015-05-25 13:25:35 -04:00
2015-03-11 16:22:14 -04:00
2015-03-12 14:39:40 -04:00
2015-06-04 15:44:30 -07:00
2014-01-03 20:56:48 -05:00
2015-05-17 23:41:11 -04:00
2015-01-15 18:26:16 -05:00
2014-06-02 11:00:41 -07:00
2015-03-12 22:58:12 -04:00
2015-06-07 15:19:52 -07:00
2014-05-22 14:57:15 -04:00