]> granicus.if.org Git - strace/commit
Honor xlat styles when decoding ioprio_get and ioprio_set
authorShankara Pailoor <shankarapailoor@gmail.com>
Sat, 12 Jan 2019 04:59:00 +0000 (20:59 -0800)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 18 Feb 2019 20:30:20 +0000 (20:30 +0000)
commit98b7f7172177a01efad3fdd3b8997bd1d81bb9d8
treed5ba5eccb6a44a9046a9db1431adce3cfabaa526
parent1f66239842d756efc21876fb0c245bc99dde85bf
Honor xlat styles when decoding ioprio_get and ioprio_set

* ioprio.c (SYS_FUNC(ioprio_get), SYS_FUNC(ioprio_set)): Add xlat_style
support.
* tests/ioprio-Xabbrev.c: New file.
* tests/ioprio-Xraw.c: Likewise.
* tests/ioprio-Xverbose.c: Likewise.
* tests/ioprio.c: Handle XLAT_RAW, XLAT_ABBREV, and XLAT_VERBOSE macros.
* tests/gen_tests.in (ioprio-Xabbrev, ioprio-Xraw, ioprio-Xverbose): New
tests.
* tests/pure_executables.list: Add ioprio-Xabbrev, ioprio-Xraw, and
ioprio-Xverbose.
* tests/.gitignore: Likewise.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
ioprio.c
tests/.gitignore
tests/gen_tests.in
tests/ioprio-Xabbrev.c [new file with mode: 0644]
tests/ioprio-Xraw.c [new file with mode: 0644]
tests/ioprio-Xverbose.c [new file with mode: 0644]
tests/ioprio.c
tests/pure_executables.list