strace: Add support for get{u,eu,g,eg,p,pp}id syscalls

All these take no arguments so there's no formatting to be done.
This commit is contained in:
Rodrigo Tobar 2021-10-11 22:30:47 +08:00 committed by Brian Gianforcaro
parent 1409cc8395
commit 441a1ae35d
Notes: sideshowbarker 2024-07-18 02:47:59 +09:00

View File

@ -708,6 +708,13 @@ static void format_syscall(FormattedSyscallBuilder& builder, Syscall::Function s
case SC_clock_gettime:
format_clock_gettime(builder, (clockid_t)arg1, (struct timespec*)arg2);
break;
case SC_getuid:
case SC_geteuid:
case SC_getgid:
case SC_getegid:
case SC_getpid:
case SC_getppid:
break;
default:
builder.add_arguments((void*)arg1, (void*)arg2, (void*)arg3);
result_type = VoidP;