diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2015-12-08 17:38:12 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2015-12-08 21:19:40 +0000 |
commit | 69b7307225874edc9902ad2409bc435158112ffb (patch) | |
tree | af02cd3565a25cdbdd906df9df3e30a0c8a52dca /linux/powerpc64 | |
parent | dd360922d1b55e9a4f1b1fb628994ea98c38865e (diff) | |
download | strace-69b7307225874edc9902ad2409bc435158112ffb.tar.gz |
Fix select and _newselect syscall entries
Change syscall names to match kernel __NR_* constants.
This reverts commit ddcf54969d253582ab2cfdcab8ede9cdae3fb171.
* linux/arm/syscallent.h [82]: Rename "oldselect" to "select".
[142]: Rename "select" to "_newselect".
* linux/bfin/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/powerpc/syscallent.h [82]: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/hppa/syscallent.h [142]: Rename "select" to "_newselect".
* linux/mips/syscallent-n32.h [6022]: Rename "select" to "_newselect".
* linux/mips/syscallent-n64.h [5022]: Likewise.
* linux/mips/syscallent-o32.h [4142]: Likewise.
* linux/s390/syscallent.h [142]: Rename "select" to "_newselect".
* linux/sparc/syscallent.h [230]: Rename "select" to "_newselect".
* tests/oldselect.test: Rename oldselect to select. Convert
from match_grep to match_diff.
* tests/oldselect.expected: Likewise.
* xselect.c: New file, based on select.c.
* tests/_newselect.c: New file.
* tests/select.c: Replace with a wrapper around xselect.c.
* tests/select.test: Parametrize.
* tests/_newselect.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add _newselect.
(TESTS): Add _newselect.test.
(EXTRA_DIST): Add xselect.c.
* tests/.gitignore: Add _newselect.
Diffstat (limited to 'linux/powerpc64')
-rw-r--r-- | linux/powerpc64/syscallent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/powerpc64/syscallent.h b/linux/powerpc64/syscallent.h index 6db3d30b8..9c0219c9d 100644 --- a/linux/powerpc64/syscallent.h +++ b/linux/powerpc64/syscallent.h @@ -108,7 +108,7 @@ [ 79] = { 2, 0, SEN(settimeofday), "settimeofday" }, [ 80] = { 2, 0, SEN(getgroups), "getgroups" }, [ 81] = { 2, 0, SEN(setgroups), "setgroups" }, -[ 82] = { 1, TD, SEN(oldselect), "oldselect" }, +[ 82] = { 1, TD, SEN(oldselect), "select" }, [ 83] = { 2, TF, SEN(symlink), "symlink" }, [ 84] = { 2, TF, SEN(oldlstat), "oldlstat" }, [ 85] = { 3, TF, SEN(readlink), "readlink" }, @@ -168,7 +168,7 @@ [139] = { 1, NF, SEN(setfsgid), "setfsgid" }, [140] = { 5, TD, SEN(llseek), "_llseek" }, [141] = { 3, TD, SEN(getdents), "getdents" }, -[142] = { 5, TD, SEN(select), "select" }, +[142] = { 5, TD, SEN(select), "_newselect" }, [143] = { 2, TD, SEN(flock), "flock" }, [144] = { 3, TM, SEN(msync), "msync" }, [145] = { 3, TD, SEN(readv), "readv" }, |