* [Xenomai-core] [PATCH] udev rules: stricter file permissions
@ 2008-10-20 11:17 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-10-20 11:17 UTC (permalink / raw)
To: xenomai-core
Don't allow the world to access special Xenomai devices. Suggest to use
a separate group for managing access (udev will fall back to root if
group does not exist).
Index: xenomai/ksrc/nucleus/udev/rtheap.rules
===================================================================
--- xenomai/ksrc/nucleus/udev/rtheap.rules (Revision 4265)
+++ xenomai/ksrc/nucleus/udev/rtheap.rules (Arbeitskopie)
@@ -1,2 +1,2 @@
# real-time heap device (Xenomai:rtheap)
-KERNEL=="rtheap", MODE="0666"
+KERNEL=="rtheap", MODE="0660", GROUP=="xenomai"
Index: xenomai/ksrc/nucleus/udev/rtpipe.rules
===================================================================
--- xenomai/ksrc/nucleus/udev/rtpipe.rules (Revision 4265)
+++ xenomai/ksrc/nucleus/udev/rtpipe.rules (Arbeitskopie)
@@ -1,2 +1,2 @@
# real-time pipe devices (Xenomai:rtpipe)
-KERNEL=="rtp[0-9]*", MODE="0666"
+KERNEL=="rtp[0-9]*", MODE="0660", GROUP="xenomai"
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-20 11:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-20 11:17 [Xenomai-core] [PATCH] udev rules: stricter file permissions Jan Kiszka
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.