Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   riastradh
Date:           Tue Jun 23 15:52:58 UTC 2026

Modified Files:
        src/external/bsd/libarchive/dist/test_utils: test_main.c
        src/tests/usr.bin/cpio: t_cpio.sh

Log Message:
libarchive: Fix cpio(1) tests.

1. When dropping privileges, setegid to the _gid_ of user `nobody',
   not to the _uid_ of user `nobody'.

2. In the test, grant that user access to the atf test working
   directory so it can execute the `bsdcpio' symlink we create in
   order to get argv[0] set appropriately for the error messages that
   the test checks for.

PR bin/60353: cpio(1): tests are failing to run at all


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    src/external/bsd/libarchive/dist/test_utils/test_main.c
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/cpio/t_cpio.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index