Index: lttoolbox/lt_proc.cc
--- lttoolbox/lt_proc.cc.orig
+++ lttoolbox/lt_proc.cc
@@ -19,6 +19,8 @@
 #include <lttoolbox/cli.h>
 #include <lttoolbox/lt_locale.h>
 
+#include <unistd.h>
+
 void checkValidity(FSTProcessor const &fstp)
 {
   if(!fstp.valid())
@@ -29,6 +31,11 @@ void checkValidity(FSTProcessor const &fstp)
 
 int main(int argc, char *argv[])
 {
+  if (pledge("stdio rpath wpath cpath", NULL) == -1) {
+    std::cerr << "pledge" << std::endl;
+    exit(EXIT_FAILURE);
+  }
+
   LtLocale::tryToSetLocale();
 
   CLI cli("process a stream with a letter transducer", PACKAGE_VERSION);
