Author: gonzo
Date: Mon Feb 11 07:42:32 2019
New Revision: 343998
URL: https://svnweb.freebsd.org/changeset/base/343998
Log:
Fix off-by-one error in BERI virtio driver
The hardcoded ident is exactly 20 bytes long but sprintf adds terminating
zero,
so there is one byte written out of
On Sun, 10 Feb 2019, Conrad Meyer wrote:
...
This is the slowest correct fix in the PR followup. kib predicted
that I wouldn't like it. It does 2 64-bit divmods (after optimization)
and many multiplications per call. Times 2 calls. clang will probably
inline this, giving only 3 64-bit
Author: kib
Date: Mon Feb 11 07:09:02 2019
New Revision: 343997
URL: https://svnweb.freebsd.org/changeset/base/343997
Log:
MFC r343890:
do_execve(): lock vnode when needed.
Modified:
stable/12/sys/kern/kern_exec.c
Directory Properties:
stable/12/ (props changed)
Modified:
Hi Bruce,
On Sun, Feb 10, 2019 at 9:18 PM Bruce Evans wrote:
>
> On Sun, 10 Feb 2019, Conrad Meyer wrote:
>
> > Log:
> > Prevent overflow for usertime/systime in caclru1
> >
> > PR: 76972 and duplicates
> ...
> I wrote a much better version,
> following the hints in my review of PR
Author: pkelsey
Date: Mon Feb 11 05:39:38 2019
New Revision: 343996
URL: https://svnweb.freebsd.org/changeset/base/343996
Log:
Place pf_altq_get_nth_active() under the ALTQ ifdef
MFC after:1 week
Modified:
head/sys/netpfil/pf/pf_ioctl.c
Modified: head/sys/netpfil/pf/pf_ioctl.c
On Sun, 10 Feb 2019, Conrad Meyer wrote:
Log:
Prevent overflow for usertime/systime in caclru1
PR:76972 and duplicates
Reported by: Dr. Christopher Landauer ,
Steinar Haug
Submitted by: Andrey Zonov (earlier version)
MFC after: 2 weeks
kib asked me
Author: pkelsey
Date: Mon Feb 11 05:17:31 2019
New Revision: 343995
URL: https://svnweb.freebsd.org/changeset/base/343995
Log:
Reduce the time it takes the kernel to install a new PF config containing a
large number of queues
In general, the time savings come from separating the active
Author: kevans
Date: Mon Feb 11 04:00:42 2019
New Revision: 343994
URL: https://svnweb.freebsd.org/changeset/base/343994
Log:
bectl(8): commit missing test modifications from r343993
X-MFC-With: r343993
Modified:
head/sbin/bectl/tests/bectl_test.sh
Modified:
Author: kevans
Date: Mon Feb 11 04:00:01 2019
New Revision: 343993
URL: https://svnweb.freebsd.org/changeset/base/343993
Log:
bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE
We can't predict when destruction of origin is needed, and currently we have
a precedent
Author: avos
Date: Mon Feb 11 00:31:58 2019
New Revision: 343992
URL: https://svnweb.freebsd.org/changeset/base/343992
Log:
MFC r343815:
iwn(4): plug initialization path vs interrupt handler races
There are few places in interrupt handler where the driver
lock is dropped; ensure that
Author: avos
Date: Mon Feb 11 00:31:58 2019
New Revision: 343992
URL: https://svnweb.freebsd.org/changeset/base/343992
Log:
MFC r343815:
iwn(4): plug initialization path vs interrupt handler races
There are few places in interrupt handler where the driver
lock is dropped; ensure that
Author: cem
Date: Mon Feb 11 00:11:02 2019
New Revision: 343991
URL: https://svnweb.freebsd.org/changeset/base/343991
Log:
gbde(8) - simplify randomisation with arc4random_buf
Submitted by: David CARLIER
Differential Revision:https://reviews.freebsd.org/D18678
Modified:
Author: avos
Date: Sun Feb 10 23:58:56 2019
New Revision: 343990
URL: https://svnweb.freebsd.org/changeset/base/343990
Log:
net80211(4): hide casts for 'i_seq' field offset calculation inside
ieee80211_getqos() and reuse it in various places.
Checked with RTL8188EE, HOSTAP mode +
Author: pfg
Date: Sun Feb 10 23:47:37 2019
New Revision: 343989
URL: https://svnweb.freebsd.org/changeset/base/343989
Log:
MFC r342910:
grep(1) outputs NOT-matched lines with multi-byte characters
PR: 113343
Modified:
stable/11/gnu/usr.bin/grep/search.c
Directory Properties:
Author: pfg
Date: Sun Feb 10 23:45:14 2019
New Revision: 343988
URL: https://svnweb.freebsd.org/changeset/base/343988
Log:
MFC r342910:
grep(1) outputs NOT-matched lines with multi-byte characters
PR: 113343
Modified:
stable/12/gnu/usr.bin/grep/search.c
Directory Properties:
Author: oshogbo
Date: Sun Feb 10 23:30:54 2019
New Revision: 343987
URL: https://svnweb.freebsd.org/changeset/base/343987
Log:
libnv: fix memory leaks
Free the data array for NV_TYPE_DESCRIPTOR_ARRAY case.
MFC after:2 weeks
Modified:
head/sys/contrib/libnv/nvpair.c
Modified:
Author: oshogbo
Date: Sun Feb 10 23:28:55 2019
New Revision: 343986
URL: https://svnweb.freebsd.org/changeset/base/343986
Log:
libnv: fix memory leaks
nvpair_create_stringv: free the temporary string; this fix affects
nvlist_add_stringf() and nvlist_add_stringv().
Author: cem
Date: Sun Feb 10 23:07:46 2019
New Revision: 343985
URL: https://svnweb.freebsd.org/changeset/base/343985
Log:
Prevent overflow for usertime/systime in caclru1
PR: 76972 and duplicates
Reported by: Dr. Christopher Landauer ,
Steinar Haug
Author: oshogbo
Date: Sun Feb 10 22:33:41 2019
New Revision: 343984
URL: https://svnweb.freebsd.org/changeset/base/343984
Log:
MFC r343471:
libcasper: do not run registered exit functions
Casper library should not use exit(3) function because before setting it up
applications may
Author: oshogbo
Date: Sun Feb 10 22:32:09 2019
New Revision: 343983
URL: https://svnweb.freebsd.org/changeset/base/343983
Log:
MFC r343470:
zfs: allow to change cache flush sysctl
There is no reason for this variable to be tunable.
This variable is used as a barrier in few
Author: oshogbo
Date: Sun Feb 10 22:31:41 2019
New Revision: 343982
URL: https://svnweb.freebsd.org/changeset/base/343982
Log:
MFC r343470:
zfs: allow to change cache flush sysctl
There is no reason for this variable to be tunable.
This variable is used as a barrier in few
Author: jilles
Date: Sun Feb 10 22:23:05 2019
New Revision: 343981
URL: https://svnweb.freebsd.org/changeset/base/343981
Log:
sh: Restore $((x)) error checking after fix for $((-9223372036854775808))
SVN r342880 was designed to fix $((-9223372036854775808)) and things like
Author: avos
Date: Sun Feb 10 21:32:39 2019
New Revision: 343980
URL: https://svnweb.freebsd.org/changeset/base/343980
Log:
ifconfig(8): display 802.11n rates correctly for 'roam:rate' parameter
MFC after:5 days
Modified:
head/sbin/ifconfig/ifieee80211.c
Modified:
Author: marius
Date: Sun Feb 10 21:27:03 2019
New Revision: 343979
URL: https://svnweb.freebsd.org/changeset/base/343979
Log:
As struct cryptop is wrapped in #ifdef _KERNEL, userland doesn't
need to drag in either.
Modified:
head/sys/opencrypto/cryptodev.h
Modified:
Author: kp
Date: Sun Feb 10 21:22:55 2019
New Revision: 343978
URL: https://svnweb.freebsd.org/changeset/base/343978
Log:
pfctl: Fix ifa_grouplookup()
Setting the length of the request got lost in r343287, which means
SIOCGIFGMEMB
gives us the required length, but does not copy the
Author: kevans
Date: Sun Feb 10 21:19:09 2019
New Revision: 343977
URL: https://svnweb.freebsd.org/changeset/base/343977
Log:
libbe(3): Add a destroy option for removing the origin
Currently origin snapshots are left behind when a BE is destroyed, whether
it was an auto-created snapshot
Author: avos
Date: Sun Feb 10 21:00:02 2019
New Revision: 343976
URL: https://svnweb.freebsd.org/changeset/base/343976
Log:
MFC r343474:
Remove 2GHz channel list copies from wireless drivers.
Wrap ieee80211_add_channel_list_2ghz into another function
which supplies default (1-14)
Author: avos
Date: Sun Feb 10 20:59:35 2019
New Revision: 343975
URL: https://svnweb.freebsd.org/changeset/base/343975
Log:
MFC r343474:
Remove 2GHz channel list copies from wireless drivers.
Wrap ieee80211_add_channel_list_2ghz into another function
which supplies default (1-14)
Author: avos
Date: Sun Feb 10 20:42:06 2019
New Revision: 343974
URL: https://svnweb.freebsd.org/changeset/base/343974
Log:
MFC r343698, r343700:
ifconfig(8): display management / multicast wlan(4) rates properly
For 11n / 11ac we are still using non-11n rates for management and
Author: avos
Date: Sun Feb 10 20:42:06 2019
New Revision: 343974
URL: https://svnweb.freebsd.org/changeset/base/343974
Log:
MFC r343698, r343700:
ifconfig(8): display management / multicast wlan(4) rates properly
For 11n / 11ac we are still using non-11n rates for management and
Author: avos
Date: Sun Feb 10 20:42:06 2019
New Revision: 343974
URL: https://svnweb.freebsd.org/changeset/base/343974
Log:
MFC r343698, r343700:
ifconfig(8): display management / multicast wlan(4) rates properly
For 11n / 11ac we are still using non-11n rates for management and
Author: avos
Date: Sun Feb 10 20:26:12 2019
New Revision: 343973
URL: https://svnweb.freebsd.org/changeset/base/343973
Log:
MFC r343837:
net80211(4): validate supplied roam:rate values from ifconfig(8)
Modified:
stable/10/sys/net80211/ieee80211_ioctl.c
Directory Properties:
stable/10/
Author: avos
Date: Sun Feb 10 20:25:45 2019
New Revision: 343972
URL: https://svnweb.freebsd.org/changeset/base/343972
Log:
MFC r343837:
net80211(4): validate supplied roam:rate values from ifconfig(8)
Modified:
stable/11/sys/net80211/ieee80211_ioctl.c
Directory Properties:
stable/11/
Author: avos
Date: Sun Feb 10 20:25:15 2019
New Revision: 343971
URL: https://svnweb.freebsd.org/changeset/base/343971
Log:
MFC r343837:
net80211(4): validate supplied roam:rate values from ifconfig(8)
Modified:
stable/12/sys/net80211/ieee80211_ioctl.c
Directory Properties:
stable/12/
Author: jhibbits
Date: Sun Feb 10 20:21:20 2019
New Revision: 343970
URL: https://svnweb.freebsd.org/changeset/base/343970
Log:
powerpc: Clamp MAXCPU for MPC85XXSPE kernel to 2
SoCs with e500v2 chips only have at most 2 cores, and there are no plans to
release any more e500v2-based SoCs.
Author: nwhitehorn
Date: Sun Feb 10 20:13:59 2019
New Revision: 343969
URL: https://svnweb.freebsd.org/changeset/base/343969
Log:
Performance improvements for octe(4):
- Distribute RX load across multiple cores, if present. This reverts
r217212, which is no longer relevant (I think
Author: np
Date: Sun Feb 10 19:20:03 2019
New Revision: 343968
URL: https://svnweb.freebsd.org/changeset/base/343968
Log:
cxgbe(4): Ignore unused interrupts.
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/common/t4_hw.c
Modified: head/sys/dev/cxgbe/common/t4_hw.c
Author: pluknet
Date: Sun Feb 10 19:07:47 2019
New Revision: 343967
URL: https://svnweb.freebsd.org/changeset/base/343967
Log:
Sync "struct addrinfo" declaration with netdb.h.
Notably, unlike in OpenBSD, which the man page was copied from,
ai_canonname and ai_addr come in different
Author: kib
Date: Sun Feb 10 19:01:05 2019
New Revision: 343966
URL: https://svnweb.freebsd.org/changeset/base/343966
Log:
struct xswdev on amd64 requires compat32 shims after ino64.
i386 is the only architecture where uint64_t does not specify 8-bytes
alignment, which makes struct
Author: mmel
Date: Sun Feb 10 18:28:37 2019
New Revision: 343965
URL: https://svnweb.freebsd.org/changeset/base/343965
Log:
Fix bug introduced by r343962.
DMAMAP_DMAMEM_ALLOC is property of dmamap, not dmatag.
MFC after:1 week
Reported by: ian
Pointy hat: mmel
Modified:
Author: kib
Date: Sun Feb 10 17:19:45 2019
New Revision: 343964
URL: https://svnweb.freebsd.org/changeset/base/343964
Log:
Implement Address Space Layout Randomization (ASLR)
With this change, randomization can be enabled for all non-fixed
mappings. It means that the base address for
> On 10. Feb 2019, at 09:38, Conrad Meyer wrote:
>
> Hi Michael,
>
> I don't know. You can 'pkg install amd64-xtoolchain-gcc' and 'make
> buildkernel KERNCONF=GENERIC CROSS_TOOLCHAIN=amd64-gcc' if you're
> interested in trying it.
Hi Conrad,
thanks for the instructions. I tested the patch
Author: mmel
Date: Sun Feb 10 14:25:29 2019
New Revision: 343962
URL: https://svnweb.freebsd.org/changeset/base/343962
Log:
Properly handle alignment requests bigger that page size.
- for now, alignments bigger that page size is allowed only for buffers
allocated by bus_dmamem_alloc(),
Author: mmel
Date: Sun Feb 10 14:30:15 2019
New Revision: 343963
URL: https://svnweb.freebsd.org/changeset/base/343963
Log:
Don't allocate same clock twice..
MFC after:1 week
Reported by: jah
Modified:
head/sys/arm/nvidia/tegra_sdhci.c
Modified: head/sys/arm/nvidia/tegra_sdhci.c
Author: tuexen
Date: Sun Feb 10 14:02:14 2019
New Revision: 343961
URL: https://svnweb.freebsd.org/changeset/base/343961
Log:
Fix a locking issue when reporing outbount messages.
MFC after:3 days
Modified:
head/sys/netinet/sctputil.c
Modified: head/sys/netinet/sctputil.c
Author: tuexen
Date: Sun Feb 10 13:55:32 2019
New Revision: 343960
URL: https://svnweb.freebsd.org/changeset/base/343960
Log:
Fix a locking issue in the IPPROTO_SCTP level SCTP_PEER_ADDR_THLDS socket
option. The problem affects only setsockopt with invalid parameters.
This issue was
Author: dim
Date: Sun Feb 10 13:44:36 2019
New Revision: 343959
URL: https://svnweb.freebsd.org/changeset/base/343959
Log:
Fix the first couple of AddressSanitizer violations in usr.bin/top.
Avoid setting zero bytes beyond the length of the 'thisline' parameters
in i_process() and
Author: dim
Date: Sun Feb 10 13:34:21 2019
New Revision: 343958
URL: https://svnweb.freebsd.org/changeset/base/343958
Log:
Fix multiple warnings in usr.bin/top about variables shadowing global
declarations from base gcc, by renaming those variables.
MFC after:1 week
Modified:
Author: dim
Date: Sun Feb 10 13:31:08 2019
New Revision: 343957
URL: https://svnweb.freebsd.org/changeset/base/343957
Log:
Fix multiple warnings in usr.bin/top about discarded qualifiers from
both clang and gcc, by either constifying variables, or when that is not
possible, using __DECONST.
Author: tuexen
Date: Sun Feb 10 10:42:16 2019
New Revision: 343954
URL: https://svnweb.freebsd.org/changeset/base/343954
Log:
Fix a locking bug in the IPPROTO_SCTP level SCTP_EVENT socket option.
This occurs when call setsockopt() with invalid parameters.
This issue was found by
Hi Michael,
I don't know. You can 'pkg install amd64-xtoolchain-gcc' and 'make
buildkernel KERNCONF=GENERIC CROSS_TOOLCHAIN=amd64-gcc' if you're
interested in trying it.
(I'm not sure enabling coverage globally in GENERIC is appropriate
even if it did not break boot — it's usually expensive,
Author: manu
Date: Sun Feb 10 08:14:06 2019
New Revision: 343950
URL: https://svnweb.freebsd.org/changeset/base/343950
Log:
arm64: Fix compile when removing SOC_ROCKCHIP_* options
Make every rockchip file depend on the multiple soc_rockchip options
While here make rk_i2c and rk_gpio
> On 10. Feb 2019, at 08:50, Conrad Meyer wrote:
>
> Hi Andrew,
>
> This makes it compile, but instead of a build failure the kernel is
> broken hard at runtime in early boot with GCC < 8.1. E.g.,
> amd64-xtoolchain-gcc standard cross-toolchain is still on GCC 6.4.0.
>
> HEAD GENERIC has been
Author: cem
Date: Sun Feb 10 07:54:46 2019
New Revision: 343949
URL: https://svnweb.freebsd.org/changeset/base/343949
Log:
Revert r343713 temporarily
The COVERAGE option breaks xtoolchain-gcc GENERIC kernel early boot
extremely badly and hasn't been fixed for the ~week since it was
Author: peterj
Date: Sun Feb 10 08:46:07 2019
New Revision: 343953
URL: https://svnweb.freebsd.org/changeset/base/343953
Log:
Replace calls to sin(x) and cos(x) with a single call to sincos().
Replace calls to sinf(x) and cosf(x) with a single call to sincosf().
Submitted by: Steve Kargl
Author: ganbold
Date: Sun Feb 10 08:41:52 2019
New Revision: 343952
URL: https://svnweb.freebsd.org/changeset/base/343952
Log:
Enable necessary bits when activating interrupts. This allows
reading some events from the interrupt status registers. These events
are reported to devd via system
Author: tuexen
Date: Sun Feb 10 08:28:56 2019
New Revision: 343951
URL: https://svnweb.freebsd.org/changeset/base/343951
Log:
Fix locking for IPPROTO_SCTP level SCTP_DEFAULT_PRINFO socket option.
This problem occurred when calling setsockopt() will invalid parameters.
This issue was
57 matches
Mail list logo