On Fri, Nov 13 2020 at 22:29, Gabriel Krisman Bertazi wrote:
>
> enum syscall_work_bit {
> +
> SYSCALL_WORK_SECCOMP= 0,
> + SYSCALL_WORK_SYSCALL_TRACEPOINT = 1,
No assignment required. Enums just do that for you.
Thanks,
tglx
For architectures that rely on the generic syscall entry code, use the
syscall_work field in struct thread_info and the specific SYSCALL_WORK
flag. This set of flags has the advantage of being architecture
independent.
Users of the flag outside of the generic entry code should rely on the
accesso
2 matches
Mail list logo