All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add fs_use_xattr on jffs2
@ 2006-08-25 11:54 KaiGai Kohei
  2006-08-25 13:28 ` Christopher J. PeBenito
  2006-08-25 13:56 ` Lorenzo Hernández García-Hierro
  0 siblings, 2 replies; 4+ messages in thread
From: KaiGai Kohei @ 2006-08-25 11:54 UTC (permalink / raw)
  To: selinux

This patch enables to use xattr on jffs2 filesystem.

The jffs2 filesystem is a filesystem for memory technology
devices (MTD), and xattr supporting on jffs2 is neccesary
to use SELinux with a small diskless PDA and so on.
This facility is queued for kernel 2.6.18 now, so I hope
to merge this small patch into the refpolicy repository.

Example of xattr/jffs2: SELinux on OpenZaurus :D
  http://www.kaigai.gr.jp/pub/sezaurus.jpg

Thanks,
--
KaiGai Kohei <kaigai@kaigai.gr.jp>

Index: policy/modules/kernel/filesystem.te
===================================================================
--- policy/modules/kernel/filesystem.te (revision 1965)
+++ policy/modules/kernel/filesystem.te (working copy)
@@ -24,6 +24,7 @@
 fs_use_xattr ext2 gen_context(system_u:object_r:fs_t,s0);
 fs_use_xattr ext3 gen_context(system_u:object_r:fs_t,s0);
 fs_use_xattr gfs2 gen_context(system_u:object_r:fs_t,s0);
+fs_use_xattr jffs2 gen_context(system_u:object_r:fs_t,s0);
 fs_use_xattr jfs gen_context(system_u:object_r:fs_t,s0);
 fs_use_xattr xfs gen_context(system_u:object_r:fs_t,s0);


--
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-25 15:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 11:54 [PATCH] add fs_use_xattr on jffs2 KaiGai Kohei
2006-08-25 13:28 ` Christopher J. PeBenito
2006-08-25 13:56 ` Lorenzo Hernández García-Hierro
2006-08-25 15:02   ` KaiGai Kohei

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.