Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 75bc37fefc4471e718ba8e651aa74673d4e0a9eb authored by Linus Torvalds on 07 May 2018, 02:57:38 UTC
Linux 4.17-rc4
Tip revision: 75bc37f
prctl.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);
}
back to top