[RFC PATCH for 4.18 18/23] rseq: selftests: Provide rseq library (v5)

2018-04-12 Thread Mathieu Desnoyers
This rseq helper library provides a user-space API to the rseq() system call. The rseq fast-path exposes the instruction pointer addresses where the rseq assembly blocks begin and end, as well as the associated abort instruction pointer, in the __rseq_table section. This section allows debuggers

[RFC PATCH for 4.18 18/23] rseq: selftests: Provide rseq library (v5)

2018-04-12 Thread Mathieu Desnoyers
This rseq helper library provides a user-space API to the rseq() system call. The rseq fast-path exposes the instruction pointer addresses where the rseq assembly blocks begin and end, as well as the associated abort instruction pointer, in the __rseq_table section. This section allows debuggers