]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
build: initialize stack variables to zero by default
authorDarrick J. Wong <djwong@kernel.org>
Tue, 14 Jan 2025 17:47:07 +0000 (09:47 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 23 Jan 2025 21:19:53 +0000 (13:19 -0800)
commit5d06784664f0c391d74ff11af207131b67f635eb
treef53592248e77492be23d27338046178bf6993667
parent90cf7a743b85f4e7b4a5032d9575a5c04dcfe457
build: initialize stack variables to zero by default

Newer versions of gcc and clang can include the ability to zero stack
variables by default.  Let's enable it so that we (a) reduce the risk of
writing stack contents to disk somewhere and (b) try to reduce
unpredictable program behavior based on random stack contents.  The
kernel added this 6 years ago, so I think it's mature enough for
fstests.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
configure.ac
include/builddefs.in
m4/package_libcdev.m4