Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/sys Pull up revision 1.28 (requested by kleink):



details:   https://anonhg.NetBSD.org/src/rev/af7d262a5c5e
branches:  netbsd-1-5
changeset: 491042:af7d262a5c5e
user:      he <he%NetBSD.org@localhost>
date:      Sun Apr 01 16:55:52 2001 +0000

description:
Pull up revision 1.28 (requested by kleink):
  Cannot use symbolic names from <sys/ipc.h>.

diffstat:

 sys/sys/shm.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r b189142721de -r af7d262a5c5e sys/sys/shm.h
--- a/sys/sys/shm.h     Sun Apr 01 16:53:39 2001 +0000
+++ b/sys/sys/shm.h     Sun Apr 01 16:55:52 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shm.h,v 1.26.2.1 2001/03/30 22:47:38 he Exp $  */
+/*     $NetBSD: shm.h,v 1.26.2.2 2001/04/01 16:55:52 he Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -127,11 +127,11 @@
 
 #if !defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
 /*
- * Permission definitions.
+ * Permission definitions used in shmflag arguments to shmat(2) and shmget(2).
  * Provided for source compatibility only; do not use in new code!
  */
-#define        SHM_R           IPC_R
-#define        SHM_W           IPC_W
+#define        SHM_R           0000400 /* S_IRUSR, R for owner */
+#define        SHM_W           0000200 /* S_IWUSR, W for owner */
 
 /*
  * System 5 style catch-all structure for shared memory constants that



Home | Main Index | Thread Index | Old Index