s390: remove bogus system call table entries
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 14 Dec 2017 12:28:00 +0000 (13:28 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 23 Jan 2018 06:36:45 +0000 (07:36 +0100)
commit9797f14404fb21efbea62fe4cf8806f2fbdaaa23
tree194ccf9459bc0a01b6ab043d53e45a26a6bb5f53
parent0a12ed2c21c2e0909b3624fed9152f92ea5dfdc6
s390: remove bogus system call table entries

The 64 bit system call table contains three entries that come without
a matching NR_<name> entry in unistd.h.  In fact all three of them do
not make sense on 64 bit, but only for compat processes.

llseek and mmap2 were specifically introduced for 32 bit / compat
processes. getrlimit is wired up twice, so that only the entry that
comes with a corresponding NR_getrlimit needs to be kept.

The other entries can be removed, since it seems very unlikely that
this will break user space.

Reported-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/syscalls.S