<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/usr.bin/elfctl, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-12-18T23:14:39Z</updated>
<entry>
<title>Add ELF flag to disable ASLR stack gap.</title>
<updated>2020-12-18T23:14:39Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-12-18T23:14:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=673e2dd652156342009930cf1f7d15623e4a543a'/>
<id>urn:sha1:673e2dd652156342009930cf1f7d15623e4a543a</id>
<content type='text'>
Also centralize and unify checks to enable ASLR stack gap in a new
helper exec_stackgap().

PR:	239873
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
</content>
</entry>
<entry>
<title>Reserve FreeBSD ELF feature control bit LA48 to control VA layout on amd64.</title>
<updated>2020-08-23T19:47:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-08-23T19:47:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bc6f027a39c4c7c2758de8f9d185653cad757784'/>
<id>urn:sha1:bc6f027a39c4c7c2758de8f9d185653cad757784</id>
<content type='text'>
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D25273
</content>
</entry>
<entry>
<title>elfctl: update earliest FreeBSD revision to 12.2</title>
<updated>2020-05-05T21:50:52Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-05-05T21:50:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4ac4a7f80b2be339371421b9972535ae5fc473d4'/>
<id>urn:sha1:4ac4a7f80b2be339371421b9972535ae5fc473d4</id>
<content type='text'>
elfctl has been merged to stable/12, and so will appear in FreeBSD 12.2

Reported by:	Dewayne Geraghty
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>elfctl: remove memory leak</title>
<updated>2020-03-11T13:51:01Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-11T13:51:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b7a9e9d6b2b0e87520aaffbf03a925ee402c2987'/>
<id>urn:sha1:b7a9e9d6b2b0e87520aaffbf03a925ee402c2987</id>
<content type='text'>
CID:		1420356
Reported by:	Coverity Scan
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Reserve WXNEEDED ELF feature control flag</title>
<updated>2020-03-04T18:21:30Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-04T18:21:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d06e23f9d9dd0d5a4c205d7a0e6413c5d998a390'/>
<id>urn:sha1:d06e23f9d9dd0d5a4c205d7a0e6413c5d998a390</id>
<content type='text'>
This will be used to tag binaries that require W+X mappings, in advance
of the ability to prevent W^X in mmap/mprotect.

There is still some discussion about the flag's name, but the ABI won't
change even if the name does (as kib pointed out in the review).

Reviewed by:	csjp, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D23909
</content>
</entry>
<entry>
<title>elfctl: check read return value</title>
<updated>2020-03-04T16:57:23Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-04T16:57:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=76cd520d45d35cf485d4deeb148842ae6249107a'/>
<id>urn:sha1:76cd520d45d35cf485d4deeb148842ae6249107a</id>
<content type='text'>
CID:		1420212, 1420213
Reported by:	Coverity Scan
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>elfctl: style(9): use C99 uintX_t types</title>
<updated>2020-03-04T16:53:49Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-04T16:53:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=87a920c06594e5f02a3fbbd52db3e5a0c2021a9a'/>
<id>urn:sha1:87a920c06594e5f02a3fbbd52db3e5a0c2021a9a</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>elfctl: tiny style(9) cleanup, use bool where appropriate</title>
<updated>2020-03-02T14:34:26Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-02T14:34:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ba6d70a06504b0547fc3f927399598fe8afb73cb'/>
<id>urn:sha1:ba6d70a06504b0547fc3f927399598fe8afb73cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>elfctl: initialize features</title>
<updated>2020-03-02T04:22:38Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-03-02T04:22:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=fdafb99d81ae0ee65863ba6c419c50b7a39d5b51'/>
<id>urn:sha1:fdafb99d81ae0ee65863ba6c419c50b7a39d5b51</id>
<content type='text'>
GCC points out a couple levels down in convert_to_features that this may be
used uninitialized. Indeed, this is true- initialize it to NULL so that we
at least deref a null pointer.
</content>
</entry>
<entry>
<title>Move ELF feature note tool to usr.bin/elfctl</title>
<updated>2020-03-02T02:36:41Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2020-03-02T02:36:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=79bfb05b074873a2c02f0733456ecf269656bef6'/>
<id>urn:sha1:79bfb05b074873a2c02f0733456ecf269656bef6</id>
<content type='text'>
elfctl is a tool for modifying the NT_FREEBSD_FEATURE_CTL ELF note,
which contains a set of flags for enabling or disabling vulnerability
mitigations and other features.

Reviewed by:	csjp, kib
MFC after:	2 weeks
Relnotes:	Yes
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D23910
</content>
</entry>
</feed>
