From: Albert Cahalan <albert@users.sourceforge.net>
To: SELinux@tycho.nsa.gov
Subject: threads
Date: 26 Dec 2003 10:54:41 -0500 [thread overview]
Message-ID: <1072454081.827.103.camel@cube> (raw)
Normal Linux security data (uid, capability bits)
is per-thread. There are at least two reasons for
this:
1. Multi-threaded server daemons can rely on
kernel-enforced security.
2. Race conditions are eliminated without locking.
This deals with the problem of two threads
simultaneously updating the security data, or
one thread updating while another thread uses.
I'm told that SE Linux enforces shared security
data. I suppose this is mostly required when
implementing a mandatory system. Is this race-free?
Is there a capability that would allow a suitably
privileged process to have per-thread contexts?
Also, I'm told that a security context can only
change during exec. WHAT???? Besides the case of
a suitably privileged process, what about the
need to move some sort of watermark? AFAIK, your
security context needs to be tainted when you
read low-integrity data and so on.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next reply other threads:[~2003-12-26 15:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-26 15:54 Albert Cahalan [this message]
2003-12-29 15:37 ` threads Stephen Smalley
2004-01-21 1:11 ` threads Albert Cahalan
2004-01-21 5:09 ` threads Russell Coker
2004-01-21 13:47 ` threads Stephen Smalley
-- strict thread matches above, loose matches on Subject: below --
2005-11-06 6:17 threads Fabio Andres Miranda
2005-11-06 8:41 ` threads Steve Graegert
2001-03-06 23:55 Ying Chen
2001-03-07 0:07 ` threads J . A . Magallon
2000-11-10 15:03 threads M.Kiran Babu
2000-11-10 15:39 ` threads Matti Aarnio
2000-11-10 16:05 ` threads Reto Baettig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1072454081.827.103.camel@cube \
--to=albert@users.sourceforge.net \
--cc=SELinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.