Skip to content

kill __KERNEL_SYSCALLS__

Arnd Bergmann linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 37 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7introduce kernel_execvearch/sparc64/kernel/power.c init/do_mounts_initrd.c init/main.c +3 more+31 -110 replies
2/7rename the provided execve functions to kernel_execvearch/alpha/kernel/alpha_ksyms.c arch/alpha/kernel/entry.S arch/arm/kernel/sys_arm.c +18 more+41 -12232 replies
3/7provide kernel_execve on all architecturesarch/frv/kernel/sys_frv.c arch/h8300/kernel/sys_h8300.c arch/i386/kernel/sys_i386.c +11 more+259 -02 replies
4/7Remove the use of _syscallX macros in UMLarch/um/os-Linux/process.c arch/um/os-Linux/sys-i386/tls.c arch/um/os-Linux/tls.c +2 more+15 -253 replies
5/7sh64: remove the use of kernel syscallsarch/sh64/kernel/process.c+14 -131 reply
6/7remove all remaining _syscallX macrosinclude/asm-cris/unistd.h include/asm-frv/unistd.h include/asm-h8300/unistd.h +12 more+0 -257025 replies
7/7remove the global errno from the kernelarch/ia64/kernel/process.c drivers/media/dvb/dvb-core/dvb_ringbuffer.c drivers/net/wireless/ipw2100.c +4 more+2 -401 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] kill __KERNEL_SYSCALLS__

Ok, next try. This time a full series that tries to kill off __KERNEL_SYSCALLS__, _syscallX() and the global errno for good.

Practically no testing so far, so please check if this makes sense first before applying.

I'd especially like the arch maintainers to provide better implementations of kernel_execve, since I had to rely on the inline assembly provided from _syscall3 to implement them instead of doing it the right way.

	Arnd <><