]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Mark lxc-user-nic setuid root
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 17 Dec 2013 17:30:01 +0000 (12:30 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 17 Dec 2013 17:30:01 +0000 (12:30 -0500)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/Makefile.am

index 1d9a4d389c71f9bbac10898ea895cfabaa7adb31..981e66a817ab13f2ebee91acb65d44ffb584e983 100644 (file)
@@ -234,6 +234,7 @@ install-exec-local: install-soPROGRAMS
        cd $(DESTDIR)$(libdir); \
        ln -sf liblxc.so.$(VERSION) liblxc.so.$(firstword $(subst ., ,$(VERSION))); \
        ln -sf liblxc.so.$(firstword $(subst ., ,$(VERSION))) liblxc.so
+       chmod u+s $(DESTDIR)$(bindir)/lxc-user-nic
 
 uninstall-local:
        $(RM) $(DESTDIR)$(libdir)/liblxc.so*