sessiond: enforce user-exclusive session access in session_access_ok
[lttng-tools.git] / src / bin / lttng-sessiond / fd-limit.h
CommitLineData
4063050c
MD
1#ifndef _LTTNG_FD_LIMIT_H
2#define _LTTNG_FD_LIMIT_H
3
4/*
ab5be9fa 5 * Copyright (C) 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4063050c 6 *
ab5be9fa 7 * SPDX-License-Identifier: GPL-2.0-only
4063050c 8 *
4063050c
MD
9 */
10
11enum lttng_fd_type {
12 LTTNG_FD_APPS,
13 LTTNG_FD_NR_TYPES,
14};
15
16int lttng_fd_get(enum lttng_fd_type type, unsigned int nr);
17void lttng_fd_put(enum lttng_fd_type type, unsigned int nr);
18void lttng_fd_init(void);
19
20#endif /* _LTTNG_FD_LIMIT_H */
This page took 0.050658 seconds and 4 git commands to generate.