Ralf Baechle
11ed3e0ef3
MIPS: Wire up new pkey_{mprotect,alloc,free} syscalls
...
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14380/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2016-10-14 11:05:13 -07:00
Ralf Baechle
62d8e64423
MIPS: Wire up preadv2 and pwrite2 syscalls.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2016-04-03 09:41:34 +02:00
Ralf Baechle
e6c058f9b2
MIPS: Wire up copy_file_range syscall.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2016-02-05 17:15:42 +01:00
Eric B Munson
784567f4b0
mips: add entry for new mlock2 syscall
...
A previous commit introduced the new mlock2 syscall, add entries for the
MIPS architecture.
Signed-off-by: Eric B Munson <emunson@akamai.com >
Acked-by: Ralf Baechle <ralf@linux-mips.org >
Cc: Catalin Marinas <catalin.marinas@arm.com >
Cc: Geert Uytterhoeven <geert@linux-m68k.org >
Cc: Guenter Roeck <linux@roeck-us.net >
Cc: Heiko Carstens <heiko.carstens@de.ibm.com >
Cc: Jonathan Corbet <corbet@lwn.net >
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com >
Cc: Michael Kerrisk <mtk.manpages@gmail.com >
Cc: Michal Hocko <mhocko@suse.cz >
Cc: Shuah Khan <shuahkh@osg.samsung.com >
Cc: Stephen Rothwell <sfr@canb.auug.org.au >
Cc: Vlastimil Babka <vbabka@suse.cz >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2015-11-09 15:11:24 -08:00
Ralf Baechle
96fc7a9cee
MIPS: Wire up userfaultfd and membarrier syscalls.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-09-30 14:24:31 +02:00
Ralf Baechle
389cdc5d35
MIPS: Wire up execveat(2).
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2015-01-13 15:53:09 +01:00
Huacai Chen
b61a393945
MIPS: Fix a copy & paste error in unistd.h
...
Commit 5df4c8dbbc
(MIPS: Wire up bpf syscall.) break the N32 build
because of a copy & paste error.
Signed-off-by: Huacai Chen <chenhc@lemote.com >
Cc: John Crispin <john@phrozen.org >
Cc: Steven J. Hill <Steven.Hill@imgtec.com >
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com >
Cc: Zhangjin Wu <wuzhangjin@gmail.com >
Patchwork: https://patchwork.linux-mips.org/patch/8390/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:03 +01:00
Ralf Baechle
5df4c8dbbc
MIPS: Wire up bpf syscall.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-10-27 03:37:42 +01:00
Ralf Baechle
42944521af
MIPS: Wire up new syscalls getrandom and memfd_create.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-08-26 03:03:40 +02:00
Kees Cook
8855d608c1
MIPS: add seccomp syscall
...
Wires up the new seccomp syscall.
Signed-off-by: Kees Cook <keescook@chromium.org >
Reviewed-by: Oleg Nesterov <oleg@redhat.com >
2014-07-18 12:13:38 -07:00
Huacai Chen
defb79f086
MIPS: Fix inconsistancy of __NR_Linux_syscalls value
...
Originally, __NR_O32_Linux_syscalls, __NR_N32_Linux_syscalls and
__NR_64_Linux_syscalls have the same values as __NR_Linux_syscalls in
corresponding ABIs. But after commit 367f0b50e5
(MIPS: Wire up
renameat2 syscall) they are not the same. I think this is incorrect and
need a fix.
Signed-off-by: Huacai Chen <chenhc@lemote.com >
Cc: John Crispin <john@phrozen.org >
Cc: Steven J. Hill <Steven.Hill@imgtec.com >
Cc: Aurelien Jarno <aurelien@aurel32.net >
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com >
Cc: Zhangjin Wu <wuzhangjin@gmail.com >
Patchwork: https://patchwork.linux-mips.org/patch/6987/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-05-25 12:43:26 +02:00
Ralf Baechle
367f0b50e5
MIPS: Wire up renameat2 syscall.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-05-13 17:57:33 +02:00
James Hogan
6776254b1c
MIPS: Wire up sched_setattr/sched_getattr syscalls
...
Wire up for MIPS the new sched_setattr and sched_getattr system calls
added in commit d50dde5a10
(sched: Add new scheduler syscalls to
support an extended scheduling parameters ABI) merged in v3.14-rc1.
Signed-off-by: James Hogan <james.hogan@imgtec.com >
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com >
Cc: Ralf Baechle <ralf@linux-mips.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6502/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-02-04 13:47:46 +01:00
Aron Xu
dec33abaaf
MIPS: N64: Wire getdents64(2)
...
As a relatively new ABI, N64 only had getdents syscall while other modern
architectures have getdents64.
This was noticed when Python 3.3 shifted to the latter one for aarch64.
[ralf@linux-mips.org: The history of getdents64 is a little complicated.
Commit 1a1d77dd589de5a567fa95e36aa6999c704ceca4 [Merge with 2.4.0-test7.]
added N64 getdents(2) to arch/mips64/kernel/scall_64.S as syscall 5213,
then dropped again in 578720675c44e54e8aa7c68f6dce59ed37ce3d3b [Overhaul
of the 64-bit syscall interface. Now heritage free.] for 2.5.18 in 2002.]
Signed-off-by: Aron Xu <aron@debian.org>
Acked-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5285/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2013-05-22 15:37:58 +02:00
Ralf Baechle
7034228792
MIPS: Whitespace cleanup.
...
Having received another series of whitespace patches I decided to do this
once and for all rather than dealing with this kind of patches trickling
in forever.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2013-02-01 10:00:22 +01:00
Ralf Baechle
6295150b73
MIPS: Wire up finit_module syscall.
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-12-28 17:04:38 +01:00
David Howells
61730c538f
UAPI: (Scripted) Disintegrate arch/mips/include/asm
...
Signed-off-by: David Howells <dhowells@redhat.com >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Acked-by: Thomas Gleixner <tglx@linutronix.de >
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com >
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com >
Acked-by: Dave Jones <davej@redhat.com >
2012-10-09 09:47:14 +01:00