mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]>
This commit is contained in:
parent
25906730ec
commit
d2125043ae
3 changed files with 60 additions and 4 deletions
14
arch/Kconfig
14
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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue