about summary refs log tree commit diff homepage
path: root/runtime/POSIX/fd_init.c
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2016-12-24 00:11:54 +0000
committerDan Liew <delcypher@gmail.com>2016-12-28 09:54:01 +0000
commit3a0f6fdd6815442c504447927fcf204118c62cb7 (patch)
treeb3555b9c6f6f485969d7ce1b891aa43c14bdc21f /runtime/POSIX/fd_init.c
parent5caccf0c9bef886b61111609f1f95937aeb5596c (diff)
downloadklee-3a0f6fdd6815442c504447927fcf204118c62cb7.tar.gz
Changed preferred permissions from 0622 to the more standard 0644.
Diffstat (limited to 'runtime/POSIX/fd_init.c')
-rw-r--r--runtime/POSIX/fd_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/POSIX/fd_init.c b/runtime/POSIX/fd_init.c
index 9184b7ea..0cfa5788 100644
--- a/runtime/POSIX/fd_init.c
+++ b/runtime/POSIX/fd_init.c
@@ -78,8 +78,8 @@ static void __create_new_dfile(exe_disk_file_t *dfile, unsigned size,
   klee_posix_prefer_cex(s, s->st_dev == defaults->st_dev);
   klee_posix_prefer_cex(s, s->st_rdev == defaults->st_rdev);
   klee_posix_prefer_cex(s, (s->st_mode&0700) == 0600);
-  klee_posix_prefer_cex(s, (s->st_mode&0070) == 0020);
-  klee_posix_prefer_cex(s, (s->st_mode&0007) == 0002);
+  klee_posix_prefer_cex(s, (s->st_mode&0070) == 0040);
+  klee_posix_prefer_cex(s, (s->st_mode&0007) == 0004);
   klee_posix_prefer_cex(s, (s->st_mode&S_IFMT) == S_IFREG);
   klee_posix_prefer_cex(s, s->st_nlink == 1);
   klee_posix_prefer_cex(s, s->st_uid == defaults->st_uid);