diff options
author | Hiltjo Posthuma <[email protected]> | 2020-08-08 20:01:05 +0200 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2020-08-08 20:01:05 +0200 |
commit | dc0709f6f4f7e256e27272cb0b8611715caf1f3b (patch) | |
tree | b4f16fed3a81e991db419fbbb217e4011817c122 | |
parent | 174a763058f9a90831ab5a2aeb1c9bfbecdabf48 (diff) | |
download | stagit-dc0709f6f4f7e256e27272cb0b8611715caf1f3b.tar.gz stagit-dc0709f6f4f7e256e27272cb0b8611715caf1f3b.zip |
stagit-index: remove unveil support for argv
This can reach the unveil argument limits and it is not a good case for using
unveil.
-rw-r--r-- | stagit-index.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/stagit-index.c b/stagit-index.c index 2b243ec..bb0ad3c 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -154,10 +154,6 @@ main(int argc, char *argv[]) git_libgit2_init(); #ifdef __OpenBSD__ - for (i = 1; i < argc; i++) - if (unveil(argv[i], "r") == -1) - err(1, "unveil: %s", argv[i]); - if (pledge("stdio rpath", NULL) == -1) err(1, "pledge"); #endif |