X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Frunas.h;h=99c541f0a7090b0667279bfe015bba8bdb68b992;hb=HEAD;hp=356bb22863fe2c448fed98e8b7b90677868ba6fb;hpb=d14d33bf091e72b23b1f90ea18a0a01bed098b76;p=lttng-tools.git diff --git a/src/common/runas.h b/src/common/runas.h deleted file mode 100644 index 356bb2286..000000000 --- a/src/common/runas.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef _RUNAS_H -#define _RUNAS_H - -/* - * Copyright (C) 2011 - David Goulet - * Mathieu Desnoyers - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include - -int run_as_mkdir_recursive(const char *path, mode_t mode, uid_t uid, gid_t gid); -int run_as_mkdir(const char *path, mode_t mode, uid_t uid, gid_t gid); -int run_as_open(const char *path, int flags, mode_t mode, uid_t uid, gid_t gid); - -#endif /* _RUNAS_H */