#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <syslog.h>
#include <stdarg.h>
#include <errno.h>
#include <pwd.h>
#include <grp.h>
#include <ctype.h>
#include "config.h"
#include "privdrop.h"
Go to the source code of this file.
Defines | |
#define | _GNU_SOURCE |
Functions | |
int | privdrop (const char *username, const char *groupname, const char *newroot) |
#define _GNU_SOURCE |
Definition at line 31 of file privdrop.c.
int privdrop | ( | const char * | username, | |
const char * | groupname, | |||
const char * | newroot | |||
) |
Definition at line 49 of file privdrop.c.
Referenced by main().