Skip to contentSkip to conversation

threads and context

DISCUSSION Xavier Toth 2 participants 2 messages May 18, 2009 SELinux security module

lore
Share & tools
lore
#0 lore raw

What is the current situation regarding threads and their context? I remember seeing patches related to this subject posted awhile back were they upstreamed?

Ted

--
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 3 lines · Xavier Toth

What is the current situation regarding threads and their context? I remember seeing patches related to this subject posted awhile back were they upstreamed?

In Linux 2.6.28 and later, a thread in a multi-threaded process can switch its context via setcon(3) iff the new SID is bounded by the old SID (where bounded is defined via typebounds statements supported by checkpolicy >= 2.0.17 and libsepol >= 2.0.34 and indicates that the child context is never allowed more permissions than the parent context).

There is a test policy and test case added for the type bounds support in the ltp selinux testsuite, enabled in the cvs head.

Signature · 8 lines
Stephen Smalley
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.