r327961 tuexen Jan. 14, 2018, 9:51 a.m.
This makes truss work on readv() as expected.
ViewVC
r327958 bryanv Jan. 14, 2018, 6:03 a.m.
r327954 jeff Jan. 14, 2018, 3:36 a.m.
Sponsored by:	Netflix, Dell/EMC Isilon
Discussed with:	jhb
ViewVC
r327953 pfg Jan. 14, 2018, 12:31 a.m.
Reported by:	Cy Schubert
ViewVC
r327952 dim Jan. 14, 2018, 12:08 a.m.
6.0.0 (branches/release_60 r321788).  Upstream has branched for the
6.0.0 release, which should be in about 6 weeks.  Please report bugs and
regressions, so we can get them into the release.

Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11
support to build; see UPDATING for more information.

MFC after:	3 months
ViewVC
r327951 n_hibma Jan. 13, 2018, 11:31 p.m.
Submitted by:	Samuel Crookes
MFC after:	3 days
ViewVC
r327950 nwhitehorn Jan. 13, 2018, 11:14 p.m.
using a new macro PHYS_TO_DMAP, which deliberately has the same name as the
equivalent macro on amd64. This also sets the stage for moving the direct
map to another base address.
ViewVC
r327949 pfg Jan. 13, 2018, 10:30 p.m.
Focus on code where we are doing multiplications within malloc(9). None of
these is likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.
ViewVC
r327948 bryanv Jan. 13, 2018, 9:39 p.m.
Since we have no control over the name, the MAKEDEV_CHECKNAME flag must be
used to return an error on an invalid (to devfs) name instead of panicing.

r305900 that originally added this feature also introduced a few other bugs:
  - Proper locking not performed
  - Theoretically broke the expectation that the control event buffer would
    not span more than one pages, but did not update the CTASSERT that was
    in place to prevent this. However, since the struct virtio_console_control
    and the bulk buffer together were quite small, this could not have happened.

Also workaround an QEMU VirtIO spec violation in that it includes the NUL
terminator in the buffer length when the spec says it is not included.

PR:		223531
MFC after:	1 week
ViewVC
r327947 eadler Jan. 13, 2018, 9:37 p.m.
PR:		225147
MFC After:	1 week
ViewVC
r327946 eadler Jan. 13, 2018, 9:36 p.m.
Submitted by:	yuri
PR:		225147
MFC After:	1 week
ViewVC
r327943 jhibbits Jan. 13, 2018, 9:10 p.m.
The extra headers came through evolution of the file.
ViewVC
r327941 eadler Jan. 13, 2018, 8:35 p.m.
r327940 pfg Jan. 13, 2018, 7:02 p.m.
This is in contrib code but since we only have mallocarray(9) in current
we will not upstream this.

This effectively brings back r327934, which was reverted to correct the
log message.
ViewVC
r327939 kevans Jan. 13, 2018, 7:02 p.m.