Red Hat Bugzilla – Bug 105359
RFE: better ugid32 syscalls support
Last modified: 2007-04-18 12:57:48 EDT
Description of problem:
Not all of ugid32 syscalls are displayed properly.
Version-Release number of selected component (if applicable):
kernel-2.4.x or higher is required.
Steps to Reproduce:
$ gcc -Wall -Werror getresuid.c -o getresuid
$ strace -e trace=getresuid32,setresuid32 ./getresuid
$ strace -e trace=getgroups32 id >/dev/null
getresuid32(0xbffff8b4, 0xbffff8b0, 0xbffff8ac) = 0
setresuid32(0xffffffff, 0xffffffff, 0xffffffff) = 0
getgroups32(0, 0) = 15
getgroups32(0xf, 0x804eda0) = 15
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]
You did not include the source file for your test case.
Please attach that.
Created attachment 95791 [details]
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.