]> granicus.if.org Git - strace/commit
Implement sched_getattr and sched_setattr syscalls decoding
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 29 Jul 2015 07:59:56 +0000 (07:59 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 29 Jul 2015 09:18:26 +0000 (09:18 +0000)
commit3456bcca6732829c00b66745743325fc6162322f
treeaad90578f8f06acc17172ef55c5d4b92f4dab11b
parent95b84ea641e724dff6e0f9b7d66a8a00b75c196a
Implement sched_getattr and sched_setattr syscalls decoding

* xlat/sched_flags.in: New file.
* sched.c: Include "xlat/sched_flags.h".
(print_sched_attr, sys_sched_setattr, sys_sched_getattr): New functions.
* linux/dummy.h (sys_sched_getattr, sys_sched_setattr): Remove.
* tests/sched_xetattr.c: New file.
* tests/sched_xetattr.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add sched_xetattr.
(TESTS): Add sched_xetattr.test.
* tests/.gitignore: Add sched_xetattr.
linux/dummy.h
sched.c
tests/.gitignore
tests/Makefile.am
tests/sched_xetattr.c [new file with mode: 0644]
tests/sched_xetattr.test [new file with mode: 0755]
xlat/sched_flags.in [new file with mode: 0644]