OpenDNSSEC-enforcer  1.4.8.2
Macros | Functions
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 "daemon_util.h"
Include dependency graph for privdrop.c:

Go to the source code of this file.

Macros

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

Functions

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

Macro Definition Documentation

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

Definition at line 29 of file privdrop.c.

Function Documentation

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

Definition at line 48 of file privdrop.c.

Referenced by main().