diff options
author | Andy Lutomirski <luto@kernel.org> | 2019-07-03 23:34:02 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-22 11:31:22 +0300 |
commit | a8d03c3f300eefff3b5c14798409e4b43e37dd9b (patch) | |
tree | 3af27fc16102b8fc2f960ef7a49292de85c30c54 /sound | |
parent | 45e29d119e9923ff14dfb840e3482bef1667bbfb (diff) | |
download | linux-a8d03c3f300eefff3b5c14798409e4b43e37dd9b.tar.xz |
x86/syscalls: Use the compat versions of rt_sigsuspend() and rt_sigprocmask()
I'm working on some code that detects at build time if there's a
COMPAT_SYSCALL_DEFINE() that is not referenced in the x86 syscall tables.
It catches three offenders: rt_sigsuspend(), rt_sigprocmask(), and
sendfile64().
For rt_sigsuspend() and rt_sigprocmask(), the only potential difference
between the native and compat versions is that the compat version converts
the sigset_t, but, on little endian architectures, the conversion is a
no-op. This is why they both currently work on x86.
To make the code more consistent, and to make the upcoming patches work,
rewire x86 to use the compat vesions.
sendfile64() is more complicated, and will be addressed separately.
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/51643ac3157b5921eae0e172a8a0b1d953e68ebb.1562185330.git.luto@kernel.org
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions