Date: Sun, 22 Feb 2026 03:35:12 +0000 From: Enji Cooper <ngie@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: d7363dc7f22b - stable/15 - t_access.c: remove unnecessary local modification Message-ID: <699a7970.1fcc9.6fce5aaf@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=d7363dc7f22b0878829c160c97166de2f6a24369 commit d7363dc7f22b0878829c160c97166de2f6a24369 Author: Enji Cooper <ngie@FreeBSD.org> AuthorDate: 2026-02-15 19:39:10 +0000 Commit: Enji Cooper <ngie@FreeBSD.org> CommitDate: 2026-02-22 03:35:07 +0000 t_access.c: remove unnecessary local modification FreeBSD 11.x is no longer supported; there's no reason why the `FreeBSD_version__` check is still required (now). MFC after: 1 week (cherry picked from commit 35237ff9871478a92b34ced28a75487afd3562ff) --- contrib/netbsd-tests/lib/libc/sys/t_access.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contrib/netbsd-tests/lib/libc/sys/t_access.c b/contrib/netbsd-tests/lib/libc/sys/t_access.c index f973aba3fb4a..9c6dabc20d4c 100644 --- a/contrib/netbsd-tests/lib/libc/sys/t_access.c +++ b/contrib/netbsd-tests/lib/libc/sys/t_access.c @@ -31,10 +31,6 @@ #include <sys/cdefs.h> __RCSID("$NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $"); -#ifdef __FreeBSD__ -#include <sys/param.h> /* For __FreeBSD_version */ -#endif - #include <atf-c.h> #include <sys/stat.h> @@ -120,10 +116,6 @@ ATF_TC_HEAD(access_inval, tc) ATF_TC_BODY(access_inval, tc) { -#if defined(__FreeBSD__) && __FreeBSD_version < 1100033 - atf_tc_expect_fail("arguments to access aren't validated; see " - "bug # 181155 for more details"); -#endif errno = 0; ATF_REQUIRE(access("/usr", -1) != 0);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699a7970.1fcc9.6fce5aaf>
