Skip to contentSkip to conversation

Be labeled with SID or security context?

DISCUSSION Park Lee 2 participants 2 messages Apr 18, 2005 SELinux security module

lore
Share & tools
lore

Park Lee

author
#0 lore raw

Hi,
In SELinux, sockets inherit the SID of its creating
process.
Then, can we say that sockets are labeled with the
SID of its creating process? (i.e. Can we say that SELinux uses the SID of a socket's creating process to label the socket?)
Or, can we also say that sockets are labeled with
the security context of its creating process ?
Which one is better?

Thanks,

Best Regards,
Park Lee

__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 10 lines · Park Lee

Hi,
In SELinux, sockets inherit the SID of its creating
process.
Then, can we say that sockets are labeled with the
SID of its creating process? (i.e. Can we say that SELinux uses the SID of a socket's creating process to label the socket?)
Or, can we also say that sockets are labeled with
the security context of its creating process ?
Which one is better? Thanks,

It's the same thing but a SID is something which is now internal to SELinux kernel code, so use security context instead.

- James

Signature · 9 lines
James Morris
<[email protected]>



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.