Imported Upstream version 2.5.1
[ossec-hids.git] / src / headers / privsep_op.h
1 /* @(#) $Id$ */
2
3 /* Copyright (C) 2009 Trend Micro Inc.
4  * All right reserved.
5  *
6  * This program is a free software; you can redistribute it
7  * and/or modify it under the terms of the GNU General Public
8  * License (version 2) as published by the FSF - Free Software
9  * Foundation
10  */
11
12 /* Functions for privilege separation.
13  */
14
15 #ifndef __PRIV_H
16
17 #define __PRIV_H
18 #include "shared.h"
19
20 int Privsep_GetUser(char * name);
21
22 int Privsep_GetGroup(char * name);
23
24 int Privsep_SetUser(uid_t uid);
25
26 int Privsep_SetGroup(gid_t gid);
27
28 int Privsep_Chroot(char * path);
29
30 #endif