diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-01-05 17:35:53 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2017-04-09 19:51:08 +0200 |
commit | b2e8c40afcb83f9a6dbbb543ce0951b6c890d350 (patch) | |
tree | 203bbfeab8cf90000e7c78b7ba88d126d7a2406e | |
parent | 3966298a45782a73739ea31d76ee96b5c1a2788f (diff) | |
download | glibc-b2e8c40afcb83f9a6dbbb543ce0951b6c890d350.zip glibc-b2e8c40afcb83f9a6dbbb543ce0951b6c890d350.tar.gz glibc-b2e8c40afcb83f9a6dbbb543ce0951b6c890d350.tar.bz2 |
Fix MIPS n64 readahead (bug 21026).
As noted in bug 20126, MIPS n64 uses an incorrect implementation of
readahead intended for 32-bit systems. This patch adds a
syscalls.list entry to fix this. An updated version of the
consolidation patch
<https://sourceware.org/ml/libc-alpha/2016-09/msg00527.html> could
remove this syscalls.list entry again.
Tested with compilation (only) for mips64; the nature of the syscall
doesn't allow for a glibc test to detect this issue.
[BZ #21026]
* sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
(readahead): New syscall entry.
(cherry picked from commit 30733525c6867c160261db1afade6326000f9f75)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2017-01-05 Joseph Myers <joseph@codesourcery.com> + + [BZ #21026] + * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list + (readahead): New syscall entry. + 2017-04-07 H.J. Lu <hongjiu.lu@intel.com> [BZ #21258] diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list index 890a744..26ab6d0 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list @@ -4,6 +4,8 @@ mmap - mmap b:aniiii __mmap mmap __mmap64 mmap64 sync_file_range - sync_file_range Ci:iiii sync_file_range +readahead - readahead i:iii __readahead readahead + prlimit EXTRA prlimit64 i:iipp prlimit prlimit64 fanotify_mark EXTRA fanotify_mark i:iiiis fanotify_mark |