Add privsep prototypes to osdep.h
This commit is contained in:
parent
c7c0180b4c
commit
5f8132e311
@ -269,4 +269,11 @@ extern void XdmcpRegisterBroadcastAddress(const struct sockaddr_in *addr);
|
||||
extern void XdmAuthenticationInit(const char *cookie, int cookie_length);
|
||||
#endif
|
||||
|
||||
#ifdef X_PRIVSEP
|
||||
extern int priv_init(uid_t, gid_t);
|
||||
extern int priv_open_device(const char *);
|
||||
extern void priv_init_parent_process(pid_t);
|
||||
extern void priv_signal_parent(void);
|
||||
#endif
|
||||
|
||||
#endif /* _OSDEP_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: privsep.c,v 1.22 2012/08/07 20:15:23 matthieu Exp $ */
|
||||
/* $OpenBSD: privsep.c,v 1.23 2012/08/07 20:16:12 matthieu Exp $ */
|
||||
/*
|
||||
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
|
||||
* All rights reserved.
|
||||
@ -49,6 +49,7 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include "os.h"
|
||||
#include "osdep.h"
|
||||
|
||||
enum cmd_types {
|
||||
PRIV_OPEN_DEVICE,
|
||||
|
Loading…
Reference in New Issue
Block a user