OpenCloudOS-Kernel/tools/testing/selftests/syscall_user_dispatch
Gabriel Krisman Bertazi 36a6c843fd entry: Use different define for selector variable in SUD
Michael Kerrisk suggested that, from an API perspective, it is a bad
idea to share the PR_SYS_DISPATCH_ defines between the prctl operation
and the selector variable.

Therefore, define two new constants to be used by SUD's selector variable
and update the corresponding documentation and test cases.

While this changes the API syscall user dispatch has never been part of a
Linux release, it will show up for the first time in 5.11.

Suggested-by: Michael Kerrisk (man-pages) <mtk.manpages@gmail.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210205184321.2062251-1-krisman@collabora.com
2021-02-06 00:21:42 +01:00
..
.gitignore selftests: Add kselftest for syscall user dispatch 2020-12-02 15:07:56 +01:00
Makefile selftests: Add benchmark for syscall user dispatch 2020-12-02 15:07:57 +01:00
config selftests: Add kselftest for syscall user dispatch 2020-12-02 15:07:56 +01:00
sud_benchmark.c entry: Use different define for selector variable in SUD 2021-02-06 00:21:42 +01:00
sud_test.c entry: Use different define for selector variable in SUD 2021-02-06 00:21:42 +01:00