Skip to contentSkip to conversation

kernel patches from new release

DISCUSSION Russell Coker 2 participants 2 messages Aug 24, 2002 – Aug 26, 2002 SELinux security module

lore
Share & tools
lore
#0 lore raw

In the past we have been advised not to use the system calls for determining the SID of the process at the other end of a socket due to the code being incomplete.

I notice that the new kernel patch for 2.4.19 in the 2002.08.23 release of SE Linux appears to have significant improvements in this regard, does this mean that we can now rely on the system calls related to socket contexts? If not then what is the exact status of this work? Can we rely on some of the system calls? If so which ones?

Signature · 3 lines
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line

From field.

--
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 9 lines · Russell Coker

In the past we have been advised not to use the system calls for determining the SID of the process at the other end of a socket due to the code being incomplete.

I notice that the new kernel patch for 2.4.19 in the 2002.08.23 release of SE Linux appears to have significant improvements in this regard, does this mean that we can now rely on the system calls related to socket contexts? If not then what is the exact status of this work? Can we rely on some of the system calls? If so which ones?

Yes, the peer SID functionality (accept_secure and friends) should now be reliable, as noted in http://www.nsa.gov/selinux/news.html.

--
Stephen D. Smalley, NAI Labs
[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.