Skip to contentSkip to conversation

client and server identification

DISCUSSION liliping 2 participants 2 messages Mar 11, 2004 SELinux security module

lore
Share & tools
lore

liliping

author
#0 lore raw

Look section 5.2.2 of "The Flask Security Architecture: System Support for Diverse Security Policies".

How does selinux implement "client and server identification" based on LSM? Is it necessary?

#1 lore raw
Quoted 5 lines · liliping

Look section 5.2.2 of "The Flask Security Architecture: System Support for Diverse Security Policies".

How does selinux implement "client and server identification" based on LSM? Is it necessary?

Prior to the overhaul of SELinux for integration into mainline 2.6, this was provided by the extended socket call API and labeled networking; see the historical versions page if you want to see that code. In the current code, peer identification is only supported for Unix (local) domain stream socket connections via getpeercon(3).

In Flask, client identification was more critical since the operating system services were provided as userspace servers on the microkernel, so even the filesystem code needed that service to identify its clients. In SELinux, the in-kernel services have direct access to the current process' identification, so the client identification service is only crucial to userspace object managers such as security-enhanced X and security-enhanced dbus-daemon.

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.