summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86/dummylib/privsep.c
blob: bb25d6d08a15935650c7373150b1fa32623800e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 ** Public domain
 **/
/* $OpenBSD: privsep.c,v 1.1 2006/11/28 20:29:31 matthieu Exp $ */
#include <sys/types.h>
#include <fcntl.h>

int 
priv_init(uid_t uid, gid_t gid)
{
	return 0;
}

int
priv_open_device(char *path)
{
	return open(path, O_RDWR);
}