Skip to contentSkip to conversation

LSM caps issue, selinux affected?

DISCUSSION Joshua Brindle 2 participants 2 messages Apr 12, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

http://marc.theaimsgroup.com/?l=linux-kernel&m=108153697611991&w=2

Since Smalley or others haven't responded on that thread yet and I'm no longer on the LSM list (the spam...) I'd like to get the opinion here, how effective is this against selinux and is it serious enough that we should issue security advisories? Pebenito says we should be unaffected since we block ptrace by default, is that the common configuration?

Joshua Brindle

--
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 7 lines · Joshua Brindle

http://marc.theaimsgroup.com/?l=linux-kernel&m=108153697611991&w=2

Since Smalley or others haven't responded on that thread yet and I'm no longer on the LSM list (the spam...) I'd like to get the opinion here, how effective is this against selinux and is it serious enough that we should issue security advisories? Pebenito says we should be unaffected since we block ptrace by default, is that the common configuration?

It has to do with the separation of the capabilities logic from the core kernel, not anything SELinux-related, although it should certainly be fixed. For SELinux, there are two scenarios:

1) If there was no domain transition on the program execution, then the calling domain would need to be allowed to use the capabilities by the SELinux policy. Otherwise, it can't use them.

2) If there was a domain transition on the program execution, then the program domain would need to be allowed to use the capabilities by the SELinux policy, and the calling domain would be prevented from interfering with the program domain by the policy, and the domain transition would trigger inheritance controls and enable glibc secure mode.

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.