Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: fc77dbd34c5c99bce46d40a2491937c3bcbd10af authored by Linus Torvalds on 28 February 2016, 16:41:20 UTC
Linux 4.5-rc6
Tip revision: fc77dbd
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 code, unsigned long *addr)
{
        return ptrace(PTRACE_ARCH_PRCTL, pid, (unsigned long) addr, code);
}
back to top