This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: sysvshmem on GNU/Hurd
- From: "Alfred M\. Szmidt" <ams at gnu dot org>
- To: Roland McGrath <roland at frob dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 05 Nov 2005 13:11:30 +0100
- Subject: Re: sysvshmem on GNU/Hurd
- References: <20051104210803.0DAE61809DC@magilla.sf.frob.com>
- Reply-to: ams at gnu dot org
2005-11-05 Marcus Brinkmann <marcus@gnu.org>
* sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
(S_ISPARE): Unset the S_IMMAP0 flag.
diff -rupN libc/sysdeps/mach/hurd/bits/stat.h libc-shm/sysdeps/mach/hurd/bits/stat.h
--- libc/sysdeps/mach/hurd/bits/stat.h 2005-07-11 23:39:36.000000000 +0200
+++ libc-shm/sysdeps/mach/hurd/bits/stat.h 2005-07-11 22:58:05.000000000 +0200
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 93, 94, 96, 97, 99, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,93,94,96,97,99,2000,2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -182,8 +182,11 @@ struct stat64
/* All the bits relevant to translators */
#define S_ITRANS 000070000000
+/* Definitely no mmaps to this. */
+#define S_IMMAP0 000100000000
+
/* ALL the unused bits. */
-#define S_ISPARE (~(S_IFMT|S_ITRANS|S_INOCACHE| \
+#define S_ISPARE (~(S_IFMT|S_ITRANS|S_INOCACHE|S_IMMAP0| \
S_IUSEUNK|S_IUNKNOWN|07777))
#endif