diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-10-14 13:42:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-10-14 13:42:37 +0000 |
commit | 93c6cb8b8d5c48944c82243b82713e97fd13dc17 (patch) | |
tree | 12bf1bb9552ccd3a4d721a4823e2f66cdd5cee38 /misc/sys | |
parent | 6cebdfd8f320318ad5b32d2905711cd7ec020cd6 (diff) | |
download | glibc-93c6cb8b8d5c48944c82243b82713e97fd13dc17.zip glibc-93c6cb8b8d5c48944c82243b82713e97fd13dc17.tar.gz glibc-93c6cb8b8d5c48944c82243b82713e97fd13dc17.tar.bz2 |
[BZ #1458]
2005-10-14 Ulrich Drepper <drepper@redhat.com>
[BZ #1458]
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
* misc/sys/mman.h: Add ellipsis after last parameter of mremap and
adjust leading comment.
* sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to
mremap syscall.
Diffstat (limited to 'misc/sys')
-rw-r--r-- | misc/sys/mman.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h index ae4dd64..d9f4747 100644 --- a/misc/sys/mman.h +++ b/misc/sys/mman.h @@ -1,5 +1,5 @@ /* Definitions for BSD-style memory management. - Copyright (C) 1994-2000, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 1994-2000, 2003, 2004, 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 @@ -117,10 +117,12 @@ extern int munlockall (void) __THROW; #ifdef __USE_MISC /* Remap pages mapped by the range [ADDR,ADDR+OLD_LEN) to new length - NEW_LEN. If MAY_MOVE is MREMAP_MAYMOVE the returned address may - differ from ADDR. */ + NEW_LEN. If MREMAP_MAYMOVE is set in FLAGS the returned address + may differ from ADDR. If MREMAP_FIXED is set in FLAGS the function + takes another paramter which is a fixed address at which the block + resides after a successful call. */ extern void *mremap (void *__addr, size_t __old_len, size_t __new_len, - int __may_move) __THROW; + int __flags, ...) __THROW; /* mincore returns the memory residency status of the pages in the current process's address space specified by [start, start + len). |