diff options
author | Tim Potter <tpot@samba.org> | 2004-12-19 00:31:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:41 -0500 |
commit | 92e97934804758e2fea2e3bd8f9e6630007c8169 (patch) | |
tree | 391be27211b7862a52b5e1a880c03502b95012ac /source3/torture | |
parent | 7690459dc66bc56b8bbbfd663781ed0aaeba457e (diff) | |
download | samba-92e97934804758e2fea2e3bd8f9e6630007c8169.tar.gz samba-92e97934804758e2fea2e3bd8f9e6630007c8169.tar.xz samba-92e97934804758e2fea2e3bd8f9e6630007c8169.zip |
r4268: Merge fix for bugzilla #2150.
(This used to be commit f00ae4ab0c36a623257861fb65373b39cf075921)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 91732d69735..72a391dbdbb 100644 --- a/source3/torture/torture.c +++ b/source3/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); |