git: 35237ff98714 - main - t_access.c: remove unnecessary local modification
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Feb 2026 19:40:16 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=35237ff9871478a92b34ced28a75487afd3562ff
commit 35237ff9871478a92b34ced28a75487afd3562ff
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-02-15 19:39:10 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-02-15 19:40:00 +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
---
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);