* using genfs_context and cramfs
@ 2002-07-04 8:49 Debian User
2002-07-05 12:28 ` Stephen Smalley
0 siblings, 1 reply; 2+ messages in thread
From: Debian User @ 2002-07-04 8:49 UTC (permalink / raw)
To: selinux
i can already mount a cramfs_file and it get labeled with "cramfs_t"
i relabeled the directory where i built the cramfs from but when i mount
it via loopback. the labels are still cramfs. How do we use the fs image
as a root fs then?
--
You have received this message because you are subscribed to the selinux 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: using genfs_context and cramfs
2002-07-04 8:49 using genfs_context and cramfs Debian User
@ 2002-07-05 12:28 ` Stephen Smalley
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2002-07-05 12:28 UTC (permalink / raw)
To: Debian User; +Cc: selinux
On Thu, 4 Jul 2002, Debian User wrote:
> i can already mount a cramfs_file and it get labeled with "cramfs_t"
> i relabeled the directory where i built the cramfs from but when i mount
> it via loopback. the labels are still cramfs. How do we use the fs image
> as a root fs then?
You need to fully specify your desired security contexts in the
genfs_contexts configuration for cramfs. This will likely be a subset of
the portion of the file_contexts configuration for the root filesystem,
except that you need to specify pathname prefixes rather than pathname
regular expressions.
--
Stephen D. Smalley, NAI Labs
ssmalley@nai.com
--
You have received this message because you are subscribed to the selinux 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-05 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-04 8:49 using genfs_context and cramfs Debian User
2002-07-05 12:28 ` Stephen Smalley
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.