diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-03-01 13:45:03 +0100 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2014-03-04 09:12:24 +0100 |
commit | ab4f8bba19323eb78b7473df42b225eb14090fcc (patch) | |
tree | 2bda879b8d746516dec33d6a12e1c0953b0fa21d /include/xen | |
parent | 2c81fc4fb41f589454861bbdb90ffde73840b8f8 (diff) | |
download | linux-ab4f8bba19323eb78b7473df42b225eb14090fcc.tar.gz linux-ab4f8bba19323eb78b7473df42b225eb14090fcc.tar.bz2 linux-ab4f8bba19323eb78b7473df42b225eb14090fcc.zip |
s390/compat: automatic zero, sign and pointer conversion of syscalls
Instead of explicitly changing compat system call parameters from e.g.
unsigned long to compat_ulong_t let the COMPAT_SYSCALL_WRAP macros
automatically detect (unsigned) long parameters and zero and sign
extend them automatically.
The resulting binary is completely identical.
In addition add a sys_[system call name] prototype for each system call
wrapper. This will cause compile errors if the prototype does not match
the prototype in include/linux/syscall.h.
Therefore we should now always get the correct zero and sign extension
of system call parameters. Pointers are handled like before.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions