Introduction
Introduction Statistics Contact Development Disclaimer Help
tweak pledge - bmf - bmf (Bayesian Mail Filter) 0.9.4 fork + patches
git clone git://git.codemadness.org/bmf
Log
Files
Refs
README
LICENSE
---
commit bd5dd52e982fcb2c07eddb303e585a6e9b738508
parent 30cf7b5fcb8028582d3c746e9c72289be77c3f87
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 22 Sep 2018 18:27:17 +0200
tweak pledge
Diffstat:
M bmf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bmf.c b/bmf.c
@@ -92,7 +92,7 @@ int main( int argc, char** argv )
int fd = STDIN_FILENO;
- if (pledge("stdio rpath wpath cpath tmppath", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath flock", NULL) == -1)
err(1, "pledge");
srand(time(NULL));
@@ -147,7 +147,7 @@ int main( int argc, char** argv )
break;
case 't':
mode = mode_test;
- if (pledge("stdio rpath", NULL) == -1)
+ if (pledge("stdio rpath cpath flock", NULL) == -1)
err(1, "pledge");
break;
case 'v':
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.