Browse Source

add arch_prctl syscall (amd64/x32 only)

rs-1.0
rofl0r 14 years ago
parent
commit
b6f75ab07f
  1. 9
      src/misc/arch_prctl.c

9
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
Loading…
Cancel
Save