summaryrefslogtreecommitdiff
path: root/xserver/os/osdep.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-08-07 20:16:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-08-07 20:16:13 +0000
commit69a0b05bbb7e81a4850b3a1f673488a1ef86b034 (patch)
treedcdc82293348e3f7824e3874c798ac3cee6d4217 /xserver/os/osdep.h
parentf90090613ea760cfa6c769306a1253537568d6cf (diff)
Add privsep prototypes to osdep.h
Diffstat (limited to 'xserver/os/osdep.h')
-rw-r--r--xserver/os/osdep.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/xserver/os/osdep.h b/xserver/os/osdep.h
index fff088701..2e5a22907 100644
--- a/xserver/os/osdep.h
+++ b/xserver/os/osdep.h
@@ -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_ */