Edit

IABSD.fr/ports/sysutils/rset/patches

Branch :

  • Show log

    Commit

  • Author : op
    Date : 2026-03-04 09:39:52
    Hash : 072081bb
    Message : sysutils/rset: backport upstream diff for tmppath removal prodded by tb@, thanks!

  • patch-rset_c
  • replace tmppath pledge with wpath cpath
    
    from upstream, commit 91c6865f52
    
    Index: rset.c
    --- rset.c.orig
    +++ rset.c
    @@ -179,7 +179,7 @@ main(int argc, char *argv[]) {
     	/* select a port to communicate on */
     	http_port = get_socket();
     
    -	if (pledge("stdio rpath proc exec unveil tmppath", NULL) == -1)
    +	if (pledge("stdio rpath wpath cpath proc exec unveil", NULL) == -1)
     		err(1, "pledge");
     
     	/* main loop */