Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Cannot use symbolic constants from <sys/ipc.h> for t...
details: https://anonhg.NetBSD.org/src/rev/9c259b92654a
branches: trunk
changeset: 507805:9c259b92654a
user: kleink <kleink%NetBSD.org@localhost>
date: Sat Mar 31 16:53:25 2001 +0000
description:
Cannot use symbolic constants from <sys/ipc.h> for the previous change;
noted by Martin Husemann.
diffstat:
sys/sys/shm.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r e1d6bd3b3e81 -r 9c259b92654a sys/sys/shm.h
--- a/sys/sys/shm.h Sat Mar 31 15:32:46 2001 +0000
+++ b/sys/sys/shm.h Sat Mar 31 16:53:25 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: shm.h,v 1.27 2001/03/29 21:16:06 kleink Exp $ */
+/* $NetBSD: shm.h,v 1.28 2001/03/31 16:53:25 kleink 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