blob: d3765d05a49b9948ffa1de98562ed195b7387d35 [file] [log] [blame]
Sergei Datsenkoadd282e2020-11-16 15:41:24 +11001// Copyright 2020 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CROS_DISKS_USER_H_
6#define CROS_DISKS_USER_H_
7
8#include <sys/types.h>
9
10namespace cros_disks {
11
12// UID of the chronos user running UI and user apps.
13constexpr uid_t kChronosUID = 1000;
14// GID of the chronos user running UI and user apps.
15constexpr uid_t kChronosGID = 1000;
16
17// GID of the chronos-access group used to broker access to user's files.
18constexpr gid_t kChronosAccessGID = 1001;
19
20// UID/GID of an user owning a file/process.
21struct OwnerUser {
22 uid_t uid;
23 gid_t gid;
24};
25
26} // namespace cros_disks
27
28#endif // CROS_DISKS_USER_H_