diff options
author | Tim Potter <tpot@samba.org> | 2004-12-19 00:31:31 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2004-12-19 00:31:31 +0000 |
commit | db1b924f386c8cf8038baeefeb81277a3fd2e069 (patch) | |
tree | f91b996c1fddb453d7d64d3464a3207d81185929 /source/torture | |
parent | e711404a12e3b40611515d2cd20c9da624157b4e (diff) | |
download | samba-db1b924f386c8cf8038baeefeb81277a3fd2e069.tar.gz samba-db1b924f386c8cf8038baeefeb81277a3fd2e069.tar.xz samba-db1b924f386c8cf8038baeefeb81277a3fd2e069.zip |
r4268: Merge fix for bugzilla #2150.
Diffstat (limited to 'source/torture')
-rw-r--r-- | source/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/torture.c b/source/torture/torture.c index 91732d69735..72a391dbdbb 100644 --- a/source/torture/torture.c +++ b/source/torture/torture.c @@ -70,7 +70,7 @@ void *shm_setup(int size) int shmid; void *ret; - shmid = shmget(IPC_PRIVATE, size, SHM_R | SHM_W); + shmid = shmget(IPC_PRIVATE, size, S_IRUSR | S_IWUSR); if (shmid == -1) { printf("can't get shared memory\n"); exit(1); |