|
Introduced by Linux commit v5.14-rc1~6^2~50.
* src/xlat/pr_sched_core_cmds.in: New file.
* src/xlat/pr_sched_core_pidtypes.in: Likewise.
* src/xlat/prctl_options.in (PR_SCHED_CORE): New constant.
* src/prctl.c: Include "xlat/pr_sched_core_cmds.h",
"xlat/pr_sched_core_pidtypes.h".
(SYS_FUNC(prctl)) <case PR_SCHED_CORE>: Implement decoding.
* tests/prctl-sched-core--pidns-translation-Xabbrev.c: New file.
* tests/prctl-sched-core--pidns-translation-Xraw.c: Likewise.
* tests/prctl-sched-core--pidns-translation-Xverbose.c: Likewise.
* tests/prctl-sched-core--pidns-translation.c: Likewise.
* tests/prctl-sched-core-Xabbrev.c: Likewise.
* tests/prctl-sched-core-Xraw.c: Likewise.
* tests/prctl-sched-core-Xverbose.c: Likewise.
* tests/prctl-sched-core-success--pidns-translation-Xabbrev.c: Likewise.
* tests/prctl-sched-core-success--pidns-translation-Xraw.c: Likewise.
* tests/prctl-sched-core-success--pidns-translation-Xverbose.c: Likewise.
* tests/prctl-sched-core-success--pidns-translation.c: Likewise.
* tests/prctl-sched-core-success-Xabbrev.c: Likewise.
* tests/prctl-sched-core-success-Xraw.c: Likewise.
* tests/prctl-sched-core-success-Xverbose.c: Likewise.
* tests/prctl-sched-core-success.c: Likewise.
* tests/prctl-sched-core.c: Likewise.
* tests/.gitignore: Add prctl-sched-core, prctl-sched-core-Xabbrev,
prctl-sched-core-Xraw, prctl-sched-core-Xverbose,
prctl-sched-core--pidns-translation,
prctl-sched-core--pidns-translation-Xabbrev,
prctl-sched-core--pidns-translation-Xraw,
prctl-sched-core--pidns-translation-Xverbose,
prctl-sched-core-success, prctl-sched-core-success-Xabbrev,
prctl-sched-core-success-Xraw, prctl-sched-core-success-Xverbose,
prctl-sched-core-success--pidns-translation,
prctl-sched-core-success--pidns-translation-Xabbrev,
prctl-sched-core-success--pidns-translation-Xraw,
and prctl-sched-core-success--pidns-translation-Xverbose.
* tests/Makefile.am (check_PROGRAMS): Add
prctl-sched-core--pidns-translation,
prctl-sched-core--pidns-translation-Xabbrev,
prctl-sched-core--pidns-translation-Xraw,
prctl-sched-core--pidns-translation-Xverbose,
prctl-sched-core-success, prctl-sched-core-success-Xabbrev,
prctl-sched-core-success-Xraw, prctl-sched-core-success-Xverbose,
prctl-sched-core-success--pidns-translation,
prctl-sched-core-success--pidns-translation-Xabbrev,
prctl-sched-core-success--pidns-translation-Xraw,
and prctl-sched-core-success--pidns-translation-Xverbose.
* tests/gen_tests.in (prctl-sched-core, prctl-sched-core-Xabbrev,
prctl-sched-core-Xraw, prctl-sched-core-Xverbose,
prctl-sched-core--pidns-translation,
prctl-sched-core--pidns-translation-Xabbrev,
prctl-sched-core--pidns-translation-Xraw,
prctl-sched-core--pidns-translation-Xverbose,
prctl-sched-core-success, prctl-sched-core-success-Xabbrev,
prctl-sched-core-success-Xraw, prctl-sched-core-success-Xverbose,
prctl-sched-core-success--pidns-translation,
prctl-sched-core-success--pidns-translation-Xabbrev,
prctl-sched-core-success--pidns-translation-Xraw,
and prctl-sched-core-success--pidns-translation-Xverbose): New tests.
* tests/pure_executables.list: Add prctl-sched-core,
prctl-sched-core-Xabbrev, prctl-sched-core-Xraw,
and prctl-sched-core-Xverbose.
|