chromium/sandbox/linux/services/proc_util.cc

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

#include "sandbox/linux/services/proc_util.h"

#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>

#include <memory>

#include "base/check_op.h"
#include "base/posix/eintr_wrapper.h"
#include "base/strings/string_number_conversions.h"

namespace sandbox {
namespace {

struct DIRCloser {};

ScopedDIR;

base::ScopedFD OpenDirectory(const char* path) {}

}  // namespace

int ProcUtil::CountOpenFds(int proc_fd) {}

bool ProcUtil::HasOpenDirectory(int proc_fd) {}

bool ProcUtil::HasOpenDirectory() {}

// static
base::ScopedFD ProcUtil::OpenProc() {}

}  // namespace sandbox