diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-23 17:17:59 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-29 02:49:04 (GMT) |
commit | d2125043aebf7f53cd1c72115c17b01d0bc06ce1 (patch) | |
tree | e6d510a22905d870a612660c2da0bdb6e36bc7e6 /arch | |
parent | 25906730ec01be664534c9439d7cf5a373e8a4e4 (diff) | |
download | linux-d2125043aebf7f53cd1c72115c17b01d0bc06ce1.tar.xz |
generic sys_fork / sys_vfork / sys_clone
... and get rid of idiotic struct pt_regs * in asm-generic/syscalls.h
prototypes of the same, while we are at it. Eventually we want those
in linux/syscalls.h, of course, but that'll have to wait a bit.
Note that there are *three* variants of sys_clone() order of arguments.
Braindamage galore...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 366ec06..8d698fb 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -341,4 +341,18 @@ config MODULES_USE_ELF_REL Modules only use ELF REL relocations. Modules with ELF RELA relocations will give an error. +# +# ABI hall of shame +# +config CLONE_BACKWARDS + bool + help + Architecture has tls passed as the 4th argument of clone(2), + not the 5th one. + +config CLONE_BACKWARDS2 + bool + help + Architecture has the first two arguments of clone(2) swapped. + source "kernel/gcov/Kconfig" |