Module: xenomai-forge
Branch: next
Commit: 3b401fde258498f431341c1dcd2b2c4e8d904d15
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=3b401fde258498f431341c1dcd2b2c4e8d904d15

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Aug 13 20:59:26 2014 +0200

cobalt/init: rename xenomai.xenomai_gid to xenomai.allowed_group

---

 debian/libxenomai1.modprobe     |    4 ++--
 debian/libxenomai1.xenomai.init |    4 ++--
 kernel/cobalt/shadow.c          |    4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/libxenomai1.modprobe b/debian/libxenomai1.modprobe
index 1953854..86721e2 100644
--- a/debian/libxenomai1.modprobe
+++ b/debian/libxenomai1.modprobe
@@ -1,3 +1,3 @@
 install xeno_nucleus /sbin/modprobe --ignore-install xeno_nucleus 
$CMDLINE_OPTS \
-  $(/usr/bin/test $(/bin/echo -n '$CMDLINE_OPTS' | /bin/grep xenomai_gid) \
-    || /usr/bin/getent group xenomai | /usr/bin/cut -d: -f3 | /bin/sed -e 
's/^/xenomai_gid\=/')
+  $(/usr/bin/test $(/bin/echo -n '$CMDLINE_OPTS' | /bin/grep allowed_group) \
+    || /usr/bin/getent group xenomai | /usr/bin/cut -d: -f3 | /bin/sed -e 
's/^/allowed_group\=/')
diff --git a/debian/libxenomai1.xenomai.init b/debian/libxenomai1.xenomai.init
index 5680ab7..811fe25 100644
--- a/debian/libxenomai1.xenomai.init
+++ b/debian/libxenomai1.xenomai.init
@@ -5,12 +5,12 @@
 # Required-Stop:
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
-# Short-Description: Set xeno_nucleus group
+# Short-Description: Set Xenomai group
 ### END INIT INFO
 
 GROUP=xenomai
 INITNAME=/etc/init.d/xenomai
-FILENAME=/sys/module/xeno_nucleus/parameters/xenomai_gid
+FILENAME=/sys/module/xenomai/parameters/allowed_group
 GID=$(getent group $GROUP | cut -d: -f3)
 
 test -e $FILENAME || exit 0
diff --git a/kernel/cobalt/shadow.c b/kernel/cobalt/shadow.c
index 8e074b7..2cdc14e 100644
--- a/kernel/cobalt/shadow.c
+++ b/kernel/cobalt/shadow.c
@@ -73,8 +73,8 @@
 #define EVENT_STOP        1
 
 static int gid_arg = -1;
-module_param_named(xenomai_gid, gid_arg, int, 0644);
-MODULE_PARM_DESC(xenomai_gid, "GID of the group with access to Xenomai 
services");
+module_param_named(allowed_group, gid_arg, int, 0644);
+MODULE_PARM_DESC(allowed_group, "GID of the group with access to Xenomai 
services");
 
 static struct xnpersonality *personalities[NR_PERSONALITIES];
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to