OpenDNSSEC-enforcer  1.3.4
Defines | Functions
/build/buildd/opendnssec-1.3.4/enforcer/common/privdrop.c File Reference
#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"
Include dependency graph for privdrop.c:

Go to the source code of this file.

Defines

#define _GNU_SOURCE   /* defines for setres(g|u)id */

Functions

int privdrop (const char *username, const char *groupname, const char *newroot)

Define Documentation

#define _GNU_SOURCE   /* defines for setres(g|u)id */

Definition at line 31 of file privdrop.c.


Function Documentation

int privdrop ( const char *  username,
const char *  groupname,
const char *  newroot 
)

Definition at line 49 of file privdrop.c.

Referenced by main().