1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:14:58 +00:00

LibC+LibELF: Run clang-format

This commit is contained in:
Andreas Kling 2021-02-03 10:19:09 +01:00
parent c94392a1cc
commit db1c6cf9cf
2 changed files with 1 additions and 2 deletions

View file

@ -27,8 +27,8 @@
#pragma once
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <unistd.h>
__BEGIN_DECLS

View file

@ -216,7 +216,6 @@ static NonnullRefPtr<DynamicLoader> commit_elf(const String& name)
auto object = loader->load_stage_3(RTLD_GLOBAL | RTLD_LAZY, g_total_tls_size);
ASSERT(object);
if (name.is_one_of("libc.so", "libpthread.so", "libkeyboard.so", "/bin/UserspaceEmulator")) {
if (syscall(SC_msyscall, object->base_address().as_ptr())) {
ASSERT_NOT_REACHED();