Module: xenomai-jki
Branch: for-forge
Commit: 7d56f2b19f987069ef0025f9ce5f8cc52781f340
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=7d56f2b19f987069ef0025f9ce5f8cc52781f340

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Thu Jan  8 14:30:52 2015 +0100

sysregd: Install as suid

sysregd has to run with root privileges in order to be able to clean up
the mounts of unprivileged users.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 lib/copperplate/regd/Makefile.am |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/copperplate/regd/Makefile.am b/lib/copperplate/regd/Makefile.am
index 5eb0c63..639ef8c 100644
--- a/lib/copperplate/regd/Makefile.am
+++ b/lib/copperplate/regd/Makefile.am
@@ -26,3 +26,6 @@ sysregd_SOURCES += fs-cobalt.c
 else
 sysregd_SOURCES += fs-mercury.c
 endif
+
+install-exec-hook:
+       chmod u+s $(DESTDIR)$(sbindir)/sysregd


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

Reply via email to