socket_secure fails with "Function not implemented"
What is the status of the secure socket calls? What issues remain unresolved (I am most interested in finding out the sid of a UNIX domain socket peer.)
Thanks.
Quoted 16 lines
From: Wayne Salamon <[email protected]>
To: "M. H." <[email protected]>
CC: <[email protected]>
Subject: Re:socket_securefails with "Function not implemented"
Date: Tue, 13 Aug 2002 13:34:24 -0400 (EDT)Quoted 2 lines · M. H.
I was trying to write a little test program using
socket_secure(),however
Quoted 1 line
it never succeeds and sets errno to "Function not implemented."
Did you enable the 'NSA SELinux extended socket calls (EXPERIMENTAL)'
option when you configured the kernel. This option is under the 'NSA SELinux Support' option in the Security options panel.
Quoted 7 lines
By default, extended socket calls are not built as they are considered experimental.
--
Wayne Salamon
[email protected]
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
--
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.
Quoted 3 lines · M. H.
What is the status of the secure socket calls? What issues remain unresolved (I am most interested in finding out the sid of a UNIX domain socket peer.)
For the LSM-Selinux, getpeername_secure() is implemented, but the SID
returned for the peer is not correct for Unix domain sockets. We have a pending patch for LSM that will allow us to correctly set the peer SID on Unix and INET sockets.
Signature · 9 lines
Wayne Salamon [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.