istagit-gopher-index: remove unveil support for argv - stagit-gemini - Stagit for gemini protocol Openbsd Err thinkerwim.openbsd.amsterdam 70 hgit clone git://thinkerwim.org/stagit-gemini.git URL:git://thinkerwim.org/stagit-gemini.git thinkerwim.org 70 1Log /git/stagit-gemini/log.gph thinkerwim.org 70 1Files /git/stagit-gemini/files.gph thinkerwim.org 70 1Refs /git/stagit-gemini/refs.gph thinkerwim.org 70 1README /git/stagit-gemini/file/README.gph thinkerwim.org 70 1LICENSE /git/stagit-gemini/file/LICENSE.gph thinkerwim.org 70 i--- Err thinkerwim.openbsd.amsterdam 70 1commit 2afab18ce4580fb3be22d6c49380444e9844a3ce /git/stagit-gemini/commit/2afab18ce4580fb3be22d6c49380444e9844a3ce.gph thinkerwim.org 70 1parent 40f49c4d17d2cacc62c64e5f96522c3c14c40ab9 /git/stagit-gemini/commit/40f49c4d17d2cacc62c64e5f96522c3c14c40ab9.gph thinkerwim.org 70 hAuthor: Hiltjo Posthuma URL:mailto:hiltjo@codemadness.org thinkerwim.org 70 iDate: Sat, 8 Aug 2020 20:02:07 +0200 Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 istagit-gopher-index: remove unveil support for argv Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iThis can reach the unveil argument limits and it is not a good case for using Err thinkerwim.openbsd.amsterdam 70 iunveil. Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 iDiffstat: Err thinkerwim.openbsd.amsterdam 70 i M stagit-gopher-index.c | 4 ---- Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i1 file changed, 0 insertions(+), 4 deletions(-) Err thinkerwim.openbsd.amsterdam 70 i--- Err thinkerwim.openbsd.amsterdam 70 1diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c /git/stagit-gemini/file/stagit-gopher-index.c.gph thinkerwim.org 70 i@@ -214,10 +214,6 @@ main(int argc, char *argv[]) Err thinkerwim.openbsd.amsterdam 70 i git_libgit2_init(); Err thinkerwim.openbsd.amsterdam 70 i Err thinkerwim.openbsd.amsterdam 70 i #ifdef __OpenBSD__ Err thinkerwim.openbsd.amsterdam 70 i- for (i = 1; i < argc; i++) Err thinkerwim.openbsd.amsterdam 70 i- if (unveil(argv[i], "r") == -1) Err thinkerwim.openbsd.amsterdam 70 i- err(1, "unveil: %s", argv[i]); Err thinkerwim.openbsd.amsterdam 70 i- Err thinkerwim.openbsd.amsterdam 70 i if (pledge("stdio rpath", NULL) == -1) Err thinkerwim.openbsd.amsterdam 70 i err(1, "pledge"); Err thinkerwim.openbsd.amsterdam 70 i #endif Err thinkerwim.openbsd.amsterdam 70 .