aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* LinuxKPI: return an address string in pci_name()HEADmainVal Packett9 min.2-2/+6
| | | | | | | | | | | | | | | | | | amdgpu's virtual display feature uses pci_name() to match a module parameter string, and the documentation shows an example of `0000:26:00.0` for the name. In our case the name was just `drmn`, which is not actually unique across devices. The other consumers are wireless drivers, which will benefit from this change. Generate the expected string for pci_name() to return. Related to: https://github.com/freebsd/drm-kmod/issues/134 Sponsored by: https://www.patreon.com/valpackett Reviewed by: bz, hselasky, manu (earlier) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34248
* ssh: update to OpenSSH 9.2p1Ed Maste11 min.131-8094/+9961
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes are available at https://www.openssh.com/txt/release-9.2 OpenSSH 9.2 contains fixes for two security problems and a memory safety problem. The memory safety problem is not believed to be exploitable. These fixes have already been committed to OpenSSH 9.1 in FreeBSD. Some other notable items from the release notes: * ssh(1): add a new EnableEscapeCommandline ssh_config(5) option that controls whether the client-side ~C escape sequence that provides a command-line is available. Among other things, the ~C command-line could be used to add additional port-forwards at runtime. * sshd(8): add support for channel inactivity timeouts via a new sshd_config(5) ChannelTimeout directive. This allows channels that have not seen traffic in a configurable interval to be automatically closed. Different timeouts may be applied to session, X11, agent and TCP forwarding channels. * sshd(8): add a sshd_config UnusedConnectionTimeout option to terminate client connections that have no open channels for a length of time. This complements the ChannelTimeout option above. * sshd(8): add a -V (version) option to sshd like the ssh client has. * scp(1), sftp(1): add a -X option to both scp(1) and sftp(1) to allow control over some SFTP protocol parameters: the copy buffer length and the number of in-flight requests, both of which are used during upload/download. Previously these could be controlled in sftp(1) only. This makes them available in both SFTP protocol clients using the same option character sequence. * ssh-keyscan(1): allow scanning of complete CIDR address ranges, e.g. "ssh-keyscan 192.168.0.0/24". If a CIDR range is passed, then it will be expanded to all possible addresses in the range including the all-0s and all-1s addresses. bz#976 * ssh(1): support dynamic remote port forwarding in escape command-line's -R processing. bz#3499 MFC after: 1 week Sponsored by: The FreeBSD Foundation
| * Vendor import of OpenSSH 9.2p1vendor/openssh/9.2p1vendor/opensshEd Maste28 hours146-8167/+10319
| |
* | ccr,ccp: Fix argument order to sglist_append_vmpages.John Baldwin14 min.2-2/+2
| | | | | | | | | | | | | | | | | | | | The offset comes before the byte count. Reported by: br Reviewed by: asomers, markj MFC after: 1 week Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D38375
* | contrib/bc: uodate to version 6.2.4Stefan Eßer32 min.59-117/+471
| | | | | | | | | | | | | | | | This update contains only documentation changes (new main repository URL and changed mail address of the program author) and changes to the build system that do not affect the FreeBSD base system build. MFC after: 3 days
* | enic: convert to IfAPIDoug Ambrisko46 min.2-11/+11
| | | | | | | | Prompted by: jhibbits
* | Fix _REVISION to be always major.minorEugene M. Kim63 min.1-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduced in commit 613fe53, _REVISION was redefined to be just the major version (14) instead of major.minor (14.0) iff: - PKG_VERSION was not overridden (default), and - Branch was -CURRENT, -STABLE, or -PRERELEASE. This introduced side effects in other parts of the code which expected _REVISION to be major.minor: - make-pkg-package.sh target triple became amd64-portbld-freebsd14 (should be amd64-portbld-freebsd14.0); - Versioned cross dev symlink name became amd64-freebsd14-<tool> (should be amd64-freebsd14.0-<tool>) Also, compounded with commit ea9a92d (which was introduced afterward and removed minor version from _REVISION incorrectly using :S with a regex) this also caused pkgbase repo to use a wrong PKG_ABI with a minor version (FreeBSD:14.0:amd64) when a custom PKG_VERSION was specified. (Note, without a custom PKG_VERSION the bug was not triggered because in that case _REVISION was already major-only.) This commit fixes both problems by introducing and using MAJOR_REVISION instead of redefining _REVISION. Existing uses of _REVISION now see major.minor again, except PKG_ABI (ex: FreeBSD:14:amd64, as described above) and PKG_VERSION (ex: 14.snap20220311121531) need only the major version and now use MAJOR_REVISION instead. PR: 262600, 262601 Reviewed by: imp, emaste Pull Request: https://github.com/freebsd/freebsd-src/pull/592
* | mge(4): Fix build after IfAPI conversionJustin Hibbits69 min.1-8/+8
| | | | | | | | | | Fixes: 98fe10c8fc08 Sponsored by: Juniper Networks, Inc.
* | sbni(4): Fix i386 buildJustin Hibbits69 min.1-1/+1
| | | | | | | | | | Fixes: 3fba06ad Sponsored by: Juniper Networks, Inc.
* | db_printf: fix a typoMaxim Konovalov85 min.1-1/+1
| | | | | | | | PR: 269377
* | md5/tests: extend md5 testStefan Eßer100 min.1-2/+2
| | | | | | | | | | | | | | | | | | | | The testloop function is called with various parameters, but those were ignored in the coreutils-c-test script. This was an oversight and is fixed by passing the option to all invocations of the hash functions in this test script. Reported by: des MFC after: 3 days
* | tsec(4): Fix the build from IfAPI conversionJustin Hibbits102 min.1-3/+3
| | | | | | | | | | Fixes: 47842ecfe Sponsored by: Juniper Networks, Inc.
* | libdtrace: add riscv supportMitchell Horne3 hours1-7/+103
| | | | | | | | | | | | | | | | | | | | | | Largely untested, as we can't really do anything with user probes without an implementation of fasttrap. However, this is enough to generate an embedded dtrace program with `dtrace -G` and link the generated ELF file. Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38301
* | libdtrace: drop remaining mips supportMitchell Horne3 hours2-28/+2
| | | | | | | | | | | | Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38300
* | dtrace: implement riscv dtrace_getustackdepth()Mitchell Horne3 hours1-4/+27
| | | | | | | | | | | | | | | | | | | | Pretty trivial following other implementations. The existing dtrace_getustack_common() does most of the work. Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38303
* | dtrace: Fix RISC-V user stack unwinderJessica Clarke3 hours2-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | The unwind logic was copied from AArch64 which follows the peculiar AACPS (where, unlike typical RISC architectures, its frame pointer follows an x86/stack machine-like convention where the frame pointer points at the bottom of the frame record, not the top). Delete the pointless riscv_frame struct and fix this. Reviewed by: mhorne MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28054
* | dtrace: handle page faults in riscv dtrace_trap()Mitchell Horne3 hours1-5/+16
| | | | | | | | | | | | | | | | | | | | We must detect the correct amount to increment sepc, as it may have been a compressed instruction that triggered the fault. Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38299
* | dtrace_asm.S: properly enter/exit user accessMitchell Horne3 hours1-1/+15
| | | | | | | | | | | | | | | | | | | | In order to read or write userspace memory without generating an access fault, we must first enable the SUM bit in the sstatus CSR. Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38298
* | Allow sysctl hw.machine/hw.machine_arch in capability modeVal Packett3 hours6-7/+8
| | | | | | | | | | | | | | | | There's no harm in reading strings like 'amd64'. Reviewed by: emaste, manu Sponsored by: https://www.patreon.com/valpackett Differential Revision: https://reviews.freebsd.org/D28703
* | Remove Doxyfiles for recently removed drivers.Justin Hibbits4 hours2-42/+0
| |
* | Remove gxemul drivers.Justin Hibbits4 hours6-1221/+0
| | | | | | | | These were MIPS-only.
* | Mechanically convert mxge(4) to IfAPIJustin Hibbits4 hours2-113/+111
| | | | | | | | | | | | Reviewed by: gallatin Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37848
* | Mechanically convert sge(4) to IfAPIJustin Hibbits5 hours2-107/+106
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37816
* | Mechanically convert age(4), alc(4), and ale(4) to IfAPIJustin Hibbits5 hours6-384/+381
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37787
* | Mechanically convert al_eth(4) to IfAPIJustin Hibbits5 hours1-69/+69
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37834
* | Mechanically convert dc(4) to IfAPIJustin Hibbits5 hours2-112/+111
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37852
* | Mechanically convert nge(4) to IfAPIJustin Hibbits5 hours2-125/+124
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37811
* | Mechanically convert if_my(4) to IfAPIJustin Hibbits5 hours2-61/+60
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37847
* | Mechanically convert msk(4) to IfAPIJustin Hibbits5 hours2-140/+139
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37830
* | Mechanically convert ic(4) to IfAPIJustin Hibbits5 hours1-28/+27
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37851
* | Mechanically convert bce(4) to IfAPIJustin Hibbits5 hours2-116/+115
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37841
* | Mechanically convert le(4) to IfAPIJustin Hibbits5 hours4-83/+82
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37831
* | Mechanically convert sk(4) to IfAPIJustin Hibbits5 hours2-110/+109
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37818
* | Mechanically convert smc(4) to IfAPIJustin Hibbits5 hours2-62/+62
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37824
* | Mechanically convert sis(4) to IfAPIJustin Hibbits5 hours2-101/+100
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37826
* | Mechanically convert lge(4) to IfAPIJustin Hibbits5 hours2-68/+68
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37838
* | Mechanically convert jme(4) to IfAPIJustin Hibbits5 hours2-120/+119
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37839
* | Mechanically convert fwe(4) and fwip(4) to IfAPIJustin Hibbits5 hours4-96/+96
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37850
* | Mechanically convert sbni(4) to IfAPIJustin Hibbits5 hours2-38/+39
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37822
* | Mechanically convert if_et(4) to IfAPIJustin Hibbits5 hours2-92/+91
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37810
* | Mechanically convert if_vge(4) to IfAPIJustin Hibbits5 hours2-117/+116
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37801
* | Mechanically convert if_rl(4) to IfAPIJustin Hibbits5 hours2-104/+103
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37803
* | Mechanically convert if_vr(4) to IfAPIJustin Hibbits5 hours2-101/+100
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37798
* | Mechanically convert if_vte(4) to IfAPIJustin Hibbits5 hours2-78/+77
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37796
* | Mechanically convert if_ste(4) to IfAPIJustin Hibbits5 hours2-98/+97
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37794
* | Mechanically convert if_bfe(4) to IfAPIJustin Hibbits5 hours2-66/+65
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37791
* | Mechanically convert if_ti(4) to IfAPIJustin Hibbits5 hours2-113/+112
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37806
* | Mechanically convert if_plip(4) to IfAPIJustin Hibbits5 hours1-49/+43
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37854
* | Mechanically convert iwi(4) and iwn(4) to IfAPIJustin Hibbits5 hours2-8/+8
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37849
* | Mechanically convert ae(4) to IfAPIJustin Hibbits5 hours2-83/+82
| | | | | | | | | | Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37786