Displaying 1 result from an estimated 1 matches for "have_setppriv".
2008 Nov 21
2
[PATCH] drop root privileges on solaris, request for testing
...ff -r 8f41c9f3f392 src/master/capabilities.h
--- a/src/master/capabilities.h Wed Nov 19 16:11:01 2008 +0200
+++ b/src/master/capabilities.h Wed Nov 19 14:18:38 2008 +0000
@@ -1,7 +1,7 @@
#ifndef CAPABILITIES_H
#define CAPABILITIES_H
-#if defined(HAVE_LIBCAP)
+#if defined(HAVE_LIBCAP) || defined(HAVE_SETPPRIV)
void drop_capabilities(void);
diff -r 8f41c9f3f392 src/master/capabilities-solaris.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/master/capabilities-solaris.c Wed Nov 19 14:18:39 2008 +0000
@@ -0,0 +1,54 @@
+/* Copyright (c) 2008 Dovecot authors, see the included COPYING file */
+...