Author: markj
Date: Fri Nov 23 23:07:49 2018
New Revision: 340859
URL: https://svnweb.freebsd.org/changeset/base/340859
Log:
Ensure the dirent remains initialized when dirent.d_fileno is unset.
Reported by: rmacklem
MFC with: r340856
Sponsored by: The FreeBSD Foundation
Modified:
Author: markj
Date: Fri Nov 23 23:10:03 2018
New Revision: 340861
URL: https://svnweb.freebsd.org/changeset/base/340861
Log:
Honour the waitok parameter in kevent_expand().
Reviewed by: kib
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Differential Revision:https:
Author: markj
Date: Sat Nov 24 16:41:29 2018
New Revision: 340897
URL: https://svnweb.freebsd.org/changeset/base/340897
Log:
Lock the knlist before releasing the in-flux state in knote_fork().
Otherwise there is a window, before iteration is resumed, during which
the knote may be freed.
Author: markj
Date: Sat Nov 24 16:58:34 2018
New Revision: 340898
URL: https://svnweb.freebsd.org/changeset/base/340898
Log:
Ensure that knotes do not get registered when KQ_CLOSING is set.
KQ_CLOSING is set before draining the knotes associated with a kqueue,
so we must ensure that new k
Author: markj
Date: Sat Nov 24 17:02:31 2018
New Revision: 340899
URL: https://svnweb.freebsd.org/changeset/base/340899
Log:
Plug some kernel memory disclosures via kevent(2).
The kernel may register for events on behalf of a userspace process,
in which case it must be careful to zero the
Author: markj
Date: Sat Nov 24 17:06:01 2018
New Revision: 340900
URL: https://svnweb.freebsd.org/changeset/base/340900
Log:
Pass malloc flags directly through kevent(2) subroutines.
Some kevent functions have a boolean "waitok" parameter for use when
calling malloc(9). Replace them with
The FreeBSD Foundation
+ *
+ * This software was developed by Mark Johnston under sponsorship from
+ * the FreeBSD Foundation.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ * 1
file is newly added)
+++ stable/12/tests/sys/netinet/ip_reass_test.c Sat Nov 24 17:08:49 2018
(r340902, copy of r340485, head/tests/sys/netinet/ip_reass_test.c)
@@ -0,0 +1,381 @@
+/*-
+ * Copyright (c) 2018 The FreeBSD Foundation
+ *
+ * This software was developed by Mark Johnston under
Author: markj
Date: Sat Nov 24 17:09:35 2018
New Revision: 340903
URL: https://svnweb.freebsd.org/changeset/base/340903
Log:
MFC r340734:
Avoid unsynchronized updates to kn_status.
Modified:
stable/12/sys/kern/kern_event.c
Directory Properties:
stable/12/ (props changed)
Modified: stab
Author: markj
Date: Sat Nov 24 17:11:47 2018
New Revision: 340904
URL: https://svnweb.freebsd.org/changeset/base/340904
Log:
MFC r340734:
Avoid unsynchronized updates to kn_status.
Modified:
stable/11/sys/kern/kern_event.c
Directory Properties:
stable/11/ (props changed)
Modified: stab
Author: markj
Date: Sun Nov 25 17:39:41 2018
New Revision: 340919
URL: https://svnweb.freebsd.org/changeset/base/340919
Log:
MFC r340772:
Clear unused bytes in ia32_osendsig().
Modified:
stable/12/sys/amd64/ia32/ia32_signal.c
Directory Properties:
stable/12/ (props changed)
Modified: s
Author: markj
Date: Sun Nov 25 17:44:30 2018
New Revision: 340920
URL: https://svnweb.freebsd.org/changeset/base/340920
Log:
MFC r340772:
Clear unused bytes in ia32_osendsig().
Modified:
stable/11/sys/amd64/ia32/ia32_signal.c
Directory Properties:
stable/11/ (props changed)
Modified: s
Author: markj
Date: Sun Nov 25 17:46:37 2018
New Revision: 340921
URL: https://svnweb.freebsd.org/changeset/base/340921
Log:
MFC r340783:
Plug some networking sysctl leaks.
Modified:
stable/12/sys/kern/uipc_socket.c
stable/12/sys/kern/uipc_usrreq.c
stable/12/sys/netinet/in_pcb.c
stabl
Author: markj
Date: Sun Nov 25 18:00:50 2018
New Revision: 340923
URL: https://svnweb.freebsd.org/changeset/base/340923
Log:
MFC r340783:
Plug some networking sysctl leaks.
Modified:
stable/11/sys/kern/uipc_socket.c
stable/11/sys/kern/uipc_usrreq.c
stable/11/sys/netinet/ip_divert.c
st
Author: markj
Date: Mon Nov 26 13:42:18 2018
New Revision: 340968
URL: https://svnweb.freebsd.org/changeset/base/340968
Log:
Plug routing sysctl leaks.
Various structures exported by sysctl_rtsock() contain padding fields
which were not being zeroed.
Reported by: Thomas Barabosch, F
Author: markj
Date: Mon Nov 26 14:01:05 2018
New Revision: 340970
URL: https://svnweb.freebsd.org/changeset/base/340970
Log:
MFC r340787 (by rmacklem), r340856, r340859:
Ensure that directory entry padding bytes are zeroed.
Modified:
stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Author: markj
Date: Mon Nov 26 15:46:46 2018
New Revision: 340977
URL: https://svnweb.freebsd.org/changeset/base/340977
Log:
MFstable/12 r340903:
Avoid unsynchronized updates to kn_status.
Approved by: re (gjb)
Modified:
releng/12.0/sys/kern/kern_event.c
Directory Properties:
releng
Author: markj
Date: Mon Nov 26 16:36:38 2018
New Revision: 340980
URL: https://svnweb.freebsd.org/changeset/base/340980
Log:
MFstable/12 r340921:
Plug some networking sysctl leaks.
Approved by: re (gjb)
Modified:
releng/12.0/sys/kern/uipc_socket.c
releng/12.0/sys/kern/uipc_usrreq.c
Author: markj
Date: Mon Nov 26 22:42:52 2018
New Revision: 341001
URL: https://svnweb.freebsd.org/changeset/base/341001
Log:
Check for an allocation failure before dereferencing the pointer.
Reported by: Ilja Van Sprundel
Reviewed by: np
MFC after:1 week
Sponsored by: The FreeB
Author: markj
Date: Tue Nov 27 16:51:18 2018
New Revision: 341074
URL: https://svnweb.freebsd.org/changeset/base/341074
Log:
MFC r340856:
Ensure that directory entry padding bytes are zeroed.
Modified:
stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c
stable/11/sys/cdd
Author: markj
Date: Tue Nov 27 16:54:23 2018
New Revision: 341075
URL: https://svnweb.freebsd.org/changeset/base/341075
Log:
MFC r340899:
Plug some kernel memory disclosures via kevent(2).
Modified:
stable/12/sys/kern/kern_event.c
stable/12/sys/kern/vfs_aio.c
Directory Properties:
stabl
Author: markj
Date: Tue Nov 27 16:57:59 2018
New Revision: 341077
URL: https://svnweb.freebsd.org/changeset/base/341077
Log:
MFC r340897:
Lock the knlist before releasing the in-flux state in knote_fork().
PR: 228858
Modified:
stable/12/sys/kern/kern_event.c
Directory Properties:
s
Author: markj
Date: Tue Nov 27 16:55:24 2018
New Revision: 341076
URL: https://svnweb.freebsd.org/changeset/base/341076
Log:
MFC r340899:
Plug some kernel memory disclosures via kevent(2).
Modified:
stable/11/sys/kern/kern_event.c
stable/11/sys/kern/vfs_aio.c
Directory Properties:
stabl
Author: markj
Date: Tue Nov 27 16:59:12 2018
New Revision: 341078
URL: https://svnweb.freebsd.org/changeset/base/341078
Log:
MFC r340897:
Lock the knlist before releasing the in-flux state in knote_fork().
PR: 228858
Modified:
stable/11/sys/kern/kern_event.c
Directory Properties:
s
Author: markj
Date: Tue Nov 27 17:00:47 2018
New Revision: 341079
URL: https://svnweb.freebsd.org/changeset/base/341079
Log:
MFC r340408:
Ensure that libnv can be used when kern.trap_enotcap=1.
Modified:
stable/12/lib/libnv/common_impl.h
stable/12/lib/libnv/msgio.c
stable/12/lib/libnv/t
Author: markj
Date: Tue Nov 27 17:02:15 2018
New Revision: 341080
URL: https://svnweb.freebsd.org/changeset/base/341080
Log:
MFC r340399:
RISC-V: Add macros for reading performance counter CSRs.
Modified:
stable/12/sys/riscv/include/cpufunc.h
stable/12/sys/riscv/include/riscvreg.h
Directo
Author: markj
Date: Tue Nov 27 17:03:15 2018
New Revision: 341081
URL: https://svnweb.freebsd.org/changeset/base/341081
Log:
MFC r340400:
RISC-V: Implement get_cyclecount(9).
Modified:
stable/12/sys/riscv/include/cpu.h
Directory Properties:
stable/12/ (props changed)
Modified: stable/1
Author: markj
Date: Tue Nov 27 17:08:07 2018
New Revision: 341082
URL: https://svnweb.freebsd.org/changeset/base/341082
Log:
MFC r340898:
Ensure that knotes do not get registered when KQ_CLOSING is set.
PR: 228858
Modified:
stable/12/sys/kern/kern_event.c
Directory Properties:
stab
Author: markj
Date: Tue Nov 27 17:10:00 2018
New Revision: 341083
URL: https://svnweb.freebsd.org/changeset/base/341083
Log:
MFC r340898:
Ensure that knotes do not get registered when KQ_CLOSING is set.
PR: 228858
Modified:
stable/11/sys/kern/kern_event.c
Directory Properties:
stab
Author: markj
Date: Tue Nov 27 17:58:25 2018
New Revision: 341085
URL: https://svnweb.freebsd.org/changeset/base/341085
Log:
MFstable/12 r340970:
Ensure that directory entry padding bytes are zeroed.
Approved by: re (gjb)
Modified:
releng/12.0/sys/cddl/contrib/opensolaris/uts/common/f
Author: markj
Date: Wed Nov 28 16:48:40 2018
New Revision: 341150
URL: https://svnweb.freebsd.org/changeset/base/341150
Log:
MFC r339497 (by cem):
ZSTDIO: Correctly initialize zstd context with provided 'level'
Modified:
stable/12/sys/kern/subr_compressor.c
Directory Properties:
stable/12
Author: markj
Date: Wed Nov 28 16:51:11 2018
New Revision: 341151
URL: https://svnweb.freebsd.org/changeset/base/341151
Log:
MFC r340733:
Remove KN_HASKQLOCK.
Modified:
stable/12/sys/kern/kern_event.c
stable/12/sys/sys/event.h
Directory Properties:
stable/12/ (props changed)
Modified
Author: markj
Date: Wed Nov 28 16:52:41 2018
New Revision: 341152
URL: https://svnweb.freebsd.org/changeset/base/341152
Log:
MFC r340730, r340731:
Add taskqueue_quiesce(9) and use it to implement taskq_wait().
PR: 227784
Modified:
stable/12/share/man/man9/Makefile
stable/12/share/m
Author: markj
Date: Wed Nov 28 17:00:18 2018
New Revision: 341154
URL: https://svnweb.freebsd.org/changeset/base/341154
Log:
MFC r340730, r340731:
Add taskqueue_quiesce(9) and use it to implement taskq_wait().
PR: 227784
Modified:
stable/11/share/man/man9/Makefile
stable/11/share/m
Author: markj
Date: Wed Nov 28 17:31:34 2018
New Revision: 341155
URL: https://svnweb.freebsd.org/changeset/base/341155
Log:
MFstable/12 r341075:
Plug some kernel memory disclosures via kevent(2).
Approved by: re (gjb)
Modified:
releng/12.0/sys/kern/kern_event.c
releng/12.0/sys/kern
Author: markj
Date: Wed Nov 28 17:40:08 2018
New Revision: 341157
URL: https://svnweb.freebsd.org/changeset/base/341157
Log:
MFstable/12 r341077:
Lock the knlist before releasing the in-flux state in knote_fork().
PR: 228858
Approved by: re (gjb)
Modified:
releng/12.0/sys/
Author: markj
Date: Wed Nov 28 18:02:59 2018
New Revision: 341158
URL: https://svnweb.freebsd.org/changeset/base/341158
Log:
MFC r339795:
Add a very basic regression test for setfacl -R with NFSv4 ACLs.
Modified:
stable/12/tests/sys/acl/tools-nfs4-psarc.test
stable/12/tests/sys/acl/tools-
Author: markj
Date: Wed Nov 28 18:06:16 2018
New Revision: 341159
URL: https://svnweb.freebsd.org/changeset/base/341159
Log:
MFstable/12 r341082:
Ensure that knotes do not get registered when KQ_CLOSING is set.
PR: 228858
Approved by: re (gjb)
Modified:
releng/12.0/sys/ker
Author: markj
Date: Thu Nov 29 15:38:27 2018
New Revision: 341237
URL: https://svnweb.freebsd.org/changeset/base/341237
Log:
MFC r339900:
Have gconcat advertise delete support if one of its disks does.
PR: 232676
Modified:
stable/12/sys/geom/concat/g_concat.c
stable/12/sys/geom/con
Author: markj
Date: Thu Nov 29 15:42:32 2018
New Revision: 341238
URL: https://svnweb.freebsd.org/changeset/base/341238
Log:
MFC r340968:
Plug routing sysctl leaks.
Modified:
stable/12/sys/net/if.h
stable/12/sys/net/route.h
stable/12/sys/net/rtsock.c
Directory Properties:
stable/12/
Author: markj
Date: Thu Nov 29 15:56:46 2018
New Revision: 341241
URL: https://svnweb.freebsd.org/changeset/base/341241
Log:
MFC r340968:
Plug routing sysctl leaks.
Modified:
stable/11/sys/net/if.h
stable/11/sys/net/route.h
stable/11/sys/net/rtsock.c
Directory Properties:
stable/11/
Author: markj
Date: Thu Nov 29 15:58:14 2018
New Revision: 341242
URL: https://svnweb.freebsd.org/changeset/base/341242
Log:
MFstable/12 r341238:
Plug routing sysctl leaks.
Approved by: re (gjb)
Modified:
releng/12.0/sys/net/if.h
releng/12.0/sys/net/route.h
releng/12.0/sys/net/rts
Author: markj
Date: Thu Nov 29 16:31:01 2018
New Revision: 341247
URL: https://svnweb.freebsd.org/changeset/base/341247
Log:
Update the free page count when blacklisting pages.
Otherwise the free page count will not accurately reflect the physical
page allocator's state. On 11 this can t
Author: markj
Date: Thu Nov 29 16:49:56 2018
New Revision: 341248
URL: https://svnweb.freebsd.org/changeset/base/341248
Log:
Fix age_old_log() after r337468.
We can no longer use sizeof() to get the path buffer's size. Apply
a straightforward fix for now with the aim of MFCing soon.
Author: markj
Date: Thu Nov 29 17:35:37 2018
New Revision: 341249
URL: https://svnweb.freebsd.org/changeset/base/341249
Log:
MFC r341247:
Update the free page count when blacklisting pages.
PR: 231296
Approved by: re (gjb, insta-MFC)
Modified:
stable/12/sys/vm/vm_page.c
Di
Author: markj
Date: Thu Nov 29 17:42:30 2018
New Revision: 341250
URL: https://svnweb.freebsd.org/changeset/base/341250
Log:
MFC r341248:
Fix age_old_log() after r337468.
PR: 233633
Modified:
stable/12/usr.sbin/newsyslog/newsyslog.c
Directory Properties:
stable/12/ (props changed
Author: markj
Date: Thu Nov 29 17:54:03 2018
New Revision: 341251
URL: https://svnweb.freebsd.org/changeset/base/341251
Log:
MFstable/12 r341249:
Update the free page count when blacklisting pages.
Approved by: re (gjb)
Modified:
releng/12.0/sys/vm/vm_page.c
Directory Properties:
re
Author: markj
Date: Thu Nov 29 18:02:35 2018
New Revision: 341252
URL: https://svnweb.freebsd.org/changeset/base/341252
Log:
MFstable/12 r341250:
Fix age_old_log() after r337468.
PR: 233633
Approved by: re (gjb)
Modified:
releng/12.0/usr.sbin/newsyslog/newsyslog.c
Director
Author: markj
Date: Thu Nov 29 20:25:47 2018
New Revision: 341259
URL: https://svnweb.freebsd.org/changeset/base/341259
Log:
MFC r340483 (by jtl):
Add some additional length checks to the IPv4 fragmentation code.
Modified:
stable/12/sys/netinet/ip_reass.c
stable/12/sys/netinet/ip_var.h
Di
Author: markj
Date: Thu Nov 29 20:38:23 2018
New Revision: 341260
URL: https://svnweb.freebsd.org/changeset/base/341260
Log:
MFC r340483 (by jtl):
Add some additional length checks to the IPv4 fragmentation code.
Modified:
stable/11/sys/netinet/ip_reass.c
stable/11/sys/netinet/ip_var.h
Di
Author: markj
Date: Thu Nov 29 20:59:18 2018
New Revision: 341262
URL: https://svnweb.freebsd.org/changeset/base/341262
Log:
MFstable/12 r341259:
Add some additional length checks to the IPv4 fragmentation code.
Approved by: re (gjb)
Modified:
releng/12.0/sys/netinet/ip_reass.c
rele
Author: markj
Date: Fri Nov 30 18:02:59 2018
New Revision: 341346
URL: https://svnweb.freebsd.org/changeset/base/341346
Log:
Add missing display messages when toggling modes.
PR: 233667
Submitted by: James Wright
MFC after:1 week
Differential Revision:https://re
Author: markj
Date: Sat Dec 1 17:48:28 2018
New Revision: 341376
URL: https://svnweb.freebsd.org/changeset/base/341376
Log:
MFC r340861, r340900:
Minor kevent(2) cleanups.
Modified:
stable/12/sys/compat/linux/linux_event.c
stable/12/sys/kern/kern_event.c
stable/12/sys/kern/vfs_aio.c
Author: markj
Date: Sun Dec 2 18:08:27 2018
New Revision: 341401
URL: https://svnweb.freebsd.org/changeset/base/341401
Log:
MFC r341247:
Update the free page count when blacklisting pages.
PR: 231296
Modified:
stable/11/sys/vm/vm_page.c
Directory Properties:
stable/11/ (props ch
Author: markj
Date: Mon Dec 3 15:14:40 2018
New Revision: 341426
URL: https://svnweb.freebsd.org/changeset/base/341426
Log:
MFC r341001:
Check for an allocation failure before dereferencing the pointer.
Modified:
stable/12/sys/dev/cxgbe/cxgbei/cxgbei.c
Directory Properties:
stable/12/
Author: markj
Date: Mon Dec 3 20:54:17 2018
New Revision: 341442
URL: https://svnweb.freebsd.org/changeset/base/341442
Log:
Plug memory disclosures via ptrace(2).
On some architectures, the structures returned by PT_GET*REGS were not
fully populated and could contain uninitialized stack
Author: markj
Date: Mon Dec 3 21:07:10 2018
New Revision: 341443
URL: https://svnweb.freebsd.org/changeset/base/341443
Log:
Add a missing definition for the !COMPAT_FREEBSD32 case.
Reported by: jenkins
MFC with: r341442
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/ke
Author: markj
Date: Tue Dec 4 19:06:11 2018
New Revision: 341490
URL: https://svnweb.freebsd.org/changeset/base/341490
Log:
MFC r341442, r341443:
Plug memory disclosures via ptrace(2).
Modified:
stable/12/sys/amd64/amd64/machdep.c
stable/12/sys/amd64/ia32/ia32_reg.c
stable/12/sys/arm/a
Author: markj
Date: Tue Dec 4 19:07:10 2018
New Revision: 341491
URL: https://svnweb.freebsd.org/changeset/base/341491
Log:
MFC r341442, r341443:
Plug memory disclosures via ptrace(2).
Modified:
stable/11/sys/amd64/amd64/machdep.c
stable/11/sys/amd64/ia32/ia32_reg.c
stable/11/sys/arm/a
Author: markj
Date: Wed Dec 5 16:55:45 2018
New Revision: 341594
URL: https://svnweb.freebsd.org/changeset/base/341594
Log:
Netdump support was added to mlx4en(4) in r341548.
MFC with: r341548
Modified:
head/share/man/man4/netdump.4
Modified: head/share/man/man4/netdump.4
=
Author: markj
Date: Wed Dec 5 17:06:00 2018
New Revision: 341595
URL: https://svnweb.freebsd.org/changeset/base/341595
Log:
Clamp the INPCB port hash tables to IPPORT_MAX + 1 chains.
Memory beyond that limit was previously unused, wasting roughly 1MB per
8GB of RAM. Also retire INP_PCBL
Author: markj
Date: Wed Dec 5 18:19:29 2018
New Revision: 341601
URL: https://svnweb.freebsd.org/changeset/base/341601
Log:
ixl(4) has netdump support via iflib.
Reported by: kbowling
MFC after:3 days
Modified:
head/share/man/man4/netdump.4
Modified: head/share/man/man4/netdump.
Author: markj
Date: Thu Dec 6 17:29:37 2018
New Revision: 341638
URL: https://svnweb.freebsd.org/changeset/base/341638
Log:
Let kern.trap_enotcap be set as a tunable.
This is handy for testing programs that are run by rc.
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Mo
Author: markj
Date: Thu Dec 6 20:03:06 2018
New Revision: 341648
URL: https://svnweb.freebsd.org/changeset/base/341648
Log:
Add zdopen(3) to complement zopen(3).
zdopen() can be used in capability mode. Update zopen.3 accordingly
and fix some grammar nits while I'm here.
Reviewed b
Author: markj
Date: Fri Dec 7 15:48:42 2018
New Revision: 341691
URL: https://svnweb.freebsd.org/changeset/base/341691
Log:
MFC r341346:
Add missing display messages when toggling modes.
PR: 233667
Modified:
stable/12/usr.bin/top/top.c
Directory Properties:
stable/12/ (props cha
Author: markj
Date: Fri Dec 7 15:52:50 2018
New Revision: 341692
URL: https://svnweb.freebsd.org/changeset/base/341692
Log:
Let the cap_syslog capability inherit stdio descriptors.
Otherwise cap_openlog(LOG_PERROR) doesn't work.
Reviewed by: oshogbo
MFC after:1 week
Sponsored
Author: markj
Date: Fri Dec 7 15:55:23 2018
New Revision: 341693
URL: https://svnweb.freebsd.org/changeset/base/341693
Log:
Rename sptbr to satp per v1.10 of the privileged architecture spec.
Add a subroutine for updating satp, for use when updating the
active pmap. No functional change
Author: markj
Date: Fri Dec 7 15:56:40 2018
New Revision: 341694
URL: https://svnweb.freebsd.org/changeset/base/341694
Log:
Update the description of the address space layout on RISC-V.
This adds more detail and fixes some inaccuracies.
Reviewed by: jhb
MFC after:1 week
Spons
Author: markj
Date: Tue Dec 11 02:15:56 2018
New Revision: 341807
URL: https://svnweb.freebsd.org/changeset/base/341807
Log:
Use inline tests for individual PTE bits in the RISC-V pmap.
Inline tests for PTE_* bits are easy to read and don't really require a
predicate function, and predica
Author: markj
Date: Tue Dec 11 02:16:27 2018
New Revision: 341808
URL: https://svnweb.freebsd.org/changeset/base/341808
Log:
Remove an unused malloc(9) type.
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/riscv/riscv/pmap.c
Modified: head/sys/riscv/riscv/
Author: markj
Date: Tue Dec 11 16:49:01 2018
New Revision: 341821
URL: https://svnweb.freebsd.org/changeset/base/341821
Log:
Fix the PAE kernel gcc build.
The error was caused by map_ucode() casting a vm_paddr_t to a void *.
Use a uintptr_t instead to match the caller. Fix some style bug
Author: markj
Date: Wed Dec 12 02:33:01 2018
New Revision: 341837
URL: https://svnweb.freebsd.org/changeset/base/341837
Log:
Use Capsicum helpers in ping(8).
Also use caph_cache_catpages() to ensure that strerror() works when
run with kern.trap_enotcap=1.
Reviewed by: oshogbo
MFC
Author: markj
Date: Wed Dec 12 15:49:14 2018
New Revision: 341990
URL: https://svnweb.freebsd.org/changeset/base/341990
Log:
Fix a possible mbuf double free in bwn_dma_tx_start().
If bus_dmamap_load_mbuf() fails following a defrag, the caller of
bwn_dma_tx_start() would free the original
Author: markj
Date: Thu Dec 13 15:51:07 2018
New Revision: 342047
URL: https://svnweb.freebsd.org/changeset/base/342047
Log:
MFC r341638:
Let kern.trap_enotcap be set as a tunable.
Modified:
stable/12/sys/kern/sys_capability.c
Directory Properties:
stable/12/ (props changed)
Modified:
Author: markj
Date: Thu Dec 13 16:07:35 2018
New Revision: 342048
URL: https://svnweb.freebsd.org/changeset/base/342048
Log:
MFC r340405:
Add accounting to per-domain UMA full bucket caches.
Modified:
stable/12/sys/vm/uma_core.c
stable/12/sys/vm/uma_int.h
Directory Properties:
stable/12
Author: markj
Date: Fri Dec 14 18:16:35 2018
New Revision: 342086
URL: https://svnweb.freebsd.org/changeset/base/342086
Log:
Add support for the nForce MCP89 adapter.
PR: 234015
Submitted by: Andrejs Bogdanovs
MFC after:1 week
Modified:
head/sys/dev/nfe/if_nfe.c
head
Author: markj
Date: Fri Dec 14 18:38:10 2018
New Revision: 342089
URL: https://svnweb.freebsd.org/changeset/base/342089
Log:
MFC r341692:
Let the cap_syslog capability inherit stdio descriptors.
Modified:
stable/12/lib/libcasper/services/cap_syslog/cap_syslog.c
Directory Properties:
stabl
Author: markj
Date: Fri Dec 14 18:39:06 2018
New Revision: 342090
URL: https://svnweb.freebsd.org/changeset/base/342090
Log:
MFC r341693:
Rename sptbr to satp per v1.10 of the privileged architecture spec.
Modified:
stable/12/sys/riscv/include/cpufunc.h
stable/12/sys/riscv/riscv/locore.S
Author: markj
Date: Fri Dec 14 18:40:08 2018
New Revision: 342092
URL: https://svnweb.freebsd.org/changeset/base/342092
Log:
MFC r341694:
Update the description of the address space layout on RISC-V.
Modified:
stable/12/sys/riscv/include/vmparam.h
Directory Properties:
stable/12/ (props
Author: markj
Date: Fri Dec 14 18:50:32 2018
New Revision: 342093
URL: https://svnweb.freebsd.org/changeset/base/342093
Log:
Clean up the riscv pmap_bootstrap() implementation.
- Build up phys_avail[] in a single loop, excluding memory used by
the loaded kernel.
- Fix an array indexin
Author: markj
Date: Fri Dec 14 20:57:57 2018
New Revision: 342096
URL: https://svnweb.freebsd.org/changeset/base/342096
Log:
Enable witness(4) in the RISC-V GENERIC config.
Reviewed by: jhb
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Differential Revision:https:
Author: markj
Date: Fri Dec 14 21:00:41 2018
New Revision: 342097
URL: https://svnweb.freebsd.org/changeset/base/342097
Log:
Add a QEMU config for RISC-V.
Reviewed by: jhb
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Differential Revision:https://reviews.freebsd.
Author: markj
Date: Fri Dec 14 21:03:01 2018
New Revision: 342098
URL: https://svnweb.freebsd.org/changeset/base/342098
Log:
Assume that pmap_l1() will return a PTE.
pmaps on RISC-V always have an L1 page table page, so we don't need to
check for this when performing lookups.
Reviewe
Author: markj
Date: Fri Dec 14 21:04:30 2018
New Revision: 342099
URL: https://svnweb.freebsd.org/changeset/base/342099
Log:
Avoid needless TLB invalidations in pmap_remove_pages().
pmap_remove_pages() is called during process termination, when it is
guaranteed that no other CPU may acces
Author: markj
Date: Fri Dec 14 21:07:12 2018
New Revision: 342100
URL: https://svnweb.freebsd.org/changeset/base/342100
Log:
Add some more checking to the RISC-V page fault handler.
- Panic immediately if witness says we're holding non-sleepable locks.
This helps ensure that we don't re
Author: markj
Date: Sat Dec 15 19:56:51 2018
New Revision: 342137
URL: https://svnweb.freebsd.org/changeset/base/342137
Log:
MFC r341990:
Fix a possible mbuf double free in bwn_dma_tx_start().
admbug: 820
Modified:
stable/12/sys/dev/bwn/if_bwn.c
Directory Properties:
stable/12/
Author: markj
Date: Sat Dec 15 20:07:32 2018
New Revision: 342138
URL: https://svnweb.freebsd.org/changeset/base/342138
Log:
MFC r341990:
Fix a possible mbuf double free in bwn_dma_tx_start().
Modified:
stable/11/sys/dev/bwn/if_bwn.c
Modified: stable/11/sys/dev/bwn/if_bwn.c
===
Author: markj
Date: Mon Dec 17 21:13:05 2018
New Revision: 342178
URL: https://svnweb.freebsd.org/changeset/base/342178
Log:
Revert r336326.
In testing on a Dell Latitude 7480, having ig4.ko loaded during a
suspend caused the system to hang. It turns out that ig4iic_intr() was
being ca
Author: markj
Date: Mon Dec 17 21:34:09 2018
New Revision: 342180
URL: https://svnweb.freebsd.org/changeset/base/342180
Log:
Catch up with r338948.
MFC with: r342178
Modified:
head/sys/dev/ichiic/ig4_pci.c
Modified: head/sys/dev/ichiic/ig4_pci.c
=
Author: markj
Date: Mon Dec 17 21:48:20 2018
New Revision: 342182
URL: https://svnweb.freebsd.org/changeset/base/342182
Log:
Remove UMS support code from radeonkms.
The code is unreachable since the entries of radeon_ioctls[] are not
associated with any device: we provide only the KMS ent
Author: markj
Date: Tue Dec 18 16:47:03 2018
New Revision: 342192
URL: https://svnweb.freebsd.org/changeset/base/342192
Log:
Use caph_enter_casper() in ping(8).
Reported by: oshogbo
MFC with: r341837
Sponsored by: The FreeBSD Foundation
Modified:
head/sbin/ping/ping.c
Modified:
Author: markj
Date: Tue Dec 18 20:12:43 2018
New Revision: 342199
URL: https://svnweb.freebsd.org/changeset/base/342199
Log:
MFC r341821:
Fix the PAE kernel gcc build.
Modified:
stable/12/sys/x86/x86/ucode.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/x86/x
Author: markj
Date: Tue Dec 18 20:13:45 2018
New Revision: 342200
URL: https://svnweb.freebsd.org/changeset/base/342200
Log:
MFC r341807:
Use inline tests for individual PTE bits in the RISC-V pmap.
Modified:
stable/12/sys/riscv/riscv/pmap.c
Directory Properties:
stable/12/ (props chang
Author: markj
Date: Tue Dec 18 20:14:33 2018
New Revision: 342201
URL: https://svnweb.freebsd.org/changeset/base/342201
Log:
MFC r341808:
Remove an unused malloc(9) type.
Modified:
stable/12/sys/riscv/riscv/pmap.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys
Author: markj
Date: Tue Dec 18 20:16:46 2018
New Revision: 342202
URL: https://svnweb.freebsd.org/changeset/base/342202
Log:
MFC r341594, r341601:
mlx4en(4) and ixl(4) have netdump support.
Modified:
stable/12/share/man/man4/netdump.4
Directory Properties:
stable/12/ (props changed)
Mo
Author: markj
Date: Tue Dec 18 21:01:48 2018
New Revision: 342203
URL: https://svnweb.freebsd.org/changeset/base/342203
Log:
MFC r340402, r340914 (by alc), r341602 (by alc), r341766 (by alc):
Allow allocations across meta boundaries.
Modified:
stable/12/sys/kern/subr_blist.c
stable/12/sys
Author: markj
Date: Wed Dec 19 00:17:22 2018
New Revision: 342207
URL: https://svnweb.freebsd.org/changeset/base/342207
Log:
Fix DDB's "show malloc" after r338899.
MFC after:3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/kern_malloc.c
Modified: head/sys/kern/k
Author: markj
Date: Wed Dec 19 04:54:32 2018
New Revision: 342214
URL: https://svnweb.freebsd.org/changeset/base/342214
Log:
Remove a use of a negative array index from fxp(4).
This fixes a warning seen when compiling amd64 GENERIC with clang 7.
Also remove the workaround added in r337324
Author: markj
Date: Wed Dec 19 17:40:45 2018
New Revision: 342219
URL: https://svnweb.freebsd.org/changeset/base/342219
Log:
MFC r341837, r342192:
Use Capsicum helpers in ping(8).
Modified:
stable/12/sbin/ping/ping.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/
Author: markj
Date: Wed Dec 19 17:42:39 2018
New Revision: 342220
URL: https://svnweb.freebsd.org/changeset/base/342220
Log:
MFC r341595:
Clamp the INPCB port hash tables to IPPORT_MAX + 1 chains.
Modified:
stable/12/sys/netinet/in_pcb.c
stable/12/sys/netinet/in_pcb.h
stable/12/sys/neti
901 - 1000 of 3717 matches
Mail list logo