URI: 
       tfix unveil, the permissions parameter is mandatory - vote - simple cgi voting system for web and gopher
  HTML git clone git://src.adamsgaard.dk/vote
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit b0c8f6f22789317760958fec93e974faea523241
   DIR parent e1ed36fc26b81cb79ca811aeec29e844e4115d40
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun,  4 Oct 2020 15:52:13 +0200
       
       fix unveil, the permissions parameter is mandatory
       
       Signed-off-by: Anders Damsgaard <anders@adamsgaard.dk>
       
       Diffstat:
         M vote.c                              |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/vote.c b/vote.c
       t@@ -433,7 +433,7 @@ main()
                const char *errstr;
                struct stat sb;
        
       -        if (unveil(getenv("PWD"), NULL) == -1 || unveil(NULL, NULL) == -1) {
       +        if (unveil(POLLS_DIR, "rwc") == -1) {
                        http_status(500);
                        err(1, "unveil");
                }