diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-11-20 18:26:16 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-11-20 18:26:16 +0100 |
commit | f73d1538994a1042069648a069e6688f0e290dbc (patch) | |
tree | acb20f6bea445c5c3e28ba557022a37daebd45c8 /tools | |
parent | 649ba37370023dbad4efb30566ebd3e01ad6d7c4 (diff) | |
download | xen-f73d1538994a1042069648a069e6688f0e290dbc.tar.gz xen-f73d1538994a1042069648a069e6688f0e290dbc.tar.bz2 xen-f73d1538994a1042069648a069e6688f0e290dbc.zip |
xenpaging: restrict pagefile permissions
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/xenpaging/xenpaging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c index b406d0119a..601d28c800 100644 --- a/tools/xenpaging/xenpaging.c +++ b/tools/xenpaging/xenpaging.c @@ -795,7 +795,7 @@ int main(int argc, char *argv[]) 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 */ |