chromium/services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/screen_ai/sandbox/screen_ai_sandbox_hook_linux.h"

#include <dlfcn.h>

#include "base/files/file_util.h"
#include "sandbox/linux/syscall_broker/broker_command.h"
#include "sandbox/linux/syscall_broker/broker_file_permission.h"
#include "services/screen_ai/public/cpp/utilities.h"

BrokerFilePermission;
MakeBrokerCommandSet;

namespace screen_ai {

namespace {

NO_SANITIZE("cfi-icall")
void CallPresandboxInitFunction(void* presandbox_init_function) {}

}  // namespace

bool ScreenAIPreSandboxHook(base::FilePath binary_path,
                            sandbox::policy::SandboxLinux::Options options) {}

}  // namespace screen_ai