repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
13 lines
287 B
C
13 lines
287 B
C
/*
|
|
* Copyright (C) 2007 Jeff Dike (jdike@{addtoit.com,linux.intel.com})
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#include <sys/ptrace.h>
|
|
#include <asm/ptrace.h>
|
|
|
|
int os_arch_prctl(int pid, int option, unsigned long *arg2)
|
|
{
|
|
return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) arg2, option);
|
|
}
|