mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 20:00:07 +00:00
Update.
2003-03-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry. * misc/sys/mman.h: Add prototype for remap_file_pages. * sysdeps/generic/remap_file_pages.c: New file. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE and MAP_NONBLOCK. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
This commit is contained in:
parent
0ddc17ba4b
commit
d15a8404ef
20
ChangeLog
20
ChangeLog
@ -1,3 +1,20 @@
|
|||||||
|
2003-03-03 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
|
||||||
|
* misc/sys/mman.h: Add prototype for remap_file_pages.
|
||||||
|
* sysdeps/generic/remap_file_pages.c: New file.
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
|
||||||
|
and MAP_NONBLOCK.
|
||||||
|
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
|
||||||
|
* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
|
||||||
|
|
||||||
2003-03-03 Roland McGrath <roland@redhat.com>
|
2003-03-03 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
|
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
|
||||||
@ -18,8 +35,7 @@
|
|||||||
|
|
||||||
2003-03-03 Andreas Jaeger <aj@suse.de>
|
2003-03-03 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
||||||
* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing
|
* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
|
||||||
brace.
|
|
||||||
|
|
||||||
2003-03-02 Roland McGrath <roland@redhat.com>
|
2003-03-02 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
@ -127,6 +127,9 @@ libc {
|
|||||||
# s*
|
# s*
|
||||||
setxattr;
|
setxattr;
|
||||||
}
|
}
|
||||||
|
GLIBC_2.3.3 {
|
||||||
|
remap_file_pages;
|
||||||
|
}
|
||||||
GLIBC_PRIVATE {
|
GLIBC_PRIVATE {
|
||||||
# functions which have an additional interface since they are
|
# functions which have an additional interface since they are
|
||||||
# cancelable.
|
# cancelable.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/Alpha version.
|
/* Definitions for POSIX memory map interface. Linux/Alpha version.
|
||||||
Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -60,11 +60,13 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x1000 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x01000 /* Stack-like segment. */
|
||||||
# define MAP_DENYWRITE 0x2000 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x02000 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x4000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x04000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x8000 /* Lock the mapping. */
|
# define MAP_LOCKED 0x08000 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x10000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x10000 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x20000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x40000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/ARM version.
|
/* Definitions for POSIX memory map interface. Linux/ARM version.
|
||||||
Copyright (C) 1997, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1997, 2000, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -52,11 +52,13 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
|
||||||
# define MAP_DENYWRITE 0x0800 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x2000 /* Lock the mapping. */
|
# define MAP_LOCKED 0x02000 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
@ -1,4 +1,21 @@
|
|||||||
/* Definitions for POSIX memory map interface. Insert rest of disclaimer here */
|
/* Definitions for POSIX memory map interface. Linux/HPPA version.
|
||||||
|
Copyright (C) 1997, 1998, 2000, 2003 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
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with the GNU C Library; if not, write to the Free
|
||||||
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifndef _SYS_MMAN_H
|
#ifndef _SYS_MMAN_H
|
||||||
# error "Never use <bits/mman.h> directly; include <sys/mman.h> instead."
|
# error "Never use <bits/mman.h> directly; include <sys/mman.h> instead."
|
||||||
@ -22,6 +39,8 @@
|
|||||||
#define MAP_LOCKED 0x2000 /* pages are locked */
|
#define MAP_LOCKED 0x2000 /* pages are locked */
|
||||||
#define MAP_NORESERVE 0x4000 /* don't check for reservations */
|
#define MAP_NORESERVE 0x4000 /* don't check for reservations */
|
||||||
#define MAP_GROWSDOWN 0x8000 /* stack-like segment */
|
#define MAP_GROWSDOWN 0x8000 /* stack-like segment */
|
||||||
|
#define MAP_POPULATE 0x10000 /* populate (prefault) pagetables */
|
||||||
|
#define MAP_NONBLOCK 0x20000 /* do not block on IO */
|
||||||
|
|
||||||
#define MS_SYNC 1 /* synchronous memory sync */
|
#define MS_SYNC 1 /* synchronous memory sync */
|
||||||
#define MS_ASYNC 2 /* sync memory asynchronously */
|
#define MS_ASYNC 2 /* sync memory asynchronously */
|
||||||
@ -58,4 +77,3 @@
|
|||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# define MREMAP_MAYMOVE 1
|
# define MREMAP_MAYMOVE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/i386 version.
|
/* Definitions for POSIX memory map interface. Linux/i386 version.
|
||||||
Copyright (C) 1997, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1997, 2000, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -52,11 +52,13 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
|
||||||
# define MAP_DENYWRITE 0x0800 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x2000 /* Lock the mapping. */
|
# define MAP_LOCKED 0x02000 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/ia64 version.
|
/* Definitions for POSIX memory map interface. Linux/ia64 version.
|
||||||
Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1997, 1998, 2000, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -52,12 +52,14 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
|
||||||
# define MAP_GROWSUP 0x0200 /* Register stack-like segment */
|
# define MAP_GROWSUP 0x00200 /* Register stack-like segment */
|
||||||
# define MAP_DENYWRITE 0x0800 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x2000 /* Lock the mapping. */
|
# define MAP_LOCKED 0x02000 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
@ -52,11 +52,13 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
|
||||||
# define MAP_DENYWRITE 0x0800 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x2000 /* Lock the mapping. */
|
# define MAP_LOCKED 0x02000 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
|
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
|
||||||
Copyright (C) 1997, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1997, 2000, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -52,11 +52,13 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
|
||||||
# define MAP_DENYWRITE 0x0800 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x0080 /* Lock the mapping. */
|
# define MAP_LOCKED 0x00080 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x0040 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x00040 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/s390 version.
|
/* Definitions for POSIX memory map interface. Linux/s390 version.
|
||||||
Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -52,12 +52,14 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
|
||||||
# define MAP_GROWSUP 0x0200 /* Register stack-like segment */
|
# define MAP_GROWSUP 0x00200 /* Register stack-like segment */
|
||||||
# define MAP_DENYWRITE 0x0800 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x2000 /* Lock the mapping. */
|
# define MAP_LOCKED 0x02000 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
@ -48,6 +48,7 @@ prctl EXTRA prctl i:iiiii __prctl prctl
|
|||||||
putpmsg - putpmsg i:ippii putpmsg
|
putpmsg - putpmsg i:ippii putpmsg
|
||||||
query_module EXTRA query_module i:sipip query_module
|
query_module EXTRA query_module i:sipip query_module
|
||||||
quotactl EXTRA quotactl i:isip quotactl
|
quotactl EXTRA quotactl i:isip quotactl
|
||||||
|
remap_file_pages - remap_file_pages i:piiii __remap_file_pages remap_file_pages
|
||||||
sched_getaffinity - sched_getaffinity i:iip sched_getaffinity
|
sched_getaffinity - sched_getaffinity i:iip sched_getaffinity
|
||||||
sched_getp - sched_getparam i:ip __sched_getparam sched_getparam
|
sched_getp - sched_getparam i:ip __sched_getparam sched_getparam
|
||||||
sched_gets - sched_getscheduler i:i __sched_getscheduler sched_getscheduler
|
sched_gets - sched_getscheduler i:i __sched_getscheduler sched_getscheduler
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/x86_64 version.
|
/* Definitions for POSIX memory map interface. Linux/x86_64 version.
|
||||||
Copyright (C) 2001 Free Software Foundation, Inc.
|
Copyright (C) 2001, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -53,11 +53,13 @@
|
|||||||
|
|
||||||
/* These are Linux-specific. */
|
/* These are Linux-specific. */
|
||||||
#ifdef __USE_MISC
|
#ifdef __USE_MISC
|
||||||
# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
|
# define MAP_GROWSDOWN 0x00100 /* Stack-like segment. */
|
||||||
# define MAP_DENYWRITE 0x0800 /* ETXTBSY */
|
# define MAP_DENYWRITE 0x00800 /* ETXTBSY */
|
||||||
# define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
|
# define MAP_EXECUTABLE 0x01000 /* Mark it as an executable. */
|
||||||
# define MAP_LOCKED 0x2000 /* Lock the mapping. */
|
# define MAP_LOCKED 0x02000 /* Lock the mapping. */
|
||||||
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
||||||
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
Loading…
Reference in New Issue
Block a user