summaryrefslogtreecommitdiffstats
path: root/source3/torture/torture.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-12-19 00:31:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:41 -0500
commit92e97934804758e2fea2e3bd8f9e6630007c8169 (patch)
tree391be27211b7862a52b5e1a880c03502b95012ac /source3/torture/torture.c
parent7690459dc66bc56b8bbbfd663781ed0aaeba457e (diff)
downloadsamba-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/torture.c')
-rw-r--r--source3/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index 91732d6973..72a391dbdb 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);