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

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to