#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "sandbox/linux/syscall_broker/syscall_dispatcher.h"
#include <fcntl.h>
#include "base/check.h"
#include "base/logging.h"
#include "sandbox/linux/system_headers/linux_syscalls.h"
namespace sandbox {
namespace syscall_broker {
#if defined(MEMORY_SANITIZER)
#define BROKER_UNPOISON_STRING …
#else
#define BROKER_UNPOISON_STRING(x) …
#endif
int SyscallDispatcher::DefaultStatForTesting(const char* pathname,
bool follow_links,
default_stat_struct* sb) { … }
int SyscallDispatcher::PerformStatat(const arch_seccomp_data& args,
bool stat64) { … }
int SyscallDispatcher::PerformUnlinkat(const arch_seccomp_data& args) { … }
int SyscallDispatcher::DispatchSyscall(const arch_seccomp_data& args) { … }
}
}