diff options
author | 2014-03-01 13:45:03 +0100 | |
---|---|---|
committer | 2014-03-04 09:12:24 +0100 | |
commit | ab4f8bba19323eb78b7473df42b225eb14090fcc (patch) | |
tree | 2bda879b8d746516dec33d6a12e1c0953b0fa21d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/compat: add sync_file_range and fallocate compat syscalls (diff) | |
download | wireguard-linux-ab4f8bba19323eb78b7473df42b225eb14090fcc.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions