diff --git a/Userland/Libraries/LibC/assert.cpp b/Userland/Libraries/LibC/assert.cpp index 75d40ef47d..cc54d4bdc1 100644 --- a/Userland/Libraries/LibC/assert.cpp +++ b/Userland/Libraries/LibC/assert.cpp @@ -30,7 +30,7 @@ void __assertion_failed(char const* msg) { "assertion", strlen("assertion") }, { msg, strlen(msg) }, }; - syscall(SC_prctl, PR_SET_COREDUMP_METADATA_VALUE, ¶ms, nullptr); + syscall(SC_prctl, PR_SET_COREDUMP_METADATA_VALUE, ¶ms, nullptr, nullptr); abort(); } } diff --git a/Userland/Libraries/LibC/unistd.cpp b/Userland/Libraries/LibC/unistd.cpp index b689e2f02e..23b8becf3f 100644 --- a/Userland/Libraries/LibC/unistd.cpp +++ b/Userland/Libraries/LibC/unistd.cpp @@ -1012,13 +1012,13 @@ void dump_backtrace() int get_process_name(char* buffer, int buffer_size) { - int rc = syscall(SC_prctl, PR_GET_PROCESS_NAME, buffer, buffer_size); + int rc = syscall(SC_prctl, PR_GET_PROCESS_NAME, buffer, buffer_size, nullptr); __RETURN_WITH_ERRNO(rc, rc, -1); } int set_process_name(char const* name, size_t name_length) { - int rc = syscall(SC_prctl, PR_SET_PROCESS_NAME, name, name_length); + int rc = syscall(SC_prctl, PR_SET_PROCESS_NAME, name, name_length, nullptr); __RETURN_WITH_ERRNO(rc, rc, -1); } diff --git a/Userland/Libraries/LibELF/DynamicLinker.cpp b/Userland/Libraries/LibELF/DynamicLinker.cpp index 0731f3ed56..0313e91120 100644 --- a/Userland/Libraries/LibELF/DynamicLinker.cpp +++ b/Userland/Libraries/LibELF/DynamicLinker.cpp @@ -677,7 +677,7 @@ void ELF::DynamicLinker::linker_main(DeprecatedString&& main_program_path, int m s_loaders.clear(); - int rc = syscall(SC_prctl, PR_SET_NO_NEW_SYSCALL_REGION_ANNOTATIONS, 1, 0); + int rc = syscall(SC_prctl, PR_SET_NO_NEW_SYSCALL_REGION_ANNOTATIONS, 1, 0, nullptr); if (rc < 0) { VERIFY_NOT_REACHED(); }