xenocara/xserver/hw/xfree86/dummylib/privsep.c
matthieu c155af5f9a OpenBSD local modifications:
- privilege separation
- some snprintf/strlc{at,py} conversions
- support for more architectures
- signal handler fixes
- default mouse wheel support in config tools
- sunmouse protocol
2006-11-28 20:29:31 +00:00

19 lines
255 B
C

/**
** 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);
}