chromium/sandbox/linux/services/credentials.h

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

#ifndef SANDBOX_LINUX_SERVICES_CREDENTIALS_H_
#define SANDBOX_LINUX_SERVICES_CREDENTIALS_H_

#include <sys/types.h>

#include "build/build_config.h"
// Link errors are tedious to track, raise a compile-time error instead.
#if BUILDFLAG(IS_ANDROID)
#error "Android is not supported."
#endif  // BUILDFLAG(IS_ANDROID).

#include <string>
#include <vector>

#include "sandbox/linux/system_headers/capability.h"
#include "sandbox/sandbox_export.h"

namespace sandbox {

// This class should be used to manipulate the current process' credentials.
// It is currently a stub used to manipulate POSIX.1e capabilities as
// implemented by the Linux kernel.
class SANDBOX_EXPORT Credentials {};

}  // namespace sandbox.

#endif  // SANDBOX_LINUX_SERVICES_CREDENTIALS_H_