[PATCH 01/23] all: syscall wrappers: add documentation

From
David Miller <davem@davemloft.net>
Date
2016-05-25 19:30:26
Also in
linux-arch, linux-s390, lkml
Reply to
Yury Norov, 2016-05-24
From: Yury Norov <redacted>
Date: Tue, 24 May 2016 03:04:30 +0300
+To clear that top halves, automatic wrappers are introduced. They clear all
+required registers before passing control to regular syscall handler.
Why have one of these for every single compat system call, rather than
simply clearing the top half of all of these registers unconditionally
in the 32-bit system call trap before the system call is invoked?

That's what we do on sparc64.

And with that, you only need wrappers for the case where there needs
to be proper sign extention of a 32-bit signed argument.
Thread (73 messages) 73 messages, 9 authors, last reply 2016-06-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help