Author: rmacklem
Date: Wed Sep 16 02:25:18 2020
New Revision: 365789
URL: https://svnweb.freebsd.org/changeset/base/365789
Log:
Fix a LOR between the NFS server and server side krpc.
Recent testing of the NFS-over-TLS code found a LOR between the mutex lock
used for sessions and the
Author: markj
Date: Tue Sep 15 23:03:56 2020
New Revision: 365788
URL: https://svnweb.freebsd.org/changeset/base/365788
Log:
Fix locking in uipc_accept().
Reported by: cy
MFC after:1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/kern/uipc_usrreq.c
Modified:
Author: kib
Date: Tue Sep 15 22:19:16 2020
New Revision: 365787
URL: https://svnweb.freebsd.org/changeset/base/365787
Log:
Add tmpfs page cache read support.
Or it could be explained as lockless (for vnode lock) reads. Reads
are performed from the node tn_obj object. Tmpfs regular
Author: kib
Date: Tue Sep 15 22:13:21 2020
New Revision: 365786
URL: https://svnweb.freebsd.org/changeset/base/365786
Log:
Microoptimize tmpfs node ref/unref by using atomics.
Avoid tmpfs mount and node locks when ref count is greater than zero,
which is the case until node is being
Author: kib
Date: Tue Sep 15 22:06:36 2020
New Revision: 365785
URL: https://svnweb.freebsd.org/changeset/base/365785
Log:
Convert page cache read to VOP.
There are several negative side-effects of not calling into VOP layer
at all for page cache reads. The biggest is the missed
Author: kib
Date: Tue Sep 15 22:00:58 2020
New Revision: 365784
URL: https://svnweb.freebsd.org/changeset/base/365784
Log:
vfs_subr.c: export io_hold_cnt and vn_read_from_obj().
Reviewed by: markj
Tested by:pho
Sponsored by: The FreeBSD Foundation
Differential revision:
Author: kib
Date: Tue Sep 15 21:55:21 2020
New Revision: 365783
URL: https://svnweb.freebsd.org/changeset/base/365783
Log:
Do not copy vp into f_data for DTYPE_VNODE files.
The pointer to vnode is already stored into f_vnode, so f_data can be
reused. Fix all found users of f_data for
version of current across the gcc/clang cutover is a bit fragile.
+20200915 p14 FreeBSD-SA-20:27.ure
+ FreeBSD-SA-20:28.bhyve_vmcs
+ FreeBSD-SA-20:29.bhyve_svm
+ FreeBSD-SA-20:30.ftpd
+
+Fix ure device driver
Author: gordon
Date: Tue Sep 15 21:47:44 2020
New Revision: 365781
URL: https://svnweb.freebsd.org/changeset/base/365781
Log:
Fix ftpd privilege escalation via ftpchroot.
Approved by: so
Approved by: re (implicit for releng/12.2)
Security: FreeBSD-SA-20:30.ftpd
Security:
Author: gordon
Date: Tue Sep 15 21:46:39 2020
New Revision: 365780
URL: https://svnweb.freebsd.org/changeset/base/365780
Log:
Fix bhyve SVM guest escape.
This actually has a patch to sys/amd64/vmm/amd/svm.c that was accidentally
committed as part of r365779.
Approved by: so
Author: gordon
Date: Tue Sep 15 21:43:41 2020
New Revision: 365779
URL: https://svnweb.freebsd.org/changeset/base/365779
Log:
Fix bhyve privilege escalation via VMCS access.
Approved by: so
Approved by: re (implicit for releng/12.2)
Security: FreeBSD-SA-20:28.bhyve_vmcs
Author: gordon
Date: Tue Sep 15 21:42:05 2020
New Revision: 365778
URL: https://svnweb.freebsd.org/changeset/base/365778
Log:
Fix ure device driver susceptible to packet-in-packet attack.
Approved by: so
Approved by: re (implicit for releng/12.2)
Security: FreeBSD-SA-20:27.ure
Author: emaste
Date: Tue Sep 15 21:28:47 2020
New Revision: 365777
URL: https://svnweb.freebsd.org/changeset/base/365777
Log:
MFC r365775: bhyve: do not permit write access to VMCB / VMCS
Reported by: Patrick Mooney
Submitted by: jhb
Security: CVE-2020-24718
Modified:
Author: emaste
Date: Tue Sep 15 21:28:47 2020
New Revision: 365777
URL: https://svnweb.freebsd.org/changeset/base/365777
Log:
MFC r365775: bhyve: do not permit write access to VMCB / VMCS
Reported by: Patrick Mooney
Submitted by: jhb
Security: CVE-2020-24718
Modified:
Author: erj
Date: Tue Sep 15 21:07:30 2020
New Revision: 365776
URL: https://svnweb.freebsd.org/changeset/base/365776
Log:
e1000: Properly retain promisc flag
From Franco:
The iflib rewrite forced the promisc flag but it was not reported
to the system. Noticed on a stock VM that went
Author: emaste
Date: Tue Sep 15 21:04:27 2020
New Revision: 365775
URL: https://svnweb.freebsd.org/changeset/base/365775
Log:
bhyve: do not permit write access to VMCB / VMCS
Reported by: Patrick Mooney
Submitted by: jhb
Security: CVE-2020-24718
Modified:
Author: erj
Date: Tue Sep 15 21:00:25 2020
New Revision: 365774
URL: https://svnweb.freebsd.org/changeset/base/365774
Log:
igb(4): Fix define and includes with RSS option enabled
This re-adds the opt_rss.h header to the driver and includes some
RSS-specific headers when RSS is defined.
Author: markj
Date: Tue Sep 15 20:56:14 2020
New Revision: 365773
URL: https://svnweb.freebsd.org/changeset/base/365773
Log:
MFC r365771:
ftpd: Exit during authentication if an error occurs after chroot().
admbug: 969
Security: CVE-2020-7468
Modified:
Author: markj
Date: Tue Sep 15 20:55:13 2020
New Revision: 365772
URL: https://svnweb.freebsd.org/changeset/base/365772
Log:
MFC r365771:
ftpd: Exit during authentication if an error occurs after chroot().
admbug: 969
Security: CVE-2020-7468
Modified:
Author: markj
Date: Tue Sep 15 20:54:18 2020
New Revision: 365771
URL: https://svnweb.freebsd.org/changeset/base/365771
Log:
ftpd: Exit during authentication if an error occurs after chroot().
admbug: 969
Security: CVE-2020-7468
Modified:
head/libexec/ftpd/ftpd.c
Author: bdragon
Date: Tue Sep 15 20:47:33 2020
New Revision: 365770
URL: https://svnweb.freebsd.org/changeset/base/365770
Log:
[PowerPC64LE] Use correct in_masks table on LE to fix checksumming
Due to a check that should have been an endian check being an #if 0,
the wrong checksum mask
Author: kib
Date: Tue Sep 15 20:26:31 2020
New Revision: 365769
URL: https://svnweb.freebsd.org/changeset/base/365769
Log:
MFC r365766:
bhyve: intercept AMD SVM instructions.
CVE: CVE-2020-7467
Modified:
stable/11/sys/amd64/vmm/amd/svm.c
stable/11/sys/amd64/vmm/amd/vmcb.h
Directory
Author: kib
Date: Tue Sep 15 20:25:30 2020
New Revision: 365767
URL: https://svnweb.freebsd.org/changeset/base/365767
Log:
MFC r365766:
bhyve: intercept AMD SVM instructions.
CVE: CVE-2020-7467
Modified:
stable/12/sys/amd64/vmm/amd/svm.c
stable/12/sys/amd64/vmm/amd/vmcb.h
Directory
Author: bdragon
Date: Tue Sep 15 20:25:38 2020
New Revision: 365768
URL: https://svnweb.freebsd.org/changeset/base/365768
Log:
[PowerPC64LE] Set up the powernv partition table correctly.
The partition table is always big endian.
Sponsored by: Tag1 Consulting, Inc.
Modified:
Author: kib
Date: Tue Sep 15 20:22:50 2020
New Revision: 365766
URL: https://svnweb.freebsd.org/changeset/base/365766
Log:
bhyve: intercept AMD SVM instructions.
Intercept and report #UD to VM on SVM/AMD in case VM tried to execute an
SVM instruction. Otherwise, SVM allows execution of
Author: markj
Date: Tue Sep 15 19:23:42 2020
New Revision: 365765
URL: https://svnweb.freebsd.org/changeset/base/365765
Log:
Fix locking in uipc_accept().
This function wasn't converted to use the new locking protocol in
r333744. Make it use the PCB lock for synchronizing connection
Author: markj
Date: Tue Sep 15 19:23:22 2020
New Revision: 365764
URL: https://svnweb.freebsd.org/changeset/base/365764
Log:
Simplify unix socket connection peer locking.
unp_pcb_owned_lock2() has some sharp edges and forces callers to deal
with a bunch of cases. Simplify it:
-
Author: markj
Date: Tue Sep 15 19:22:37 2020
New Revision: 365762
URL: https://svnweb.freebsd.org/changeset/base/365762
Log:
Simplify unp_disconnect() callers.
In all cases, PCBs are unlocked after unp_disconnect() returns. Since
unp_disconnect() may release the last PCB reference,
Author: markj
Date: Tue Sep 15 19:23:01 2020
New Revision: 365763
URL: https://svnweb.freebsd.org/changeset/base/365763
Log:
Avoid an unnecessary malloc() when connecting dgram sockets.
The allocated memory is only required for SOCK_STREAM and SOCK_SEQPACKET
sockets.
Reviewed by:
Author: markj
Date: Tue Sep 15 19:22:16 2020
New Revision: 365761
URL: https://svnweb.freebsd.org/changeset/base/365761
Log:
Rename unp_pcb_lock2().
unp_pcb_lock_pair() seems like a better name. Also make it handle the
case where the two sockets are the same instead of making callers do
Author: markj
Date: Tue Sep 15 19:21:58 2020
New Revision: 365760
URL: https://svnweb.freebsd.org/changeset/base/365760
Log:
Improve unix socket PCB refcounting.
- Use refcount_init().
- Define an INVARIANTS-only zone destructor to assert that various
bits of PCB state aren't left
Author: markj
Date: Tue Sep 15 19:21:33 2020
New Revision: 365759
URL: https://svnweb.freebsd.org/changeset/base/365759
Log:
Update unix domain socket locking comments.
- Define a locking key for unpcb members.
- Rewrite some of the locking protocol description to make it less
Author: dim
Date: Tue Sep 15 18:56:14 2020
New Revision: 365758
URL: https://svnweb.freebsd.org/changeset/base/365758
Log:
Tag llvm-project branch release/11.x llvmorg-11.0.0-rc2-91-g6e042866c30.
Added:
vendor/llvm-project/llvmorg-11.0.0-rc2-91-g6e042866c30/
- copied from r365757,
Author: dim
Date: Tue Sep 15 18:55:37 2020
New Revision: 365757
URL: https://svnweb.freebsd.org/changeset/base/365757
Log:
Vendor import of llvm-project branch release/11.x
llvmorg-11.0.0-rc2-91-g6e042866c30.
Modified:
vendor/llvm-project/release-11.x/clang/include/clang/AST/ASTContext.h
Author: kevans
Date: Tue Sep 15 17:13:29 2020
New Revision: 365756
URL: https://svnweb.freebsd.org/changeset/base/365756
Log:
certctl: fix unprivileged mode
The first issue was lack of quoting around INSTALLFLAGS, which set it
incorrectly and produced an error on -M.
The second
Author: trasz
Date: Tue Sep 15 16:41:21 2020
New Revision: 365755
URL: https://svnweb.freebsd.org/changeset/base/365755
Log:
Move SV_ABI_ERRNO translation into linux-specific code, to simplify
the syscall path and declutter it a bit. No functional changes intended.
Reviewed by: kib
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: se
Date: Tue Sep 15 16:38:44 2020
New Revision: 365754
URL: https://svnweb.freebsd.org/changeset/base/365754
Log:
src.conf.5: regen after r365753
Modified:
head/share/man/man5/src.conf.5
Modified: head/share/man/man5/src.conf.5
Author: se
Date: Tue Sep 15 16:22:05 2020
New Revision: 365753
URL: https://svnweb.freebsd.org/changeset/base/365753
Log:
Add descriptions of the WITH_(OUT)_GH_BC options that exist in -CURRENT
(default: WITH_GH_BC) and 12-STABLE (default: WITHOUT_GH_BC).
Since the new implementation of
Author: imp
Date: Tue Sep 15 15:21:29 2020
New Revision: 365751
URL: https://svnweb.freebsd.org/changeset/base/365751
Log:
Include sys/types.h here
It's included by header pollution in most of the compile
environments. However, in the standalone envirnment, it's not
included. Go ahead
On Tue, Sep 15, 2020 at 8:37 AM Mark Johnston wrote:
> On Tue, Sep 15, 2020 at 10:22:09AM -0400, Mark Johnston wrote:
> > On Tue, Sep 15, 2020 at 05:15:30PM +0300, Konstantin Belousov wrote:
> > > On Sat, Aug 29, 2020 at 04:29:53AM +, Warner Losh wrote:
> > > > Author: imp
> > > > Date: Sat
On Tue, Sep 15, 2020, 8:22 AM Mark Johnston wrote:
> On Tue, Sep 15, 2020 at 05:15:30PM +0300, Konstantin Belousov wrote:
> > On Sat, Aug 29, 2020 at 04:29:53AM +, Warner Losh wrote:
> > > Author: imp
> > > Date: Sat Aug 29 04:29:53 2020
> > > New Revision: 364944
> > > URL:
On Tue, Sep 15, 2020 at 10:22:09AM -0400, Mark Johnston wrote:
> On Tue, Sep 15, 2020 at 05:15:30PM +0300, Konstantin Belousov wrote:
> > On Sat, Aug 29, 2020 at 04:29:53AM +, Warner Losh wrote:
> > > Author: imp
> > > Date: Sat Aug 29 04:29:53 2020
> > > New Revision: 364944
> > > URL:
On Tue, Sep 15, 2020 at 05:15:30PM +0300, Konstantin Belousov wrote:
> On Sat, Aug 29, 2020 at 04:29:53AM +, Warner Losh wrote:
> > Author: imp
> > Date: Sat Aug 29 04:29:53 2020
> > New Revision: 364944
> > URL: https://svnweb.freebsd.org/changeset/base/364944
> >
> > Log:
> > devctl: move
On Sat, Aug 29, 2020 at 04:29:53AM +, Warner Losh wrote:
> Author: imp
> Date: Sat Aug 29 04:29:53 2020
> New Revision: 364944
> URL: https://svnweb.freebsd.org/changeset/base/364944
>
> Log:
> devctl: move to using a uma zone
>
> Convert the memory management of devctl. Rewrite if to
Author: andrew
Date: Tue Sep 15 14:15:04 2020
New Revision: 365750
URL: https://svnweb.freebsd.org/changeset/base/365750
Log:
Use ATTR_DEFAULT in the arm64 locore.S
We can use ATTR_DEFAULT directly in locore.S as it fits within an orr
instruction operand.
Sponsored by: Innovate UK
Author: markj
Date: Tue Sep 15 13:36:19 2020
New Revision: 365749
URL: https://svnweb.freebsd.org/changeset/base/365749
Log:
Fix some posixshmcontrol nits.
- Exit with an error if no path is specified.
- Man page typo.
- Error message typo.
Reviewed by: kib
Sponsored by:
Author: lwhsu
Date: Tue Sep 15 12:34:01 2020
New Revision: 365748
URL: https://svnweb.freebsd.org/changeset/base/365748
Log:
MFC r365606 and MF12 r365744:
urndis(4): Add support of Inseego/Novatel Wireless MiFi 8800/8000
PR: 245152
Submitted by: rootl...@gmail.com
Author: gbe (doc committer)
Date: Tue Sep 15 09:27:01 2020
New Revision: 365747
URL: https://svnweb.freebsd.org/changeset/base/365747
Log:
MFC r365458: sort(1): Remove duplicate option check
Reviewed by: lwhsu, emaste
Approved by: emaste
Obtained from:DragonFlyBSD
Author: ae
Date: Tue Sep 15 08:54:00 2020
New Revision: 365746
URL: https://svnweb.freebsd.org/changeset/base/365746
Log:
MFC r365449:
Add a few features to rcorder:
o Enhance dependency loop logging: print full chain instead of the
last link competing the loop;
o Add -g
Author: ae
Date: Tue Sep 15 08:52:36 2020
New Revision: 365745
URL: https://svnweb.freebsd.org/changeset/base/365745
Log:
MFC r365449:
Add a few features to rcorder:
o Enhance dependency loop logging: print full chain instead of the
last link competing the loop;
o Add -g
Author: lwhsu
Date: Tue Sep 15 06:14:00 2020
New Revision: 365744
URL: https://svnweb.freebsd.org/changeset/base/365744
Log:
MFC r365606:
urndis(4): Add support of Inseego/Novatel Wireless MiFi 8800/8000
PR: 245152
Submitted by: rootl...@gmail.com
Reviewed by: hselasky
Author: lwhsu
Date: Tue Sep 15 06:12:30 2020
New Revision: 365743
URL: https://svnweb.freebsd.org/changeset/base/365743
Log:
MFC r365606:
urndis(4): Add support of Inseego/Novatel Wireless MiFi 8800/8000
PR: 245152
Submitted by: rootl...@gmail.com
Reviewed by: hselasky
53 matches
Mail list logo