diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-18 18:35:56 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-18 18:35:56 -0500 |
commit | 891da4b83e901780ca4becb9b6f7c9cf0fb70ffd (patch) | |
tree | b177b8ddddf3a0e73a86e482d88e0e188c601516 /tdesu/tdesud/tdesud.cpp | |
parent | 0c11ace605ba33feb137eca638a39c27a71e1d8d (diff) | |
parent | d7ccc16037550f5dc9ba2db00e47ea950c3732d2 (diff) | |
download | tdebase-891da4b83e901780ca4becb9b6f7c9cf0fb70ffd.tar.gz tdebase-891da4b83e901780ca4becb9b6f7c9cf0fb70ffd.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'tdesu/tdesud/tdesud.cpp')
-rw-r--r-- | tdesu/tdesud/tdesud.cpp | 4 |
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"), |