Add missing rcu read lock and add assert
[lttng-tools.git] / include / runas.h
CommitLineData
60b6c79c
MD
1#ifndef _RUNAS_H
2#define _RUNAS_H
3
4/*
5 * Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
6 * Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; only verion 2
11 * of the License.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 */
22
23#include <unistd.h>
24
25int mkdir_recursive_run_as(const char *path, mode_t mode, uid_t uid, gid_t gid);
26int mkdir_run_as(const char *path, mode_t mode, uid_t uid, gid_t gid);
27int open_run_as(const char *path, int flags, mode_t mode, uid_t uid, gid_t gid);
28
29#endif /* _RUNAS_H */
This page took 0.023211 seconds and 4 git commands to generate.