add arch_prctl syscall (amd64/x32 only)
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user