Page MenuHomeFreeBSD

kern.mk: add per-file bounds-safety build knob
AcceptedPublic

Authored by abhijeetsharma2002_gmail.com on Aug 19 2026, 12:00 PM.
Tags
None
Referenced Files
F174740643: D58984.id184351.diff
Mon, Oct 5, 3:49 PM
F174740640: D58984.id184351.diff
Mon, Oct 5, 3:49 PM
Unknown Object (File)
Sat, Oct 3, 10:18 PM
Unknown Object (File)
Thu, Oct 1, 5:36 AM
Unknown Object (File)
Wed, Sep 30, 6:20 PM
Unknown Object (File)
Tue, Sep 29, 5:59 PM
Unknown Object (File)
Fri, Sep 18, 12:46 AM
Unknown Object (File)
Thu, Sep 17, 6:00 PM
Subscribers

Details

Reviewers
rpaulo
emaste
Summary

BOUNDS_SAFETY_FILES lists source basenames to compile with
-fbounds-safety; BOUNDS_SAFETY_SOFT additionally selects soft traps.
Empty by default, so this is inert until a file is opted in.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75737
Build 72620: arc lint + arc unit