2024-09-09 08:52:07 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2007 Jeff Dike (jdike@{addtoit.com,linux.intel.com})
|
|
|
|
* Licensed under the GPL
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/ptrace.h>
|
2024-09-09 08:57:42 +00:00
|
|
|
#include <asm/ptrace.h>
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
int os_arch_prctl(int pid, int code, unsigned long *addr)
|
|
|
|
{
|
|
|
|
return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code);
|
|
|
|
}
|