From: Debian User <rogelio@evoworks.evoserve.com>
To: Russell Coker <russell@coker.com.au>
Cc: selinux@tycho.nsa.gov
Subject: Re: selinux cramfs
Date: Fri, 21 Jun 2002 19:49:20 +0800 [thread overview]
Message-ID: <3D1312C0.6060602@evoworks.evoserve.com> (raw)
In-Reply-To: 20020621110031.9420219B5@lyta.coker.com.au
Russell Coker wrote:
>On Fri, 21 Jun 2002 06:48, Debian User wrote:
>
>>how do we make selinux work on cramfs?
>>
>
>To have full support for a file system (as with Ext2, Ext3, and ReiserFS) you
>need to have persistant Inode numbers, and the Inode numbers need to be known
>by the kernel (or setfiles) some time after the files were created.
>
>This is not possible on cramfs.
>
Hmm this might explain why everything has the unlabeled context when I
run my system.
>
>
>The solution for a cramfs initrd is to have CONFIG_SECURITY_SELINUX_DEVELOP=y
>in your kernel config and then use avc_toggle to enable enforcing mode in
>your init scripts. Then you get some avc errors at boot up from your cramfs
>but it's not a big deal.
>
>Another option is to use ext2 for an initrd.
>
>A final option is to compile your kernel such that an initrd is not needed,
>but that is not possible for a cryptoapi root file system...
>
Im using cramfs for a read only root filesystem.
How does selinux do the labeling then? Is it just an integer associated
with inodes? Maybe I have to read the white papers all over again.
--
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.
next prev parent reply other threads:[~2002-06-21 11:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-21 4:48 selinux cramfs Debian User
2002-06-21 11:00 ` Russell Coker
2002-06-21 11:49 ` Debian User [this message]
2002-06-21 12:25 ` Stephen Smalley
2002-06-21 12:45 ` Stephen Smalley
2002-06-21 12:51 ` Debian User
2002-06-21 12:54 ` Russell Coker
2002-06-21 13:08 ` Debian User
2002-06-21 12:28 ` Russell Coker
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=3D1312C0.6060602@evoworks.evoserve.com \
--to=rogelio@evoworks.evoserve.com \
--cc=russell@coker.com.au \
--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.