<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin, 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-04-25T18:58:38Z</updated>
<entry>
<title>MFC r333007</title>
<updated>2018-04-25T18:58:38Z</updated>
<author>
<name>Benno Rice</name>
<email>benno@FreeBSD.org</email>
</author>
<published>2018-04-25T18:58:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=03f6d470eda56e7a262ed6924c50085eddbe52a8'/>
<id>urn:sha1:03f6d470eda56e7a262ed6924c50085eddbe52a8</id>
<content type='text'>
 Update release version of FreeBSD.

Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>MFC r332436, r332440</title>
<updated>2018-04-24T17:53:27Z</updated>
<author>
<name>Benno Rice</name>
<email>benno@FreeBSD.org</email>
</author>
<published>2018-04-24T17:53:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=360e0a48a65f4ed6b9f13a72cdbf5dedf25e1505'/>
<id>urn:sha1:360e0a48a65f4ed6b9f13a72cdbf5dedf25e1505</id>
<content type='text'>
r332436:
 Add the ability to specify absolute and relative offsets to size partitions.

 To create hybrid boot media we want to specify a partition at a known location.
 This extends the syntax of size partitions to include an optional offset that
 can be absolute or relative. It also introduces validation to make sure that
 this hasn't resulted in overlapping partitions. I haven't added this to the
 file and process partition specifications yet but the mechanics are designed
 such that if someone comes up with a good way of specifying the offset it
 will be fairly easy to add in.

