summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdesu/tdesud/tdesud.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdesu/tdesud/tdesud.cpp b/tdesu/tdesud/tdesud.cpp
index 5e4f5122a..3d64bc840 100644
--- a/tdesu/tdesud/tdesud.cpp
+++ b/tdesu/tdesud/tdesud.cpp
@@ -45,7 +45,9 @@
#include <pwd.h>
#include <errno.h>
+#ifndef __OpenBSD__
#include <sys/prctl.h>
+#endif
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -249,7 +251,9 @@ int create_socket()
int main(int argc, char *argv[])
{
+#ifndef __OpenBSD__
prctl(PR_SET_DUMPABLE, 0);
+#endif
TDEAboutData aboutData("tdesud", I18N_NOOP("TDE su daemon"),
Version, I18N_NOOP("Daemon used by tdesu"),