Skip to contentSkip to conversation

CONFIG_SECURITY_NETWORK required?

DISCUSSION Tom Anderson 2 participants 2 messages Jun 17, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

Is CONFIG_SECURITY_NETWORK required for SELinux? I've seen some docs which recommend enabling it, but I'd expect it to be listed under NSA SELinux Support (menuconfig) if it was truly required. Any real (dis)advantage to leaving it disabled?

__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

--
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 4 lines · Tom Anderson

Is CONFIG_SECURITY_NETWORK required for SELinux? I've seen some docs which recommend enabling it, but I'd expect it to be listed under NSA SELinux Support (menuconfig) if it was truly required. Any real (dis)advantage to leaving it disabled?

SELinux _should_ work with it disabled (although I haven't tested this for some time), but disabling it does cause all socket hooks to be disabled, even those related to Unix domain sockets. Consequently, local socket IPC would no longer be controlled by policy, and the getpeercon API for obtaining the context of a Unix domain peer would not be supported if you disabled it. The latter is important for certain userspace policy enforcers, e.g. security-enhanced X.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.