diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-22 14:58:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-22 14:58:48 +0000 |
commit | 1e3130ad3be292657bd987599ef9ec5250cbe878 (patch) | |
tree | 376fe796d666ea16f300797eb916e721fee1df02 | |
parent | cd37e27b9cf9f352216f9238b796274bbe24945b (diff) | |
download | mandoc-1e3130ad3be292657bd987599ef9ec5250cbe878.tar.gz mandoc-1e3130ad3be292657bd987599ef9ec5250cbe878.tar.zst mandoc-1e3130ad3be292657bd987599ef9ec5250cbe878.zip |
Since SQLite is gone, we no longer need the "flock" pledge.
Patch from semarie@, OK tb@.
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.283 2017/02/17 14:31:52 schwarze Exp $ */ +/* $Id: main.c,v 1.284 2017/02/22 14:58:48 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -149,7 +149,7 @@ main(int argc, char *argv[]) return mandocdb(argc, argv); #if HAVE_PLEDGE - if (pledge("stdio rpath tmppath tty proc exec flock", NULL) == -1) + if (pledge("stdio rpath tmppath tty proc exec", NULL) == -1) err((int)MANDOCLEVEL_SYSERR, "pledge"); #endif @@ -312,7 +312,7 @@ main(int argc, char *argv[]) #if HAVE_PLEDGE if (!use_pager) - if (pledge("stdio rpath flock", NULL) == -1) + if (pledge("stdio rpath", NULL) == -1) err((int)MANDOCLEVEL_SYSERR, "pledge"); #endif |