mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-16 07:04:36 +01:00
This adds the new kernel_execve function on all architectures that were using _syscall3() to implement execve. The implementation uses code from the _syscall3 macros provided in the unistd.h header file. I don't have cross-compilers for any of these architectures, so the patch is untested with the exception of i386. Most architectures can probably implement this in a nicer way in assembly or by combining it with the sys_execve implementation itself, but this should do it for now. [[email protected]: m68knommu build fix] [[email protected]: build fix] [[email protected]: build fix] [[email protected]: mips fix] [[email protected]: s390 fix] Signed-off-by: Arnd Bergmann <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Russell King <[email protected]> Cc: Ian Molton <[email protected]> Cc: Mikael Starvik <[email protected]> Cc: David Howells <[email protected]> Cc: Yoshinori Sato <[email protected]> Cc: Hirokazu Takata <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Kyle McMartin <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Paul Mundt <[email protected]> Cc: Kazumoto Kojima <[email protected]> Cc: Richard Curnow <[email protected]> Cc: William Lee Irwin III <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jeff Dike <[email protected]> Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]> Cc: Miles Bader <[email protected]> Cc: Chris Zankel <[email protected]> Cc: "Luck, Tony" <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Roman Zippel <[email protected]> Signed-off-by: Ralf Baechle <[email protected]> Signed-off-by: Bernhard Rosenkraenzer <[email protected]> Signed-off-by: Mark Haverkamp <[email protected]> Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
24 lines
733 B
Makefile
24 lines
733 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
heads-y := head-uc-fr401.o head-uc-fr451.o head-uc-fr555.o
|
|
heads-$(CONFIG_MMU) := head-mmu-fr451.o
|
|
|
|
extra-y:= head.o init_task.o vmlinux.lds
|
|
|
|
obj-y := $(heads-y) entry.o entry-table.o break.o switch_to.o kernel_thread.o \
|
|
kernel_execve.o process.o traps.o ptrace.o signal.o dma.o \
|
|
sys_frv.o time.o semaphore.o setup.o frv_ksyms.o \
|
|
debug-stub.o irq.o sleep.o uaccess.o
|
|
|
|
obj-$(CONFIG_GDBSTUB) += gdb-stub.o gdb-io.o
|
|
|
|
obj-$(CONFIG_MB93091_VDK) += irq-mb93091.o
|
|
obj-$(CONFIG_PM) += pm.o cmode.o
|
|
obj-$(CONFIG_MB93093_PDK) += pm-mb93093.o
|
|
obj-$(CONFIG_FUJITSU_MB93493) += irq-mb93493.o
|
|
obj-$(CONFIG_SYSCTL) += sysctl.o
|
|
obj-$(CONFIG_FUTEX) += futex.o
|
|
obj-$(CONFIG_MODULES) += module.o
|