SELinux: Compute SID for the newly created socket
authorHarry Ciao <qingtao.cao@windriver.com>
Wed, 2 Mar 2011 05:32:34 +0000 (13:32 +0800)
committerEric Paris <eparis@redhat.com>
Thu, 3 Mar 2011 20:19:44 +0000 (15:19 -0500)
The security context for the newly created socket shares the same
user, role and MLS attribute as its creator but may have a different
type, which could be specified by a type_transition rule in the relevant
policy package.

Signed-off-by: Harry Ciao <qingtao.cao@windriver.com>
[fix call to security_transition_sid to include qstr, Eric Paris]
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>

No differences found