Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 84a1caf1453c3d44050bd22db958af4a7f99315c authored by Linus Torvalds on 14 July 2012, 22:40:28 UTC
Linux 3.5-rc7
Tip revision: 84a1caf
prctl.c
/*
 * Copyright (C) 2007 Jeff Dike (jdike@{addtoit.com,linux.intel.com})
 * Licensed under the GPL
 */

#include <sys/ptrace.h>
#include <linux/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