From: Olaf Hering Date: Mon, 22 Sep 2014 12:59:51 +0000 (+0200) Subject: tools/xenpaging: create dumpdir with mode 0700 X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4376 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=51f72728d550f77f2271a16ba87750b296101b93;p=xen.git tools/xenpaging: create dumpdir with mode 0700 The swapfile contain sensitive guest info. Signed-off-by: Olaf Hering Acked-by: Ian Campbell --- diff --git a/tools/xenpaging/Makefile b/tools/xenpaging/Makefile index 4ff3375e0c..fedd0fb0c3 100644 --- a/tools/xenpaging/Makefile +++ b/tools/xenpaging/Makefile @@ -23,7 +23,7 @@ xenpaging: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(APPEND_LDFLAGS) install: all - $(INSTALL_DIR) $(DESTDIR)$(XEN_PAGING_DIR) + $(INSTALL_DIR) -m 0700 $(DESTDIR)$(XEN_PAGING_DIR) $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC) $(INSTALL_PROG) $(IBINS) $(DESTDIR)$(LIBEXEC)