diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-28 02:37:11 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-02-28 02:37:11 +0000 |
commit | 480e145c1684dbb483675b7c713df878718d93d5 (patch) | |
tree | 46ce2fe01ed2101df1d1cf47f94c969221eaad05 /libc/sysdeps/linux/common/arch_prctl.c | |
parent | 2fb769718703b255e9f6e91daf27650dede80229 (diff) | |
download | uClibc-alpine-480e145c1684dbb483675b7c713df878718d93d5.tar.bz2 uClibc-alpine-480e145c1684dbb483675b7c713df878718d93d5.tar.xz |
Copy from trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/arch_prctl.c')
-rw-r--r-- | libc/sysdeps/linux/common/arch_prctl.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/arch_prctl.c b/libc/sysdeps/linux/common/arch_prctl.c new file mode 100644 index 000000000..4b35322a6 --- /dev/null +++ b/libc/sysdeps/linux/common/arch_prctl.c @@ -0,0 +1,15 @@ +/* vi: set sw=4 ts=4: */ +/* + * arch_prctl() for uClibc + * + * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include "syscalls.h" + +#ifdef __NR_arch_prctl +extern int arch_prctl(int code, unsigned long addr); +_syscall2(int, arch_prctl, int, code, unsigned long, addr); +#endif |