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

[Xen-changelog] [xen-unstable] xenpaging: restrict pagefile permissions



# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1321809976 -3600
# Node ID 1027e7d13d02143048c7d48d7960967c5b1657a8
# Parent  c9b75ccd3ebfb3b78f0e2064373802a5d4b24da9
xenpaging: restrict pagefile permissions

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
---


diff -r c9b75ccd3ebf -r 1027e7d13d02 tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c       Sun Nov 20 18:26:15 2011 +0100
+++ b/tools/xenpaging/xenpaging.c       Sun Nov 20 18:26:16 2011 +0100
@@ -795,7 +795,7 @@
     xc_interface *xch;
 
     int open_flags = O_CREAT | O_TRUNC | O_RDWR;
-    mode_t open_mode = S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IWGRP | 
S_IWOTH;
+    mode_t open_mode = S_IRUSR | S_IWUSR;
     int fd;
 
     /* Initialise domain paging */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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