Clean-up: sessiond ust-app: change spaces to tabs
[lttng-tools.git] / src / common / credentials.c
1 /*
2 * Copyright (C) 2020 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8 #include <assert.h>
9 #include <stdbool.h>
10 #include "credentials.h"
11
12 bool lttng_credentials_is_equal(const struct lttng_credentials *a,
13 const struct lttng_credentials *b)
14 {
15 assert(a);
16 assert(b);
17
18 if ((a->uid != b->uid) || (a->gid != b->gid)) {
19 return false;
20 }
21
22 return true;
23 };
This page took 0.030991 seconds and 5 git commands to generate.