5 * Copyright (C) 2018 - Francis Deslauriers <francis.deslauriers@efficios.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License, version 2 only,
9 * as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #include <sys/types.h>
24 int run_as_mkdir_recursive(const char *path
, mode_t mode
, uid_t uid
, gid_t gid
)
28 int run_as_mkdir(const char *path
, mode_t mode
, uid_t uid
, gid_t gid
)
32 int run_as_open(const char *path
, int flags
, mode_t mode
, uid_t uid
, gid_t gid
)
36 int run_as_unlink(const char *path
, uid_t uid
, gid_t gid
)
40 int run_as_rmdir_recursive(const char *path
, uid_t uid
, gid_t gid
)
44 int lttng_elf_get_symbol_offset(int fd
, char *symbol
, uint64_t *offset
)
48 int lttng_elf_get_sdt_probe_offsets(int fd
, const char *provider_name
,
49 const char *probe_name
, uint64_t **offsets
, uint32_t *nb_probe
)
53 int run_as_create_worker(char *procname
)
57 void run_as_destroy_worker(void)
62 #endif /* _RUNAS_STUB_H */
This page took 0.036145 seconds and 5 git commands to generate.