From: rofl0r Date: Thu, 6 Dec 2012 20:07:19 +0000 (+0100) Subject: add arch_prctl syscall (amd64/x32 only) X-Git-Tag: v0.9.9~78 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b6f75ab07f56a6ed3701231bd48601f3bc45dce5;p=oweals%2Fmusl.git add arch_prctl syscall (amd64/x32 only) --- diff --git a/src/misc/arch_prctl.c b/src/misc/arch_prctl.c new file mode 100644 index 00000000..2868d668 --- /dev/null +++ b/src/misc/arch_prctl.c @@ -0,0 +1,9 @@ +#include "syscall.h" +#ifdef SYS_arch_prctl +#include "libc.h" +int __arch_prctl(int code, unsigned long addr) +{ + return syscall(SYS_arch_prctl, code, addr); +} +weak_alias(__arch_prctl, arch_prctl); +#endif