]> Git Repo - linux.git/commit
entry: Use different define for selector variable in SUD
authorGabriel Krisman Bertazi <[email protected]>
Fri, 5 Feb 2021 18:43:21 +0000 (13:43 -0500)
committerThomas Gleixner <[email protected]>
Fri, 5 Feb 2021 23:21:42 +0000 (00:21 +0100)
commit36a6c843fd0d8e02506681577e96dabd203dd8e8
tree5d235696ba455e2ad85d78592489ad818efdf851
parent6342adcaa683c2b705c24ed201dc11b35854c88d
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) <[email protected]>
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Documentation/admin-guide/syscall-user-dispatch.rst
include/uapi/linux/prctl.h
kernel/entry/syscall_user_dispatch.c
tools/testing/selftests/syscall_user_dispatch/sud_benchmark.c
tools/testing/selftests/syscall_user_dispatch/sud_test.c
This page took 0.080665 seconds and 4 git commands to generate.