Re: [RFC PATCH 3/4] rseq: Introduce unreg_clone_flags

2019-09-13 Thread Mathieu Desnoyers
- On Sep 10, 2019, at 8:27 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > Considering that some custom libc could possibly choose not to use > CLONE_SETTLS, we should allow the libc to override the choice of clone > flags meant to unregister rseq. This is a policy decision

[RFC PATCH 3/4] rseq: Introduce unreg_clone_flags

2019-09-10 Thread Mathieu Desnoyers
Considering that some custom libc could possibly choose not to use CLONE_SETTLS, we should allow the libc to override the choice of clone flags meant to unregister rseq. This is a policy decision which should not be made by the kernel. Therefore, introduce a new RSEQ_FLAG_UNREG_CLONE_FLAGS, which