diff options
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/syscalls.list | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/setrlimit.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/syscalls.list b/sysdeps/unix/sysv/linux/powerpc/syscalls.list index c007f26dea..1d8df00505 100644 --- a/sysdeps/unix/sysv/linux/powerpc/syscalls.list +++ b/sysdeps/unix/sysv/linux/powerpc/syscalls.list @@ -22,6 +22,7 @@ s_pread64 pread64 pread 5 __syscall_pread s_ptrace ptrace ptrace 4 __syscall_ptrace s_pwrite64 pwrite64 pwrite 5 __syscall_pwrite s_reboot reboot reboot 3 __syscall_reboot +s_setrlimit setrlimit setrlimit 3 __syscall_setrlimit s_sigaction sigaction sigaction 3 __syscall_sigaction s_sigpending sigpending sigpending 1 __syscall_sigpending s_sigprocmask sigprocmask sigprocmask 3 __syscall_sigprocmask diff --git a/sysdeps/unix/sysv/linux/setrlimit.c b/sysdeps/unix/sysv/linux/setrlimit.c index 50506c3ad0..9df977447a 100644 --- a/sysdeps/unix/sysv/linux/setrlimit.c +++ b/sysdeps/unix/sysv/linux/setrlimit.c @@ -25,6 +25,8 @@ #include "kernel-features.h" +extern int __syscall_setrlimit (unsigned int resource, + const struct rlimit *rlimits); /* Linux 2.3.25 introduced a new system call since the types used for the limits are now unsigned. */ |