sysvshmem on GNU/Hurd
Alfred M. Szmidt
ams@gnu.org
Sat Nov 5 12:11:00 GMT 2005
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
More information about the Libc-alpha
mailing list