]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 23 Aug 2002 22:33:32 +0000 (22:33 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 23 Aug 2002 22:33:32 +0000 (22:33 +0000)
* sysvipc/sys/shm.h: Remove SHMLBA definition.
* sysdeps/generic/bits/shm.h: Define SHMLBA here.
* sysdeps/gnu/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20
since this is what the kernel says.

13 files changed:
ChangeLog
bits/shm.h
sysdeps/generic/bits/shm.h
sysdeps/gnu/bits/shm.h
sysdeps/unix/sysv/linux/alpha/bits/shm.h
sysdeps/unix/sysv/linux/bits/shm.h
sysdeps/unix/sysv/linux/ia64/bits/shm.h
sysdeps/unix/sysv/linux/mips/bits/shm.h
sysdeps/unix/sysv/linux/powerpc/bits/shm.h
sysdeps/unix/sysv/linux/s390/bits/shm.h
sysdeps/unix/sysv/linux/sparc/bits/shm.h
sysdeps/unix/sysv/linux/x86_64/bits/shm.h
sysvipc/sys/shm.h

index 59ecaa0bd3fc1ae18a6daf5544317bb98678bfd1..1e54d9a5d93e966d41afd3cd3fd8b050f83a0345 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
 2002-08-23  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysvipc/sys/shm.h: Remove SHMLBA definition.
+       * sysdeps/generic/bits/shm.h: Define SHMLBA here.
+       * sysdeps/gnu/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20
+       since this is what the kernel says.
+
        * misc/sys/xattr.h: Include <sys/types.h> instead of <stddef.h>
        since ssize_t is needed as well.  Replace const with __const.
 
index 2fbf67154efe0bdf73c1ef6a03aac7dad79d96e6..44a18d6c3a5dcac3d6c40f98cddfd463afca4242 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned short int shmatt_t;
index 2fbf67154efe0bdf73c1ef6a03aac7dad79d96e6..44a18d6c3a5dcac3d6c40f98cddfd463afca4242 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned short int shmatt_t;
index 1aee01664f80abc8957b4179b7e85e19489f279e..8791e7e9f29ae2b6fe750a0f704e613ede512e4c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned short int shmatt_t;
index 8559ce33d431c81a8f47721a720565c57919b19c..ae51e75452ca41a499937e4fedc2aff215b52169 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
index 18246c3bde86d8f179c726707d29004e103d1917..1368df02e0b214260fbf3301f64cc3a66ee4246a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
index a46c2a7a694e055f96f160927e183803956fa7a6..2985d88fc92edbbb3c074f2cfaa8e70ea37fe6e6 100644 (file)
@@ -1,6 +1,5 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-       Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -36,6 +35,9 @@
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (1024 * 1024)
+
 
 /* Data structure describing a set of semaphores.  */
 struct shmid_ds
index ddae6b01c2b28456b1838264f6accd8b0c028ac7..85b286e9de5f6b9138a5a756d8bcf44904aac770 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,2000,2001,2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
+
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
 
index be7173c8fa39a21e3c13ba6bf43d619e6b1f580a..33b918f2a65907d04ca8d34819f78c3335d8850e 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
index 38e0e92add2badbedc8746172a44d16553d92e24..44e0adcfa816d960da6388efbe67cd4e9af39e18 100644 (file)
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
index ea19b684543ba16fdd96056c56387b3011cfb5c6..c85b07a671f92a1ba358d12ea4ca3e28f3edf5d2 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
index ff1fa7ad0f49a645ec0f57ff9a8d179a19b2c57d..142bf9073db9904af6c5b1e0d7dc335454647e1c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 2002 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
 #define SHM_LOCK       11              /* lock segment (root only) */
 #define SHM_UNLOCK     12              /* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA         (__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned long int shmatt_t;
index 1ef669ba43a5e1df5aa9c828c05ef766013fc05f..786ce752bd29dfc2c6685de1f1740f6968f4b6a4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2002 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
@@ -41,12 +41,8 @@ typedef __pid_t pid_t;
 # endif
 #endif /* X/Open */
 
-__BEGIN_DECLS
-
-/* Segment low boundary address multiple.  */
-#define SHMLBA         (__getpagesize ())
-extern int __getpagesize (void) __THROW __attribute__ ((__const__));
 
+__BEGIN_DECLS
 
 /* The following System V style IPC functions implement a shared memory
    facility.  The definition is found in XPG4.2.  */