NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60858 CVS commit: src/share/mk



The following reply was made to PR lib/60858; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60858 CVS commit: src/share/mk
Date: Mon, 19 Oct 2026 18:33:40 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Mon Oct 19 18:33:40 UTC 2026
 
 Modified Files:
 	src/share/mk: bsd.own.mk
 
 Log Message:
 hppa: Enable fortify/ssp in userland for progs/libs that opt into it.
 
 The `ssp' part doesn't actually do much (and really I'm not sure why
 these options are mixed together) because hppa stack grows up, so
 writing past the end of an array won't overwrite the return address,
 so stack smashing in this way is extremely unlikely.  But the
 `fortify' part, which instruments functions like memcpy/read/getcwd
 with bounds checks where statically known, is still useful to catch
 buffer overruns.
 
 ok `I guess' nick@
 
 PR lib/60858: fortuitous embarrassment: fortify is all kinds of busted
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.1490 -r1.1491 src/share/mk/bsd.own.mk
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index