1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
10 /* Functions for privilege separation */
17 uid_t Privsep_GetUser(const char *name) __attribute__((nonnull));
19 gid_t Privsep_GetGroup(const char *name) __attribute__((nonnull));
21 int Privsep_SetUser(uid_t uid);
23 int Privsep_SetGroup(gid_t gid);
25 int Privsep_Chroot(const char *path) __attribute__((nonnull));