[BACK]Return to prctl.c CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / arch / um / os-Linux / sys-x86_64

File: [Development] / linux-2.6-xfs / arch / um / os-Linux / sys-x86_64 / prctl.c (download)

Revision 1.1, Tue Mar 20 15:37:21 2007 UTC (10 years, 7 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.21-rc4
Merge of 2.6.x-xfs-melb:linux:28276b by kenmcd.

/*
 * 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);
}