projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
649ba37
)
xenpaging: restrict pagefile permissions
author
Olaf Hering
<olaf@aepfle.de>
Sun, 20 Nov 2011 17:26:16 +0000
(18:26 +0100)
committer
Olaf Hering
<olaf@aepfle.de>
Sun, 20 Nov 2011 17:26:16 +0000
(18:26 +0100)
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/xenpaging/xenpaging.c
patch
|
blob
|
history
diff --git
a/tools/xenpaging/xenpaging.c
b/tools/xenpaging/xenpaging.c
index b406d0119afb41e53e4d1e43e57d14c855286d72..601d28c800bbce0246877a438bbda771a7792832 100644
(file)
--- 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_I
RGRP | S_IROTH | S_IWUSR | S_IWGRP | S_IWOTH
;
+ mode_t open_mode = S_IRUSR | S_I
WUSR
;
int fd;
/* Initialise domain paging */