<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/bsdiff/bspatch, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-10-03T13:02:04Z</updated>
<entry>
<title>MFC r352742: bspatch: add integer overflow checks</title>
<updated>2019-10-03T13:02:04Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-10-03T13:02:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4f0867c3511080b31f8d4443af69786b76e74aa5'/>
<id>urn:sha1:4f0867c3511080b31f8d4443af69786b76e74aa5</id>
<content type='text'>
Introduce a new add_off_t static function that exits with an error
message if there's an overflow, otherwise returns their sum.  Use this
when adding values obtained from the input patch.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r350108: Remove support for FreeBSD 10.x.</title>
<updated>2019-08-17T01:49:57Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2019-08-17T01:49:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e6ce4dada9ed6c6daac95665e794c0eac4b8ff8f'/>
<id>urn:sha1:e6ce4dada9ed6c6daac95665e794c0eac4b8ff8f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>various: general adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:37:16Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:37:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1de7b4b805ddbf2429da511c053686ac4591ed89'/>
<id>urn:sha1:1de7b4b805ddbf2429da511c053686ac4591ed89</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>urn:sha1:ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>bspatch: Remove backwards-compatibility sys/capability.h support</title>
<updated>2016-09-20T15:13:15Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-09-20T15:13:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=23648b7d730bcb5cd0ed1bc061ac18387545f814'/>
<id>urn:sha1:23648b7d730bcb5cd0ed1bc061ac18387545f814</id>
<content type='text'>
bspatch previously included sys/capability.h or sys/capsicum.h based
on __FreeBSD_version, as FreeBSD is the upstream for bsdiff and we may
see this file incorporated into other third-party software.

The Capsicum header is now installed as sys/capsicum.h in stable/10 and
FreeBSD 10.3, so we can just use sys/capsicum.h and simplify the logic.

Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D7954
</content>
</entry>
<entry>
<title>bspatch: use #define for header size instead of magic number</title>
<updated>2016-09-15T01:58:12Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-09-15T01:58:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d9f0e4d7002c17c353a39ee440439eefc0f2f6a'/>
<id>urn:sha1:6d9f0e4d7002c17c353a39ee440439eefc0f2f6a</id>
<content type='text'>
Reviewed by:	allanjude, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7861
</content>
</entry>
<entry>
<title>bspatch: remove superfluous newlines from errx strings</title>
<updated>2016-09-12T14:28:38Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-09-12T14:28:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=04708d25e0f89d975f40757248bade347d5dc994'/>
<id>urn:sha1:04708d25e0f89d975f40757248bade347d5dc994</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bspatch: add sanity checks on sizes to avoid integer overflow</title>
<updated>2016-09-06T19:00:37Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-09-06T19:00:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e3d9ae4c56e15404846e4cb3360394a0a36cec23'/>
<id>urn:sha1:e3d9ae4c56e15404846e4cb3360394a0a36cec23</id>
<content type='text'>
Note that this introduces an explicit 2GB limit, but this was already
implicit in variable and function argument types.

This is based on the "non-cryptanalytic attacks against freebsd
update components" anonymous gist. Further refinement is planned.

Reviewed by:	allanjude, cem, kib
Obtained from:	anonymous gist
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7619
</content>
</entry>
<entry>
<title>bspatch: remove output file in the case of error</title>
<updated>2016-08-25T21:33:39Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-08-25T21:33:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=06ce2764a5176551706320db14f405e6b9641b8c'/>
<id>urn:sha1:06ce2764a5176551706320db14f405e6b9641b8c</id>
<content type='text'>
Reviewed by:	oshogbo
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7644
</content>
</entry>
<entry>
<title>Capsicumize bspatch</title>
<updated>2016-08-25T15:08:33Z</updated>
<author>
<name>Allan Jude</name>
<email>allanjude@FreeBSD.org</email>
</author>
<published>2016-08-25T15:08:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76723b39ca2fd613243b4622588cb43cd32df203'/>
<id>urn:sha1:76723b39ca2fd613243b4622588cb43cd32df203</id>
<content type='text'>
Move all of the fopen() and open() calls to the top of main()

Restrict each FD to least privilege (read/seek only, write only, etc)

cap_enter(), and make all except the output FD read/seek only.

Reviewed by:	emaste, ed, oshogbo, delphij
Approved by:	so
MFC after:	3 days
Relnotes:	yes
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D7358
</content>
</entry>
</feed>
