Author: delphij
Date: Tue Apr 28 05:10:34 2020
New Revision: 360428
URL: https://svnweb.freebsd.org/changeset/base/360428
Log:
Do not overflow when calculating file system size.
Reported by: Hyeongseok Kim
Reviewed by: cem, Hyeongseok Kim
MFC after:3 days
Author: kevans
Date: Tue Apr 28 03:43:55 2020
New Revision: 360427
URL: https://svnweb.freebsd.org/changeset/base/360427
Log:
config.lua(8): catch up to recently added hooks
While we're here, let's stylize these as functions instead of just raw text.
A future change may allow arbitrary da
Author: kevans
Date: Tue Apr 28 02:13:17 2020
New Revision: 360425
URL: https://svnweb.freebsd.org/changeset/base/360425
Log:
config.lua(8): "may should" is not proper grammar
Reported by: rpokala
X-MFC-With: r360421
Modified:
head/stand/lua/config.lua.8
Modified: head/stand/lua/co
Author: rmacklem
Date: Tue Apr 28 02:11:02 2020
New Revision: 360424
URL: https://svnweb.freebsd.org/changeset/base/360424
Log:
Get rid of uio_XXX macros used for the Mac OS/X port.
The NFS code had a bunch of Mac OS/X accessor functions named uio_XXX
left over from the port to Mac OS/X.
Author: kevans
Date: Tue Apr 28 02:08:55 2020
New Revision: 360423
URL: https://svnweb.freebsd.org/changeset/base/360423
Log:
lualoader: cli: clobber loader_conf_files before proceeding
This makes sure that config.readConfFiles doesn't see a stale
loader_conf_files from before, in case th
Author: kevans
Date: Tue Apr 28 02:04:51 2020
New Revision: 360422
URL: https://svnweb.freebsd.org/changeset/base/360422
Log:
lualoader: cli: add read-conf
This is a straightforward match to the command used by many in forthloader;
it uses the newly-exported config.readConfFiles() to make
Author: kevans
Date: Tue Apr 28 02:03:03 2020
New Revision: 360421
URL: https://svnweb.freebsd.org/changeset/base/360421
Log:
lualoader: config: start exporting readConfFiles
In the process, change it slightly: readConfFiles will take a string like
loader_conf_files in addition to the loa
Author: kevans
Date: Tue Apr 28 01:39:34 2020
New Revision: 360420
URL: https://svnweb.freebsd.org/changeset/base/360420
Log:
lualoader config: don't call loader.getenv() as much
We don't actually need to fetch loader_conf_files as much as we do; we've
already fetched it once at the begin
Author: jhb
Date: Tue Apr 28 00:06:49 2020
New Revision: 360418
URL: https://svnweb.freebsd.org/changeset/base/360418
Log:
Bump __FreeBSD_version for KTLS RX support.
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
===
Author: jhb
Date: Mon Apr 27 23:59:42 2020
New Revision: 360417
URL: https://svnweb.freebsd.org/changeset/base/360417
Log:
Add support for KTLS RX over TOE to T6.
This largely reuses the TLS TOE support added in r330884. However,
this uses the KTLS framework in upstream OpenSSL rather th
Author: rmacklem
Date: Mon Apr 27 23:55:09 2020
New Revision: 360416
URL: https://svnweb.freebsd.org/changeset/base/360416
Log:
Fix sosend_generic() so that it can handle a list of ext_pgs mbufs.
Without this patch, sosend_generic() will try to use top->m_pkthdr.len,
assuming that the fir
Author: brooks
Date: Mon Apr 27 23:49:13 2020
New Revision: 360415
URL: https://svnweb.freebsd.org/changeset/base/360415
Log:
MFC r359978:
Fix -Wvoid-pointer-to-enum-cast warnings.
This pattern is used in callbacks with void * data arguments and seems
both relatively uncommon and rel
Author: brooks
Date: Mon Apr 27 23:47:40 2020
New Revision: 360414
URL: https://svnweb.freebsd.org/changeset/base/360414
Log:
MFC r359978:
Fix -Wvoid-pointer-to-enum-cast warnings.
This pattern is used in callbacks with void * data arguments and seems
both relatively uncommon and rel
Author: imp
Date: Mon Apr 27 23:43:04 2020
New Revision: 360410
URL: https://svnweb.freebsd.org/changeset/base/360410
Log:
Add flags sysctl to ada
Report the ada device flags like we do the da devices. No booleans
have (yet) been converted, but iomapped and rotating are planned.
Modified
Author: imp
Date: Mon Apr 27 23:43:17 2020
New Revision: 360413
URL: https://svnweb.freebsd.org/changeset/base/360413
Log:
Export the nda device's flags as a sysctl.
Modified:
head/sys/cam/nvme/nvme_da.c
Modified: head/sys/cam/nvme/nvme_da.c
==
Author: imp
Date: Mon Apr 27 23:43:08 2020
New Revision: 360411
URL: https://svnweb.freebsd.org/changeset/base/360411
Log:
Convert unmappedio over to a flag.
Make unmappedio a flag. Move it to the flags definition. Add compat
sysctl for it.
Modified:
head/sys/cam/ata/ata_da.c
Modified
Author: imp
Date: Mon Apr 27 23:43:12 2020
New Revision: 360412
URL: https://svnweb.freebsd.org/changeset/base/360412
Log:
Convert rotating to a flag bit.
Move rotating to a flag bit. Add bit definitions for it. Create a
compat sysctl for it.
Modified:
head/sys/cam/ata/ata_da.c
Modifi
Author: imp
Date: Mon Apr 27 23:39:32 2020
New Revision: 360409
URL: https://svnweb.freebsd.org/changeset/base/360409
Log:
Change the flags back to an enum
This was changed in the review process for the flags sysctl. The
reasons for the change are no longer valid as the code changed after
Author: jhb
Date: Mon Apr 27 23:17:19 2020
New Revision: 360408
URL: https://svnweb.freebsd.org/changeset/base/360408
Log:
Initial support for kernel offload of TLS receive.
- Add a new TCP_RXTLS_ENABLE socket option to set the encryption and
authentication algorithms and keys as well a
Author: kevans
Date: Mon Apr 27 22:50:08 2020
New Revision: 360407
URL: https://svnweb.freebsd.org/changeset/base/360407
Log:
MFC r357875: diff: fix segfault with --tabsize and no/malformed argument
--tabsize was previously listed as optional_argument, but didn't account for
the optionali
Author: kevans
Date: Mon Apr 27 22:50:08 2020
New Revision: 360407
URL: https://svnweb.freebsd.org/changeset/base/360407
Log:
MFC r357875: diff: fix segfault with --tabsize and no/malformed argument
--tabsize was previously listed as optional_argument, but didn't account for
the optionali
Author: kevans
Date: Mon Apr 27 22:43:24 2020
New Revision: 360406
URL: https://svnweb.freebsd.org/changeset/base/360406
Log:
MFC r360182-r360183: kqueue(2): add note about EV_RECEIPT
r360182:
kqueue(2): add a note about EV_RECEIPT
In the below-referenced PR, a case is attached of a
Author: kevans
Date: Mon Apr 27 22:43:24 2020
New Revision: 360406
URL: https://svnweb.freebsd.org/changeset/base/360406
Log:
MFC r360182-r360183: kqueue(2): add note about EV_RECEIPT
r360182:
kqueue(2): add a note about EV_RECEIPT
In the below-referenced PR, a case is attached of a
Author: kevans
Date: Mon Apr 27 22:34:45 2020
New Revision: 360405
URL: https://svnweb.freebsd.org/changeset/base/360405
Log:
MFC r356723-r356725: diff(1) return value checks
r356723:
mkstemp returns -1
r356724:
asprintf returns -1, not an arbitrary value < 0. Also upon error the
Author: kevans
Date: Mon Apr 27 22:33:32 2020
New Revision: 360404
URL: https://svnweb.freebsd.org/changeset/base/360404
Log:
MFC r356723-r356725, r357649, r357652: diff(1) catch-up
r356723:
mkstemp returns -1
r356724:
asprintf returns -1, not an arbitrary value < 0. Also upon erro
Author: kevans
Date: Mon Apr 27 22:32:16 2020
New Revision: 360403
URL: https://svnweb.freebsd.org/changeset/base/360403
Log:
MFC r360125: diff(1): reject conflicting formatting options
This matches GNU diff(1) behavior and, more importantly, eliminates any
source of confusion if multiple
Author: jhb
Date: Mon Apr 27 22:31:42 2020
New Revision: 360402
URL: https://svnweb.freebsd.org/changeset/base/360402
Log:
Add the initial sequence number to the TLS enable socket option.
This will be needed for KTLS RX.
Reviewed by: gallatin
Sponsored by: Chelsio Communications
D
Author: kevans
Date: Mon Apr 27 22:29:24 2020
New Revision: 360401
URL: https://svnweb.freebsd.org/changeset/base/360401
Log:
MFC r359953, r359980, r35: hostuuid preload
r359953:
kern uuid: break format validation out into a separate KPI
This new KPI, validate_uuid, strictly vali
Author: kevans
Date: Mon Apr 27 22:27:46 2020
New Revision: 360400
URL: https://svnweb.freebsd.org/changeset/base/360400
Log:
MFC r359954: sys/types.h: adjust #endif comment to match reality
Modified:
stable/12/sys/sys/types.h
Directory Properties:
stable/12/ (props changed)
Changes in o
Author: kevans
Date: Mon Apr 27 22:27:46 2020
New Revision: 360400
URL: https://svnweb.freebsd.org/changeset/base/360400
Log:
MFC r359954: sys/types.h: adjust #endif comment to match reality
Modified:
stable/11/sys/sys/types.h
Directory Properties:
stable/11/ (props changed)
Changes in o
Author: jhb
Date: Mon Apr 27 22:27:35 2020
New Revision: 360399
URL: https://svnweb.freebsd.org/changeset/base/360399
Log:
Update the cached MSI state when any MSI capability register is written.
bhyve uses cached copies of the MSI capability registers to generate
MSI interrupts for devic
Author: erj
Date: Mon Apr 27 22:02:44 2020
New Revision: 360398
URL: https://svnweb.freebsd.org/changeset/base/360398
Log:
iflib: Stop interface before (un)registering VLAN
This patch is intended to solve a specific problem that iavf(4)
encounters, but what it does can be extended to solv
Author: jhb
Date: Mon Apr 27 21:51:22 2020
New Revision: 360397
URL: https://svnweb.freebsd.org/changeset/base/360397
Log:
Retire the GENERICSF kernel config.
Now that hw.machine_arch handles soft-float vs hard-float there is no
longer a reason for this config.
Submitted by: mhorne (
Author: cperciva
Date: Mon Apr 27 21:44:02 2020
New Revision: 360396
URL: https://svnweb.freebsd.org/changeset/base/360396
Log:
Set use_nvd=0 in EC2 AMIs.
FreeBSD is in the process of switching from nvd(4) to nda(4) as the disk
device front-end to NVMe. Changing the default in the kernel
Author: kevans
Date: Mon Apr 27 21:41:00 2020
New Revision: 360395
URL: https://svnweb.freebsd.org/changeset/base/360395
Log:
MFC r353095, r355376: add root bundle
r353095:
caroot: commit initial bundle
Interested users can blacklist any/all of these with certctl(8), examples:
-
Author: kevans
Date: Mon Apr 27 21:41:00 2020
New Revision: 360395
URL: https://svnweb.freebsd.org/changeset/base/360395
Log:
MFC r353095, r355376: add root bundle
r353095:
caroot: commit initial bundle
Interested users can blacklist any/all of these with certctl(8), examples:
-
Author: kevans
Date: Mon Apr 27 21:39:01 2020
New Revision: 360394
URL: https://svnweb.freebsd.org/changeset/base/360394
Log:
MFC r360287: freebsd-update: rehash certs
With the inclusion of caroot bits, we'll need to also rehash on update as we
do in mergemaster/etcupdate.
If certctl
Author: kevans
Date: Mon Apr 27 21:39:01 2020
New Revision: 360394
URL: https://svnweb.freebsd.org/changeset/base/360394
Log:
MFC r360287: freebsd-update: rehash certs
With the inclusion of caroot bits, we'll need to also rehash on update as we
do in mergemaster/etcupdate.
If certctl
Author: jhb
Date: Mon Apr 27 21:19:46 2020
New Revision: 360393
URL: https://svnweb.freebsd.org/changeset/base/360393
Log:
MFC 350014: Add a test for PT_GET_SC_ARGS.
Modified:
stable/12/tests/sys/kern/ptrace_test.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/test
Author: jhb
Date: Mon Apr 27 20:37:11 2020
New Revision: 360392
URL: https://svnweb.freebsd.org/changeset/base/360392
Log:
MFC 350013: Don't pass error from syscallenter() to syscallret().
syscallret() doesn't use error anymore. Fix a few other places to permit
removing the return value
Author: kevans
Date: Mon Apr 27 19:49:35 2020
New Revision: 360391
URL: https://svnweb.freebsd.org/changeset/base/360391
Log:
MFC r359702, r359774: enforce -fno-common for userland/kernel src builds
r359702:
Add -fno-common to all userland/kernel src builds
-fno-common will become th
Author: kevans
Date: Mon Apr 27 19:29:48 2020
New Revision: 360390
URL: https://svnweb.freebsd.org/changeset/base/360390
Log:
MFC r359642: adduser: allow standard IFS characters in passwords
Notably, the default IFS contains space/tab, thus any leading/trailing
whitespace characters tend
Author: kevans
Date: Mon Apr 27 19:29:48 2020
New Revision: 360390
URL: https://svnweb.freebsd.org/changeset/base/360390
Log:
MFC r359642: adduser: allow standard IFS characters in passwords
Notably, the default IFS contains space/tab, thus any leading/trailing
whitespace characters tend
Author: jhb
Date: Mon Apr 27 18:04:42 2020
New Revision: 360388
URL: https://svnweb.freebsd.org/changeset/base/360388
Log:
Don't run strcmp() against strings stored in user memory.
Instead, copy the strings into a temporary buffer on the stack and
run strcmp on the copies.
Reviewed b
Author: jhb
Date: Mon Apr 27 17:55:40 2020
New Revision: 360387
URL: https://svnweb.freebsd.org/changeset/base/360387
Log:
Improve MACHINE_ARCH handling for hard vs soft-float on RISC-V.
For userland, MACHINE_ARCH reflects the current ABI via preprocessor
directives. For the kernel, the
Author: jhb
Date: Mon Apr 27 17:53:38 2020
New Revision: 360386
URL: https://svnweb.freebsd.org/changeset/base/360386
Log:
Extend support in sysctls for supporting multiple native ABIs.
This extends some of the changes in place to support reporting support
for 32-bit ABIs to permit report
Author: rrs
Date: Mon Apr 27 16:30:29 2020
New Revision: 360385
URL: https://svnweb.freebsd.org/changeset/base/360385
Log:
This change does a small prepratory step in getting the
latest rack and bbr in from the NF repo. When those come
in the OOB data handling will be fixed where Skyzaller c
Author: markj
Date: Mon Apr 27 16:12:32 2020
New Revision: 360384
URL: https://svnweb.freebsd.org/changeset/base/360384
Log:
Document handling of connection-mode sockets by sendto(2).
sendto(2), sendmsg(2) and sendmmsg(2) return ENOTCONN if a destination
address is specified and the socke
Author: kevans
Date: Mon Apr 27 16:11:59 2020
New Revision: 360383
URL: https://svnweb.freebsd.org/changeset/base/360383
Log:
MFC r340361, r345804: catch up on systat in head/
[Neither of these originally mine, but the latter commit referenced
fixes an -fno-common issue and the former is
Author: kevans
Date: Mon Apr 27 16:09:03 2020
New Revision: 360382
URL: https://svnweb.freebsd.org/changeset/base/360382
Log:
dtc: fix the -fno-common build
This is a direct commit to stable/12, as GPL dtc has been removed in head.
-fno-common will become the default in GCC10/LLVM11.
Author: markj
Date: Mon Apr 27 15:59:34 2020
New Revision: 360381
URL: https://svnweb.freebsd.org/changeset/base/360381
Log:
Add some regression tests for read and write kevents on pipes.
Submitted by: Jan Kokemüller
MFC after:2 weeks
Differential Revision:https://reviews.f
Author: markj
Date: Mon Apr 27 15:59:19 2020
New Revision: 360380
URL: https://svnweb.freebsd.org/changeset/base/360380
Log:
Fix handling of EV_EOF for named pipes.
Contrary to the kevent man page, EV_EOF on a fifo is not cleared by
EV_CLEAR. Modify the read and write filters to clear EV
Author: markj
Date: Mon Apr 27 15:59:07 2020
New Revision: 360379
URL: https://svnweb.freebsd.org/changeset/base/360379
Log:
Call pipeselwakeup() after toggling PIPE_EOF.
This ensures that pipe_poll() and the pipe kqueue filters observe
PIPE_EOF and set EV_EOF accordingly. As a result an
Author: markj
Date: Mon Apr 27 15:58:55 2020
New Revision: 360378
URL: https://svnweb.freebsd.org/changeset/base/360378
Log:
Avoid returning POLLIN if the pipe descriptor is not open for reading.
Submitted by: Jan Kokemüller
MFC after:2 weeks
Differential Revision:https://r
Author: hselasky
Date: Mon Apr 27 14:35:39 2020
New Revision: 360377
URL: https://svnweb.freebsd.org/changeset/base/360377
Log:
Add support for reading temperature in mlx5en(4).
MFC after:1 week
Sponsored by: Mellanox Technologies
Modified:
head/sys/dev/mlx5/mlx5_en/en.h
head/sys
Author: mav
Date: Mon Apr 27 14:03:24 2020
New Revision: 360376
URL: https://svnweb.freebsd.org/changeset/base/360376
Log:
MFC r360123: Allow namespace-id specification where it makes sense.
It makes tool more convenient to not require user to explicitly convert
namespace device name into
Author: mav
Date: Mon Apr 27 14:02:24 2020
New Revision: 360375
URL: https://svnweb.freebsd.org/changeset/base/360375
Log:
MFC r360117: Open device with O_RDONLY when command is non-invasive.
This allows to use some of the subcommands against mounted nvd devices.
Modified:
stable/12/sbin
Author: mjg
Date: Mon Apr 27 13:54:00 2020
New Revision: 360374
URL: https://svnweb.freebsd.org/changeset/base/360374
Log:
pwd: unbreak repeated calls to set_rootvnode
Prior to the change the once set pointer would never be updated.
Unbreaks reboot -r.
Reported by: Ross Gohlke
M
Author: markj
Date: Mon Apr 27 13:26:43 2020
New Revision: 360373
URL: https://svnweb.freebsd.org/changeset/base/360373
Log:
iwm: Print the command code for any unhandled commands.
Reported by: Marc Veldman
MFC after:1 week
Modified:
head/sys/dev/iwm/if_iwm.c
Modified: head/sys/
Author: afedorov
Date: Mon Apr 27 10:00:46 2020
New Revision: 360372
URL: https://svnweb.freebsd.org/changeset/base/360372
Log:
ng_eiface: fix kernel panic due to the racecondition in ng_eiface shutdown.
PR: 244247
Reported by: Vladislav V. Prodan
Reviewed by: vmaffione, lu
Author: 0mp (doc,ports committer)
Date: Mon Apr 27 09:45:19 2020
New Revision: 360371
URL: https://svnweb.freebsd.org/changeset/base/360371
Log:
MFC 360284:
Fix a typo
Reported by: pstef
Modified:
stable/12/lib/libc/sys/procctl.2
Directory Properties:
stable/12/ (props changed)
Author: 0mp (doc,ports committer)
Date: Mon Apr 27 09:44:37 2020
New Revision: 360370
URL: https://svnweb.freebsd.org/changeset/base/360370
Log:
MFC 360284:
Fix a typo
Reported by: pstef
Modified:
stable/11/lib/libc/sys/procctl.2
Directory Properties:
stable/11/ (props changed)
Author: takawata
Date: Mon Apr 27 09:13:22 2020
New Revision: 360369
URL: https://svnweb.freebsd.org/changeset/base/360369
Log:
Resolve vendor id to string.
Modified:
head/usr.sbin/bluetooth/hccontrol/node.c
Modified: head/usr.sbin/bluetooth/hccontrol/node.c
=
63 matches
Mail list logo