[CRIU] [PATCH 1/6] crtools: set suid flag on crtools

Ruslan Kuprieiev kupruser at gmail.com
Tue Oct 1 11:08:20 PDT 2013


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>

-------------- next part --------------
---
diff --git a/Makefile b/Makefile
index 0834277..8c75e92 100644
--- a/Makefile
+++ b/Makefile
@@ -166,6 +166,7 @@ PROGRAM-BUILTINS	+= $(ARCH_DIR)/vdso-pie.o
 $(PROGRAM): $(SYSCALL-LIB) $(ARCH-LIB) $(PROGRAM-BUILTINS)
 	$(E) "  LINK    " $@
 	$(Q) $(CC) $(CFLAGS) $^ $(LIBS) $(LDFLAGS) -o $@
+	$(Q) chmod u+s $@
 
 zdtm: all
 	$(Q) $(MAKE) -C test/zdtm all


More information about the CRIU mailing list