mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
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:
parent
1409cc8395
commit
441a1ae35d
Notes:
sideshowbarker
2024-07-18 02:47:59 +09:00
Author: https://github.com/rtobar
Commit: 441a1ae35d
Pull-request: https://github.com/SerenityOS/serenity/pull/10439
1 changed files with 7 additions and 0 deletions
|
@ -708,6 +708,13 @@ static void format_syscall(FormattedSyscallBuilder& builder, Syscall::Function s
|
||||||
case SC_clock_gettime:
|
case SC_clock_gettime:
|
||||||
format_clock_gettime(builder, (clockid_t)arg1, (struct timespec*)arg2);
|
format_clock_gettime(builder, (clockid_t)arg1, (struct timespec*)arg2);
|
||||||
break;
|
break;
|
||||||
|
case SC_getuid:
|
||||||
|
case SC_geteuid:
|
||||||
|
case SC_getgid:
|
||||||
|
case SC_getegid:
|
||||||
|
case SC_getpid:
|
||||||
|
case SC_getppid:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
builder.add_arguments((void*)arg1, (void*)arg2, (void*)arg3);
|
builder.add_arguments((void*)arg1, (void*)arg2, (void*)arg3);
|
||||||
result_type = VoidP;
|
result_type = VoidP;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue