[Bug 294881] test failures with FORTIFY_SOURCE=2
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 294881] test failures with FORTIFY_SOURCE=2"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 May 2026 02:59:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294881
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=910f78a5143af32dfcb237a463397aa0c31c07df
commit 910f78a5143af32dfcb237a463397aa0c31c07df
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2026-05-01 02:57:51 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2026-05-01 02:58:48 +0000
tests: fix remaining test failures under _FORTIFY_SOURCE
The getgroups test is a NetBSD tests, so just apply our larger hammer
and disable the feature entirely. The audit test can take a more
surgical approach and use __ssp_real() appropriately, since it's a local
one.
PR: 294881
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56735
include/ssp/stdio.h | 7 +++++++
lib/libc/tests/sys/Makefile | 1 +
tests/sys/audit/network.c | 4 +++-
3 files changed, 11 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.