Commit | Line | Data |
---|---|---|
fca2f191 | 1 | /* |
c0c0989a | 2 | * SPDX-License-Identifier: LGPL-2.1-only |
fca2f191 | 3 | * |
c0c0989a | 4 | * Copyright (C) 2019 Michael Jeanson <mjeanson@efficios.com> |
fca2f191 MJ |
5 | */ |
6 | ||
c0c0989a MJ |
7 | #ifndef _LTTNG_CREDS_H |
8 | #define _LTTNG_CREDS_H | |
9 | ||
fca2f191 MJ |
10 | /* |
11 | * This is used in the kernel as an invalid value. | |
12 | */ | |
13 | ||
14 | #define INVALID_UID (uid_t) -1 | |
15 | #define INVALID_GID (gid_t) -1 | |
16 | ||
17 | #endif /* _LTTNG_CREDS_H */ |