Gabriel Krisman Bertazi 23d67a5485 seccomp: Migrate to use SYSCALL_WORK flag
On architectures using the generic syscall entry code the architecture
independent syscall work is moved to flags in thread_info::syscall_work.
This removes architecture dependencies and frees up TIF bits.

Define SYSCALL_WORK_SECCOMP, use it in the generic entry code and convert
the code which uses the TIF specific helper functions to use the new
*_syscall_work() helpers which either resolve to the new mode for users of
the generic entry code or to the TIF based functions for the other
architectures.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20201116174206.2639648-5-krisman@collabora.com
2020-11-16 21:53:15 +01:00
..
2020-10-22 12:41:00 -07:00
2020-10-24 10:44:18 -07:00
2020-10-23 11:17:56 -07:00
2020-10-24 10:33:08 -07:00
2020-10-28 09:14:49 -03:00
2020-10-23 16:19:02 -07:00
2020-10-24 10:39:22 -07:00
2020-10-12 16:08:57 +02:00
2020-10-25 10:55:35 -07:00