https://github.com/torvalds/linux
Revision e3c7a8d7f44f4b36eb299563526ef8c5cb8011b0 authored by Sven Schnelle on 30 June 2021, 11:50:55 UTC, committed by Vasily Gorbik on 08 July 2021, 20:12:17 UTC
On s390, execve might have to be restarted for PGSTE binaries
like kvm. In the past this was done via the PIF_SYSCALL_RESTART
bit. However, with the recent changes, syscalls are now restarted
differently. Now that execve() is the only call that might get
restarted via PIF_SYSCALL_RESTART, move the loop to do_syscall().
This also has the advantage that the restart is no longer visible
to userspace.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
1 parent fbf50f4
History
Tip revision: e3c7a8d7f44f4b36eb299563526ef8c5cb8011b0 authored by Sven Schnelle on 30 June 2021, 11:50:55 UTC
s390: move restart of execve() syscall
Tip revision: e3c7a8d
File Mode Size
Kconfig -rw-r--r-- 75.1 KB
Makefile -rw-r--r-- 1.2 KB
calibrate.c -rw-r--r-- 8.6 KB
do_mounts.c -rw-r--r-- 14.8 KB
do_mounts.h -rw-r--r-- 908 bytes
do_mounts_initrd.c -rw-r--r-- 3.4 KB
do_mounts_rd.c -rw-r--r-- 7.7 KB
init_task.c -rw-r--r-- 6.2 KB
initramfs.c -rw-r--r-- 16.3 KB
main.c -rw-r--r-- 38.8 KB
noinitramfs.c -rw-r--r-- 813 bytes
version.c -rw-r--r-- 1.1 KB

back to top