chromium/remoting/host/setup/start_host_as_root.cc

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

#include "remoting/host/setup/start_host_as_root.h"

#include <errno.h>
#include <grp.h>
#include <pwd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>

#include "base/check.h"
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/process/launch.h"
#include "base/strings/string_split.h"

namespace remoting {

constexpr char kChromotingGroupName[] =;

void PrintGroupMembershipError(const char* user_name) {}

bool CheckChromotingGroupMembership(const char* user_name,
                                    gid_t user_group_id) {}

int StartHostAsRoot(int argc, char** argv) {}

}  // namespace remoting