[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150610.224934.759313464983844581.davem@davemloft.net>
Date: Wed, 10 Jun 2015 22:49:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sds@...ho.nsa.gov
Cc: netdev@...r.kernel.org, linux-security-module@...r.kernel.org,
paul@...l-moore.com
Subject: Re: [PATCH net-next] net/unix: support SCM_SECURITY for stream
sockets
From: Stephen Smalley <sds@...ho.nsa.gov>
Date: Wed, 10 Jun 2015 08:44:59 -0400
> 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@...ho.nsa.gov>
> Acked-by: Paul Moore <paul@...l-moore.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists