Description of problem: Not all of ugid32 syscalls are displayed properly. Version-Release number of selected component (if applicable): 4.4.99 How reproducible: kernel-2.4.x or higher is required. Steps to Reproduce: 1. $ gcc -Wall -Werror getresuid.c -o getresuid 2. $ strace -e trace=getresuid32,setresuid32 ./getresuid 3. $ strace -e trace=getgroups32 id >/dev/null Actual results: getresuid32(0xbffff8b4, 0xbffff8b0, 0xbffff8ac) = 0 setresuid32(0xffffffff, 0xffffffff, 0xffffffff) = 0 getgroups32(0, 0) = 15 getgroups32(0xf, 0x804eda0) = 15 Expected results: getresuid32(ruid 501, euid 501, suid 501) = 0 setresuid32(ruid -1, euid -1, suid -1) = 0 getgroups32(0, NULL) = 15 getgroups32(15, [501, 10, 11, 14, 16, 19, 52, 53, 81, 56, 503, 504, 505, 506, 62]) = 15
Created attachment 94713 [details] proposed patch
You did not include the source file for your test case. Please attach that.
Created attachment 95791 [details] getresuid.c
The "id" program is standard utility from coreutils.
I've put your patch in with slight changes to make the output look more like other strace output. Thanks for the work.
It works in strace-4.5.1, thanks.
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2003-294.html