[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 02/46] tools/xenpaging: create dumpdir with mode 0700



The swapfile contain sensitive guest info.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 tools/xenpaging/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/xenpaging/Makefile b/tools/xenpaging/Makefile
index 4ff3375..fedd0fb 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)
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.