summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-solaris.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-03-11 14:47:41 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-03-11 14:47:41 +1100
commit627824480c01f0b24541842c7206ab9009644d02 (patch)
tree1209a4a47f80ec2a097f025f87330330c5de4cbc /openbsd-compat/port-solaris.h
parente960051f9a264f682c4d2fefbeecffcfc66b0ddf (diff)
Include priv.h for priv_set_t.
From alex at cooperi.net.
Diffstat (limited to 'openbsd-compat/port-solaris.h')
-rw-r--r--openbsd-compat/port-solaris.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/port-solaris.h b/openbsd-compat/port-solaris.h
index 3a41ea8cd..a7cb5eb30 100644
--- a/openbsd-compat/port-solaris.h
+++ b/openbsd-compat/port-solaris.h
@@ -27,6 +27,7 @@ void solaris_contract_post_fork_child(void);
27void solaris_contract_post_fork_parent(pid_t pid); 27void solaris_contract_post_fork_parent(pid_t pid);
28void solaris_set_default_project(struct passwd *); 28void solaris_set_default_project(struct passwd *);
29# ifdef USE_SOLARIS_PRIVS 29# ifdef USE_SOLARIS_PRIVS
30#include <priv.h>
30priv_set_t *solaris_basic_privset(void); 31priv_set_t *solaris_basic_privset(void);
31void solaris_drop_privs_pinfo_net_fork_exec(void); 32void solaris_drop_privs_pinfo_net_fork_exec(void);
32void solaris_drop_privs_root_pinfo_net(void); 33void solaris_drop_privs_root_pinfo_net(void);