<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/bsdiff, branch upstream/11.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F11.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-03-05T07:26:05Z</updated>
<entry>
<title>MFC r326276:</title>
<updated>2018-03-05T07:26:05Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-05T07:26:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=25d4b2c1b89d42d752e23f9935692f481cb272ea'/>
<id>urn:sha1:25d4b2c1b89d42d752e23f9935692f481cb272ea</id>
<content type='text'>
various: general adoption of SPDX licensing ID tags.

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>MFC r315170:</title>
<updated>2017-05-30T04:27:05Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-05-30T04:27:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fde48e2e4b01375fa3ff39d5a82ffdbb086d4daf'/>
<id>urn:sha1:fde48e2e4b01375fa3ff39d5a82ffdbb086d4daf</id>
<content type='text'>
r315170 (by imp):

Adopt SRCTOP in usr.bin

Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo
over ${.CURDIR}/../foo for paths in Makefiles.

Silence on:		arch@ (twice)
</content>
</entry>
<entry>
<title>MFC r303285:</title>
<updated>2016-12-11T06:08:01Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2016-12-11T06:08:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=47cbc9f0fd9d9b8343d8fec3fe9f0f4f3d3fd943'/>
<id>urn:sha1:47cbc9f0fd9d9b8343d8fec3fe9f0f4f3d3fd943</id>
<content type='text'>
Change bsdiff to use divsufsort suffix sort library instead of qsufsort,
which is more efficient.

Note that for now we do not create a separate library for libdivsufsort
because it's not used anywhere else.

Obtained from:        Chromium
</content>
</entry>
<entry>
<title>MFC bspatch Capsicumization, sanity checks, and other improvements</title>
<updated>2016-09-22T21:05:21Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2016-09-22T21:05:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef4b7f1de7bcdf2859bb769f1ee354bdff2ad8ba'/>
<id>urn:sha1:ef4b7f1de7bcdf2859bb769f1ee354bdff2ad8ba</id>
<content type='text'>
r304691: bspatch: apply style(9)

Make style changes (and trivial refactoring of open calls) now in order
to reduce noise in diffs for future capsicum changes.

r304807 (allanjude): Capsicumize bspatch

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.

r304821: bspatch: remove output file in the case of error

r305486: bspatch: add sanity checks on sizes to avoid integer overflow

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.

r305737: bspatch: remove superfluous newlines from errx strings

r305822: bspatch: use #define for header size instead of magic number

r306026: bspatch: Remove backwards-compatibility sys/capability.h support

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.
</content>
</entry>
<entry>
<title>Fix bspatch heap overflow vulnerability.</title>
<updated>2016-07-25T14:52:12Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2016-07-25T14:52:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b02c62a3c7d1f97d30d17c9a21bcbdbf49124b0f'/>
<id>urn:sha1:b02c62a3c7d1f97d30d17c9a21bcbdbf49124b0f</id>
<content type='text'>
Obtained from:	Chromium
Reported by:	Lu Tung-Pin
Security:	FreeBSD-SA-16:25.bspatch
Approved by:	re (so@ blanket)
</content>
</entry>
<entry>
<title>Cleanup unnecessary semicolons from utilities we all love.</title>
<updated>2016-04-15T22:31:22Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-15T22:31:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079'/>
<id>urn:sha1:80c7cc1c8f027fcf5d5f0a2df4b9aef6904ed079</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Check for (old|new)size + 1 overflows off_t.</title>
<updated>2015-11-03T17:27:24Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2015-11-03T17:27:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0755c175008c946986457706950acadf9d762458'/>
<id>urn:sha1:0755c175008c946986457706950acadf9d762458</id>
<content type='text'>
PR:     204230
MFC after:      1 week
</content>
</entry>
<entry>
<title>Use meaningful errno for ssize_t overflow in read().</title>
<updated>2015-11-03T09:50:10Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2015-11-03T09:50:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f94ce2876bc295ec05b664711b7d807c134bc31'/>
<id>urn:sha1:8f94ce2876bc295ec05b664711b7d807c134bc31</id>
<content type='text'>
Catch size_t overflow in malloc().

PR:     204230
MFC after:      1 week
</content>
</entry>
<entry>
<title>Add META_MODE support.</title>
<updated>2015-06-13T19:20:56Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-13T19:20:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ccfb965433c67f3bda935a3cdf334be2e3c4348d'/>
<id>urn:sha1:ccfb965433c67f3bda935a3cdf334be2e3c4348d</id>
<content type='text'>
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision:       D2796
Reviewed by: brooks imp
</content>
</entry>
<entry>
<title>dirdeps.mk now sets DEP_RELDIR</title>
<updated>2015-06-08T23:35:17Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2015-06-08T23:35:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=44d314f704764f0247a540648a4b4fc3e8012133'/>
<id>urn:sha1:44d314f704764f0247a540648a4b4fc3e8012133</id>
<content type='text'>
</content>
</entry>
</feed>
