blob: d4821a06a1cd9f7befde4822a6ea830b882921db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ae,v 1.1 2001/03/11 13:46:12 martin Exp $
--- models/upscommon.c.orig Tue Feb 27 07:01:46 2001
+++ models/upscommon.c Sun Mar 11 14:08:48 2001
@@ -555,11 +555,11 @@
#ifdef HAVE_SHMAT
test_writeinfo();
-/* some systems (NetBSD) don't define SHM_R and SHM_W - they default to it */
+/* some systems (NetBSD) don't define SHM_R and SHM_W */
#ifdef SHM_R
#define IPC_MODE IPC_CREAT|SHM_R|SHM_W|S_IRGRP|S_IWGRP
#else
-#define IPC_MODE IPC_CREAT
+#define IPC_MODE IPC_CREAT|0700
#endif
if (shmok == 1) {
|