Date: Sat, 30 Mar 2019 01:14:15 +0000 (UTC) From: Enji Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r345724 - projects/capsicum-test/tests/sys/capsicum Message-ID: <201903300114.x2U1EFmJ098566@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Mar 30 01:14:15 2019 New Revision: 345724 URL: https://svnweb.freebsd.org/changeset/base/345724 Log: Fix an item and run more tests First off, the BINMODE for mini-me.setuid should be 04555, not 04444. The latter mode is not executable, so mini-me.setuid would do the wrong thing by failing to run. There's probably a capsicum-test bug buried in here. Second off, some of the *[Fe|E]xecve tests are skipped if run as root. In order to ensure these tests aren't skipped, run them as an unprivileged user. Modified: projects/capsicum-test/tests/sys/capsicum/Makefile Modified: projects/capsicum-test/tests/sys/capsicum/Makefile ============================================================================== --- projects/capsicum-test/tests/sys/capsicum/Makefile Sat Mar 30 00:57:33 2019 (r345723) +++ projects/capsicum-test/tests/sys/capsicum/Makefile Sat Mar 30 01:14:15 2019 (r345724) @@ -35,6 +35,7 @@ SRCS.capsicum-test+= \ rename.cc LIBADD.capsicum-test+= gtest pthread +TEST_METADATA.capsicum-test= required_user="unprivileged" .for p in mini-me mini-me.noexec mini-me.setuid PROGS+= $p @@ -45,7 +46,7 @@ SRCS.$p= mini-me.c BINDIR= ${TESTSDIR} BINMODE.mini-me.noexec= ${NOBINMODE} -BINMODE.mini-me.setuid= 4444 +BINMODE.mini-me.setuid= 4555 WARNS.capsicum-test= 3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903300114.x2U1EFmJ098566>