Author: scottl
Date: Fri Dec 13 06:54:41 2019
New Revision: 355701
URL: https://svnweb.freebsd.org/changeset/base/355701
Log:
Merge r355134,355375,355589
Clean up and clarify meta commentary on TAA. Add a state to denote
that TSX doesn't exist on the CPU.
x86: Add missed break to
Author: cem
Date: Fri Dec 13 05:54:38 2019
New Revision: 355700
URL: https://svnweb.freebsd.org/changeset/base/355700
Log:
ntpd(8): Don't use OpenSSL's RAND API
The !USE_OPENSSL_CRYPTO_RAND path uses arc4random_buf() correctly.
In general, we should prefer to avoid things OpenSSL does
Author: cem
Date: Fri Dec 13 05:42:57 2019
New Revision: 355699
URL: https://svnweb.freebsd.org/changeset/base/355699
Log:
libtelnet: Replace bogus use of srandomdev + random to generate "public key
pair"
I'm pretty skeptical that any crypto in telnet is worth using, but if we're
Author: scottl
Date: Fri Dec 13 05:29:26 2019
New Revision: 355698
URL: https://svnweb.freebsd.org/changeset/base/355698
Log:
Merge r355134,355375,355589
Clean up and clarify meta commentary on TAA. Add a state to denote
that TSX doesn't exist on the CPU.
x86: Add missed break to
On Thu, Dec 12, 2019 at 9:11 PM Conrad Meyer wrote:
> Author: cem
> Date: Fri Dec 13 05:11:34 2019
> New Revision: 355696
> URL: https://svnweb.freebsd.org/changeset/base/355696
>
> Log:
> libtacplus: Remove bogus srandomdev+random
>
> Replace with arc4random.
>
> TACAS+ is a 1993 Cisco
Author: cem
Date: Fri Dec 13 05:13:25 2019
New Revision: 355697
URL: https://svnweb.freebsd.org/changeset/base/355697
Log:
bsnmpd(1): Replace dubious srandomdev+random(3) with arc4random(3)
Modified:
head/contrib/bsnmp/snmpd/main.c
Modified: head/contrib/bsnmp/snmpd/main.c
Author: cem
Date: Fri Dec 13 05:11:34 2019
New Revision: 355696
URL: https://svnweb.freebsd.org/changeset/base/355696
Log:
libtacplus: Remove bogus srandomdev+random
Replace with arc4random.
TACAS+ is a 1993 Cisco extension to the 1984 TACAS. Is this something we want
in base
Author: cem
Date: Fri Dec 13 04:55:17 2019
New Revision: 355695
URL: https://svnweb.freebsd.org/changeset/base/355695
Log:
libradius: Rip out dubious use of srandomdev(3)+random(3)
These functions appear to intend to produce unpredictable results. Just use
arc4random.
While here,
Author: cem
Date: Fri Dec 13 04:48:20 2019
New Revision: 355694
URL: https://svnweb.freebsd.org/changeset/base/355694
Log:
kern/subr_unit: Rip srandomdev, random(3) out of dead code
The simulation cannot be reproduced, so the value of using a deterministic
PRNG
like random(3) is
Author: cem
Date: Fri Dec 13 04:37:39 2019
New Revision: 355693
URL: https://svnweb.freebsd.org/changeset/base/355693
Log:
random(6): produce random results
This program is trash and there's no reason to keep it in base. But as long
as
we're shipping a silly program named 'random',
Author: cem
Date: Fri Dec 13 04:12:13 2019
New Revision: 355692
URL: https://svnweb.freebsd.org/changeset/base/355692
Log:
fsirand(8): Just use arc4random(3)
Remove single use of dubious srandomdev(3) + random(3) and replace with
arc4random(3), as is used already in this program.
Author: kevans
Date: Fri Dec 13 04:03:03 2019
New Revision: 355690
URL: https://svnweb.freebsd.org/changeset/base/355690
Log:
MFC r352350: rangelock: add rangelock_cookie_assert
A future change to posixshm to add file sealing will move locking out of
shm_dotruncate as kern_shm_open()
Author: kevans
Date: Fri Dec 13 04:03:03 2019
New Revision: 355690
URL: https://svnweb.freebsd.org/changeset/base/355690
Log:
MFC r352350: rangelock: add rangelock_cookie_assert
A future change to posixshm to add file sealing will move locking out of
shm_dotruncate as kern_shm_open()
Author: cem
Date: Fri Dec 13 04:03:05 2019
New Revision: 355691
URL: https://svnweb.freebsd.org/changeset/base/355691
Log:
keyserv(8): unifdef out __FreeBSD__ and KEYSERV_RANDOM
This doesn't appear to have some active upstream (and it's a steaming pile of
bad 90s crypto design). Rip out
Author: kevans
Date: Fri Dec 13 03:29:54 2019
New Revision: 355689
URL: https://svnweb.freebsd.org/changeset/base/355689
Log:
MFC r343777, r352244-r352245: kenv fix + assertions
r343777:
Fix zapping of static hints and env in init_static_kenv(). Environments
are terminated by 2 NULs,
Author: kevans
Date: Fri Dec 13 03:29:54 2019
New Revision: 355689
URL: https://svnweb.freebsd.org/changeset/base/355689
Log:
MFC r343777, r352244-r352245: kenv fix + assertions
r343777:
Fix zapping of static hints and env in init_static_kenv(). Environments
are terminated by 2 NULs,
Author: ian
Date: Fri Dec 13 02:20:26 2019
New Revision: 355688
URL: https://svnweb.freebsd.org/changeset/base/355688
Log:
If device_delete_children() returns an error, bail on the rest of the
detach work and return the error. Especially don't call iicbus_reset()
since the most likely
Author: jhb
Date: Fri Dec 13 02:18:44 2019
New Revision: 355687
URL: https://svnweb.freebsd.org/changeset/base/355687
Log:
Document that the debug server supports writing to guest memory.
This was added in r348212.
Modified:
head/usr.sbin/bhyve/bhyve.8
Modified:
Author: jhb
Date: Fri Dec 13 02:15:34 2019
New Revision: 355686
URL: https://svnweb.freebsd.org/changeset/base/355686
Log:
Fix a mismerge in r355683 and remove the local gdb_port from main.
Modified:
head/usr.sbin/bhyve/bhyverun.c
Modified: head/usr.sbin/bhyve/bhyverun.c
Author: ian
Date: Fri Dec 13 01:38:48 2019
New Revision: 355685
URL: https://svnweb.freebsd.org/changeset/base/355685
Log:
Clean up some of my copyrights; add SPDX tag and remove All rights reserved.
Modified:
head/sys/dev/iicbus/ads111x.c
head/sys/dev/iicbus/ds13rtc.c
Author: rmacklem
Date: Fri Dec 13 01:34:25 2019
New Revision: 355684
URL: https://svnweb.freebsd.org/changeset/base/355684
Log:
Add some more initializations to quiet riscv build.
The one case in nfs_copy_file_range() was a legitimate case, although
it would probably never occur in
Author: jhb
Date: Fri Dec 13 01:17:20 2019
New Revision: 355683
URL: https://svnweb.freebsd.org/changeset/base/355683
Log:
Don't call into the debug server if it isn't configured.
Reviewed by: markj (as part of a larger diff)
MFC after:1 month
Differential Revision:
Author: rmacklem
Date: Fri Dec 13 00:45:14 2019
New Revision: 355682
URL: https://svnweb.freebsd.org/changeset/base/355682
Log:
Fix the build for MAC not defined and a couple of might not be initialized.
r355677 broke the build for the not MAC defined case and a couple of
might not be
Author: rmacklem
Date: Fri Dec 13 00:14:12 2019
New Revision: 355681
URL: https://svnweb.freebsd.org/changeset/base/355681
Log:
r355677 requires that vop_stdioctl() be global so it can be called from NFS.
r355677 modified the NFS client so that it does lseek(SEEK_DATA/SEEK_HOLE)
for
Author: markj
Date: Thu Dec 12 23:55:34 2019
New Revision: 355680
URL: https://svnweb.freebsd.org/changeset/base/355680
Log:
Avoid relying on silent type casting in the native atomic_load_32.
Reported by: np
Modified:
head/sys/vm/vm_page.h
Modified: head/sys/vm/vm_page.h
On 12/11/2019 6:54 AM, Ed Maste wrote:
> Author: emaste
> Date: Wed Dec 11 14:54:29 2019
> New Revision: 355609
> URL: https://svnweb.freebsd.org/changeset/base/355609
>
> Log:
> Make NOCLEAN an error instead of a warning
>
> The warning was added in r289728 (over four years ago) and at
Author: rmacklem
Date: Thu Dec 12 23:37:04 2019
New Revision: 355679
URL: https://svnweb.freebsd.org/changeset/base/355679
Log:
Bump __FreeBSD_version since r355677 changes the internal interface
between the NFS modules such that they all need to be upgraded to
post r355677 simultaneously.
false,junk:false' /etc/malloc.conf".)
+20191212:
+ r355677 has modified the internal interface used between the
+ NFS modules in the kernel. As such, they must all be upgraded
+ simultaneously. I will do a version bump for this.
+
20191205:
The root certificates of the
Author: rmacklem
Date: Thu Dec 12 23:22:55 2019
New Revision: 355677
URL: https://svnweb.freebsd.org/changeset/base/355677
Log:
Add support for NFSv4.2 to the NFS client and server.
This patch adds support for NFSv4.2 (RFC-7862) and Extended Attributes
(RFC-8276) to the NFS client and
Author: kib
Date: Thu Dec 12 22:59:22 2019
New Revision: 355676
URL: https://svnweb.freebsd.org/changeset/base/355676
Log:
rtld: make checks for mmap(2) failures compliant with documentation.
On error, mmap(2) returns MAP_FAILED. There is no need to use its
definition or to cast.
Author: rmacklem
Date: Thu Dec 12 22:00:10 2019
New Revision: 355674
URL: https://svnweb.freebsd.org/changeset/base/355674
Log:
MFC: r354989
Fix the pNFS server's reporting of SpaceUsed (va_bytes).
The pNFS server currently reports SpaceUsed (va_bytes) for the metadata
file. This in
Author: np
Date: Thu Dec 12 21:33:00 2019
New Revision: 355673
URL: https://svnweb.freebsd.org/changeset/base/355673
Log:
cxgbe(4): Never use hardware checksumming in netmap tx.
MFC after:1 week
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/t4_netmap.c
Author: markj
Date: Thu Dec 12 21:13:20 2019
New Revision: 355672
URL: https://svnweb.freebsd.org/changeset/base/355672
Log:
Implement atomic state updates using the new vm_page_astate_t structure.
Introduce primitives vm_page_astate_load() and vm_page_astate_fcmpset()
to operate on the
Author: emaste
Date: Thu Dec 12 20:55:43 2019
New Revision: 355671
URL: https://svnweb.freebsd.org/changeset/base/355671
Log:
libpmc: add MIT SPDX tag to header file
The jevents tool includes a copy of the jsmn json parser which is MIT
licensed. Upstream the MIT license appears in the
Author: cy
Date: Thu Dec 12 20:44:49 2019
New Revision: 355670
URL: https://svnweb.freebsd.org/changeset/base/355670
Log:
Rather than pass the address of the packet information control block to
ipf_pcksum6(), directly pass the adddress of the mbuf to it. This reduces
one pointer
Author: cy
Date: Thu Dec 12 20:44:46 2019
New Revision: 355669
URL: https://svnweb.freebsd.org/changeset/base/355669
Log:
in6_cksum() returns zero when checksums are good.
PR: 203275
Reported by: Frank Volf
MFC after:3 days
Modified:
Author: emaste
Date: Thu Dec 12 19:37:10 2019
New Revision: 355668
URL: https://svnweb.freebsd.org/changeset/base/355668
Log:
libpmc: convert s390 events data to proper json
Modified:
head/lib/libpmc/pmu-events/arch/s390/cf_z10/basic.json
Author: emaste
Date: Thu Dec 12 19:33:16 2019
New Revision: 355667
URL: https://svnweb.freebsd.org/changeset/base/355667
Log:
libpmc: convert powerpc event files to proper json
Modified:
head/lib/libpmc/pmu-events/arch/powerpc/power8/cache.json
Author: emaste
Date: Thu Dec 12 19:23:38 2019
New Revision: 355666
URL: https://svnweb.freebsd.org/changeset/base/355666
Log:
libpmc: sort some amdfam17h entries to make valid json
Modified:
head/lib/libpmc/pmu-events/arch/x86/amdfam17h/core.json
Author: kevans
Date: Thu Dec 12 19:21:16 2019
New Revision: 355665
URL: https://svnweb.freebsd.org/changeset/base/355665
Log:
MFC Collection of Raspberry Pi fixes: r348803-r348804, r354488, r354524,
r354560-r354561, r354563, r354577, r354579, r354823, r354825,
r354844-r354846, r354868,
Author: bapt
Date: Thu Dec 12 19:17:30 2019
New Revision: 355664
URL: https://svnweb.freebsd.org/changeset/base/355664
Log:
MFC: r34
Fix: netstat -rs
Routing statistics requires somes symbols that are only loaded when not
running
live. Load them only in that specific case
Author: bapt
Date: Thu Dec 12 19:17:26 2019
New Revision: 355663
URL: https://svnweb.freebsd.org/changeset/base/355663
Log:
MFC: r34
Fix: netstat -rs
Routing statistics requires somes symbols that are only loaded when not
running
live. Load them only in that specific case
Author: kevans
Date: Thu Dec 12 18:53:45 2019
New Revision: 355662
URL: https://svnweb.freebsd.org/changeset/base/355662
Log:
MFC r355460: libbe: fix build against sysutils/openzfs, part 1
This is the half of the changes required that work as-is with both in-tree
ZFS and the new hotness,
Author: kevans
Date: Thu Dec 12 18:53:45 2019
New Revision: 355662
URL: https://svnweb.freebsd.org/changeset/base/355662
Log:
MFC r355460: libbe: fix build against sysutils/openzfs, part 1
This is the half of the changes required that work as-is with both in-tree
ZFS and the new hotness,
Author: kevans
Date: Thu Dec 12 18:51:32 2019
New Revision: 355661
URL: https://svnweb.freebsd.org/changeset/base/355661
Log:
MFC r354247, r355349: lualoader try_include improvement
r354247: lualoader: rewrite try_include using lfs + dofile
Actual modules get require()'d in, rather
Author: kevans
Date: Thu Dec 12 18:51:32 2019
New Revision: 355661
URL: https://svnweb.freebsd.org/changeset/base/355661
Log:
MFC r354247, r355349: lualoader try_include improvement
r354247: lualoader: rewrite try_include using lfs + dofile
Actual modules get require()'d in, rather
Author: trasz
Date: Thu Dec 12 18:45:31 2019
New Revision: 355660
URL: https://svnweb.freebsd.org/changeset/base/355660
Log:
Add kern_sync(9), and make kernel code call it instead of going
via sys_sync(2). Minor cleanup, no functional changes.
Reviewed by: kib
MFC after:2 weeks
Author: andrew
Date: Thu Dec 12 18:27:54 2019
New Revision: 355659
URL: https://svnweb.freebsd.org/changeset/base/355659
Log:
Add comments and macros to the tcr_el1 setting code to help understand it.
This code is non-obvious when reading for the first time. To help with
understanding of
Author: dim
Date: Thu Dec 12 18:16:32 2019
New Revision: 355658
URL: https://svnweb.freebsd.org/changeset/base/355658
Log:
MFC r355568:
Correctly check for C++17 and higher when declaring timespec_get()
Summary:
In rS338751, the check to declare `timespec_get()` for C++17 and higher
Author: bdragon
Date: Thu Dec 12 17:40:32 2019
New Revision: 355657
URL: https://svnweb.freebsd.org/changeset/base/355657
Log:
rtld: do not try to mmap a zero-sized PT_LOAD
When a PT_LOAD segment has a zero p_filesz, skip the data mmap, as mmapping
zero bytes from a file is an error.
Author: bdragon
Date: Thu Dec 12 17:12:18 2019
New Revision: 355656
URL: https://svnweb.freebsd.org/changeset/base/355656
Log:
[PowerPC] Fix SPE floating point environment manipulation
Fix multiple problems in the powerpcspe floating point code.
* Endianness handling of the SPEFSCR in
Author: bdragon
Date: Thu Dec 12 16:49:55 2019
New Revision: 355655
URL: https://svnweb.freebsd.org/changeset/base/355655
Log:
[PowerPC] Fix powerpc 32 bit build in mmu_oea64.c
Due to ppc32 building mmu_oea64.c (for use when in bridge mode on a G5), we
need to guard the new
Author: emaste
Date: Thu Dec 12 14:52:37 2019
New Revision: 355654
URL: https://svnweb.freebsd.org/changeset/base/355654
Log:
libpmc: remove undesired prefix from two s390 counters
Two counters included a prefix 'Counter:###\tName:XXX' in their
descriptions that appears to be a leftover
Author: kib
Date: Thu Dec 12 13:48:23 2019
New Revision: 355653
URL: https://svnweb.freebsd.org/changeset/base/355653
Log:
MFC r355422:
mlx5: Do not poke hardware for statistic after teardown is started.
Modified:
stable/11/sys/dev/mlx5/driver.h
Author: kib
Date: Thu Dec 12 13:47:02 2019
New Revision: 355652
URL: https://svnweb.freebsd.org/changeset/base/355652
Log:
MFC r355422:
mlx5: Do not poke hardware for statistic after teardown is started.
Modified:
stable/12/sys/dev/mlx5/driver.h
Author: kib
Date: Thu Dec 12 13:46:02 2019
New Revision: 355651
URL: https://svnweb.freebsd.org/changeset/base/355651
Log:
MFC r355407:
Stop using per-mount tmpfs zones.
Modified:
stable/12/sys/fs/tmpfs/tmpfs.h
stable/12/sys/fs/tmpfs/tmpfs_subr.c
stable/12/sys/fs/tmpfs/tmpfs_vfsops.c
Author: ae
Date: Thu Dec 12 13:28:46 2019
New Revision: 355650
URL: https://svnweb.freebsd.org/changeset/base/355650
Log:
Follow RFC 4443 p2.2 and always use own addresses for reflected ICMPv6
datagrams.
Previously destination address from original datagram was used. That
looked
Author: manu
Date: Thu Dec 12 13:21:43 2019
New Revision: 355649
URL: https://svnweb.freebsd.org/changeset/base/355649
Log:
arm64: rockchip: rk_pinctrl: Fix parse_bias for RK3399
Only bank 0 and bank 2 are different than other rockchip SoC, fix this.
While here remove some debug printfs
Author: manu
Date: Thu Dec 12 13:02:22 2019
New Revision: 355648
URL: https://svnweb.freebsd.org/changeset/base/355648
Log:
arm64: rockchip: rk_pinctrl: Add bias parsing based on the SoC type
Not all rockchip have the same value for pullup/pulldown so add a function
per SoC and call the
59 matches
Mail list logo