From: Cory Olmo <colmo@TrustedCS.com>
To: selinux@tycho.nsa.gov
Subject: Context mounts and unsupported context strings
Date: Tue, 25 Jul 2006 14:25:13 -0500 [thread overview]
Message-ID: <20060725142513.9ee1efc3.colmo@TrustedCS.com> (raw)
I recently ran into a problem with mounting file systems for particular
context strings. At this point we are still in the analysis phase so any
information or ideas would be appreciated.
The problem:
Attempt to mount a cdrom with the context option of
context=system_u:object_r:iso9660_t:s1:c0,c2,c4
The context will get interpreted as only
system_u:object_r:iso9660_t:s1:c0. The reason is that the field separator
for the option field is ',', which is the same as that for categories. As a
result the rest of the context ends up being interpreted as additional
mount options that get passed on to the file system.
We've considered translation, escape characters, and quoting the entire
context string. So far the most feasible appear to be either escaping or
quoting the entire context string.
--
Cory Olmo
Trusted Computer Solutions
www.TrustedCS.com
--
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:[~2006-07-25 19:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-25 19:25 Cory Olmo [this message]
2006-08-01 14:07 ` Context mounts and unsupported context strings Stephen Smalley
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=20060725142513.9ee1efc3.colmo@TrustedCS.com \
--to=colmo@trustedcs.com \
--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.