]> granicus.if.org Git - strace/commit
alpha: enhance decoding of getxpid, getxuid, and getxgid syscalls
authorDmitry V. Levin <ldv@altlinux.org>
Sat, 9 Jan 2016 00:06:06 +0000 (00:06 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 9 Jan 2016 00:09:04 +0000 (00:09 +0000)
commit2720a618320b1ae697e2f7deec4c2da14ac55b58
tree2cdd3d695c53578d89aaa04a4701299a3b2976c0
parentb61b2d820fd4407d3cb2afd47377727eeecb6539
alpha: enhance decoding of getxpid, getxuid, and getxgid syscalls

Print the second return value of getxpid, getxuid, and getxgid syscalls
that return a pair of values using the same mechanism as pipe syscall.

* alpha.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* linux/alpha/syscallent.h [20]: Change SEN(getpid) to SEN(getxpid).
[24]: Change SEN(getuid) to SEN(getxuid).
[47]: Change SEN(getgid) to SEN(getxgid).
* NEWS: Mention this enhancement.
* tests/uid.awk: Update for getxgid output change.
* tests/uid.test: Cleanup.
* tests/getxxid.c: New file.
* tests/getxxid.test: New test.
* tests/Makefile.am (check_PROGRAMS): Add getxxid.
(TESTS): Add getxxid.test.
* tests/.gitignore: Add getxxid.
Makefile.am
NEWS
alpha.c [new file with mode: 0644]
linux/alpha/syscallent.h
tests/.gitignore
tests/Makefile.am
tests/getxxid.c [new file with mode: 0644]
tests/getxxid.test [new file with mode: 0755]
tests/uid.awk
tests/uid.test