chromium/sandbox/linux/syscall_broker/broker_command.cc

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

#include <unistd.h>

#include "sandbox/linux/syscall_broker/broker_command.h"
#include "sandbox/linux/syscall_broker/broker_permission_list.h"

namespace sandbox {
namespace syscall_broker {

const char* CommandAccessIsSafe(const BrokerCommandSet& command_set,
                                const BrokerPermissionList& policy,
                                const char* requested_filename,
                                int requested_mode) {}

const char* CommandMkdirIsSafe(const BrokerCommandSet& command_set,
                               const BrokerPermissionList& policy,
                               const char* requested_filename) {}

std::pair<const char*, bool> CommandOpenIsSafe(
    const BrokerCommandSet& command_set,
    const BrokerPermissionList& policy,
    const char* requested_filename,
    int requested_flags) {}

const char* CommandReadlinkIsSafe(const BrokerCommandSet& command_set,
                                  const BrokerPermissionList& policy,
                                  const char* requested_filename) {}

std::pair<const char*, const char*> CommandRenameIsSafe(
    const BrokerCommandSet& command_set,
    const BrokerPermissionList& policy,
    const char* old_filename,
    const char* new_filename) {}

const char* CommandRmdirIsSafe(const BrokerCommandSet& command_set,
                               const BrokerPermissionList& policy,
                               const char* requested_filename) {}

const char* CommandStatIsSafe(const BrokerCommandSet& command_set,
                              const BrokerPermissionList& policy,
                              const char* requested_filename) {}

const char* CommandUnlinkIsSafe(const BrokerCommandSet& command_set,
                                const BrokerPermissionList& policy,
                                const char* requested_filename) {}

const char* CommandInotifyAddWatchIsSafe(const BrokerCommandSet& command_set,
                                         const BrokerPermissionList& policy,
                                         const char* requested_filename,
                                         uint32_t mask) {}

}  // namespace syscall_broker
}  // namespace sandbox