CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2023/11/09 11:54:15
Modified files: bin/pax : ar_io.c pax.c Log message: Tighten pledge in List and Append mode: Drop "wpath cpath fattr dpath" in read-only: - cpio -i -t < test.tar - pax < test.tar - tar -t -f test.tar Drop "cpath fattr dpath" in read-write: - echo foo | cpio -o -A -H ustar -O test.tar - tar -r -f test.tar foo - pax -w -a -f test.tar foo Other modes remain unchanged and thus can create or modify files. Feedback OK millert