r332440:
 Fix a conditional that got mucked up.

Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>Actually MFC r331949, r332437, r332438</title>
<updated>2018-04-24T17:35:13Z</updated>
<author>
<name>Benno Rice</name>
<email>benno@FreeBSD.org</email>
</author>
<published>2018-04-24T17:35:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5432c95e6da255abf5be62f8709193517593387e'/>
<id>urn:sha1:5432c95e6da255abf5be62f8709193517593387e</id>
<content type='text'>
(Previous commit didn't have new files added.)

r331949:
 Add the etdump utility for dumping El Torito boot catalog information.

 This can be used to check existing images but will be used in the future to
 find EFI ESP images placed in El Torito catalogs so they can be used for
 hybrid boot purposes.

r332427:
 Check the return value of fseek.

r332438:
 Remove a debugging printf that crept in.

Sponsored by:	iXsystems, Inc.
Pointy hat to:	benno
</content>
</entry>
<entry>
<title>MFC r331949, r332437, r332438</title>
<updated>2018-04-24T17:33:30Z</updated>
<author>
<name>Benno Rice</name>
<email>benno@FreeBSD.org</email>
</author>
<published>2018-04-24T17:33:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=285fa85f46846cfa696284d1e87f54ae588ff8df'/>
<id>urn:sha1:285fa85f46846cfa696284d1e87f54ae588ff8df</id>
<content type='text'>
r331949:
 Add the etdump utility for dumping El Torito boot catalog information.

 This can be used to check existing images but will be used in the future to
 find EFI ESP images placed in El Torito catalogs so they can be used for
 hybrid boot purposes.

r332427:
 Check the return value of fseek.

r332438:
 Remove a debugging printf that crept in.

Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>MFC r332414:</title>
<updated>2018-04-21T09:58:00Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2018-04-21T09:58:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8c797bab9ec395a9c1a99ddf2872bba17c99bfa0'/>
<id>urn:sha1:8c797bab9ec395a9c1a99ddf2872bba17c99bfa0</id>
<content type='text'>
Regenerate clang man page after upstream change to document the possible
values for the -std= option.

Noticed by:	Steve Kargl
Obtained from:	https://reviews.llvm.org/rL329827
</content>
</entry>
<entry>
<title>MFC r332353:</title>
<updated>2018-04-16T21:22:12Z</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2018-04-16T21:22:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=334a8df1bb4b3d22c46ba49a3012609c2494ecb3'/>
<id>urn:sha1:334a8df1bb4b3d22c46ba49a3012609c2494ecb3</id>
<content type='text'>
Don't show the number of currently established SCTP associations,
since this is not monotonically increasing. It's number can be
derived from the other counters shown.
</content>
</entry>
<entry>
<title>MFC r330741:</title>
<updated>2018-04-16T17:22:09Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-04-16T17:22:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=215fefb49a24ae8b53236cc36c6e7b94a0f48f80'/>
<id>urn:sha1:215fefb49a24ae8b53236cc36c6e7b94a0f48f80</id>
<content type='text'>
Make iscsictl(1) display "Disabled" status for disabled sessions.
</content>
</entry>
<entry>
<title>MFC r330024:</title>
<updated>2018-04-16T17:18:06Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2018-04-16T17:18:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c5b0de3f825fe407035ccb202f9bfa983094886'/>
<id>urn:sha1:5c5b0de3f825fe407035ccb202f9bfa983094886</id>
<content type='text'>
.Xr rctl(8) and cpuset(1).

PR:		225935
</content>
</entry>
<entry>
<title>MFC r330710, r330718-r330720</title>
<updated>2018-04-16T16:33:35Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-04-16T16:33:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c062746a7420cf34c10611c0fef374aceee2de6f'/>
<id>urn:sha1:c062746a7420cf34c10611c0fef374aceee2de6f</id>
<content type='text'>
r330710:
tftpd: Flush files as soon as they are fully received

On an RRQ, tftpd doesn't exit as soon as it's finished receiving a file.
Instead, it waits five seconds just in case the client didn't receive the
server's last ACK and decides to resend the final DATA packet.
Unfortunately, this created a 5 second delay from when the client thinks
it's done sending the file, and when the file is available for other
processes.

Fix this bug by closing the file as soon as receipt is finished.

PR:			157700
Reported by:		Barry Mishler &lt;barry_mishler@yahoo.com&gt;

r330718:
tftpd: Verify world-writability for WRQ when using relative paths

tftpd(8) says that files may only be written if they already exist and are
publicly writable.  tftpd.c verifies that a file is publicly writable if it
uses an absolute pathname.  However, if the pathname is relative, that check
is skipped.  Fix it.

Note that this is not a security vulnerability, because the transfer
ultimately doesn't work unless the file already exists and is owned by user
nobody.  Also, this bug does not affect the default configuration, because
the default uses the "-s" option which makes all pathnames absolute.

PR:		226004

r330719:
tftpd: Abort on an WRQ access violation

On a WRQ (write request) tftpd checks whether the client has access
permission for the file in question.  If not, then the write is prevented.
However, tftpd doesn't reply with an ERROR packet, nor does it abort.
Instead, it tries to receive the packet anyway.

The symptom is slightly different depending on the nature of the error.  If
the target file is nonexistent and tftpd lacks permission to create it, then
tftpd will willingly receive the file, but not write it anywhere.  If the
file exists but is not writable, then tftpd will fail to ACK to WRQ.

PR:		225996

r330720:
tftpd: reject unknown opcodes

If tftpd receives a command with an unknown opcode, it simply exits 1.  It
doesn't send an ERROR packet, and the client will hang waiting for one.  Fix
it.

PR:		226005
</content>
</entry>
<entry>
<title>MFC r329606:</title>
<updated>2018-04-16T16:20:39Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-04-16T16:20:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dea26a2778d1d7fb9e0b59dd1adf8e05de1b0b9f'/>
<id>urn:sha1:dea26a2778d1d7fb9e0b59dd1adf8e05de1b0b9f</id>
<content type='text'>
tail: fix "tail -r" for piped input that begins with '\n'

A subtle logic bug, probably introduced in r311895, caused tail to print the
first two lines of piped input in forward order, if the very first character
was a newline.

PR:		222671
Reported by:	Jim Long &lt;freebsd-bugzilla@umpquanet.com&gt;, pprocacci@gmail.com
Sponsored by:	Spectra Logic Corp
</content>
</entry>
</feed>
