GhostBSD/ghostbsd 9124efacontrib/libcbor/doc/source requirements.txt

Merge pull request #355 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/jinja2-3.1.6

build(deps): bump jinja2 from 3.1.5 to 3.1.6 in /contrib/libcbor/doc/source
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd a5eec06contrib/libcbor/doc/source requirements.txt

build(deps): bump jinja2 in /contrib/libcbor/doc/source

Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support at github.com>
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 42646edcontrib/libcbor/doc/source requirements.txt

Merge pull request #353 from ghostbsd/dependabot/pip/contrib/libcbor/doc/source/certifi-2024.7.4

build(deps): bump certifi from 2023.11.17 to 2024.7.4 in /contrib/libcbor/doc/source
DeltaFile
+1-1contrib/libcbor/doc/source/requirements.txt
+1-11 files

GhostBSD/ghostbsd 26127ca. UPDATING, bin/csh/.idea workspace.xml

Merge pull request #354 from ghostbsd/releng/14.2p2

Update 14.2 to p2
DeltaFile
+45,488-0bin/csh/.idea/workspace.xml
+45,488-0share/keys/.idea/workspace.xml
+9-1crypto/openssh/packet.c
+4-1crypto/openssh/sshconnect2.c
+5-0crypto/openssh/ssh-agent.c
+5-0UPDATING
+90,999-28 files not shown
+91,011-914 files

GhostBSD/ghostbsd 1fb2623bin/csh/.idea workspace.xml, share/keys/.idea workspace.xml

update version to p2
DeltaFile
+45,488-0bin/csh/.idea/workspace.xml
+45,488-0share/keys/.idea/workspace.xml
+1-1sys/conf/package-version
+90,977-13 files

GhostBSD/ghostbsd 15aa2d0. UPDATING, crypto/openssh packet.c ssh-agent.c

Merge remote-tracking branch 'freebsd/releng/14.2' into releng/14.2p2
DeltaFile
+9-1crypto/openssh/packet.c
+5-0UPDATING
+5-0crypto/openssh/ssh-agent.c
+4-1crypto/openssh/sshconnect2.c
+3-1crypto/openssh/krl.c
+3-1crypto/openssh/ssh-sk-client.c
+29-45 files not shown
+34-811 files

GhostBSD/ghostbsd 940a455contrib/spleen spleen-32x64.bdf spleen-16x32.bdf, crypto/openssh libcrux_mlkem768_sha3.h ChangeLog

Merge remote-tracking branch 'freebsd/stable/14' into stable/14
DeltaFile
+12,334-0crypto/openssh/libcrux_mlkem768_sha3.h
+5,487-2,363contrib/spleen/spleen-32x64.bdf
+2,813-4,349crypto/openssh/ChangeLog
+2,587-1,901sys/contrib/dev/rtw89/rtw8852c_table.c
+3,009-1,293contrib/spleen/spleen-16x32.bdf
+4,285-7sys/contrib/dev/rtw89/reg.h
+30,515-9,9131,070 files not shown
+119,126-48,8561,076 files

GhostBSD/ghostbsd e0bd517crypto/libecc/src/examples/sig/rsa rsa_pkcs1_tests.h, crypto/libecc/src/wycheproof_tests libecc_wycheproof_tests.h

Merge remote-tracking branch 'freebsd/main'
DeltaFile
+728,074-0crypto/libecc/src/wycheproof_tests/libecc_wycheproof_tests.h
+111,724-0crypto/libecc/src/examples/sig/rsa/rsa_pkcs1_tests.h
+91,515-0sys/dev/bnxt/bnxt_en/hsi_struct_def.h
+40,930-40,935share/colldef_unicode/zh_CN.UTF-8.src
+79,394-0crypto/openssl/test/recipes/30-test_evp_data/evprand.txt
+0-64,195sys/dev/bnxt/hsi_struct_def.h
+1,051,637-105,13048,587 files not shown
+5,383,387-2,753,33848,593 files

GhostBSD/ghostbsd b5cf126lib/libpam/pam.d system

Commented pam_xdg.so in /etc/pam.d/system

(cherry picked from commit 9aa799b6c5d2c7980e3beae9cde460db9813d16e)
DeltaFile
+1-0lib/libpam/pam.d/system
+1-01 files

GhostBSD/ghostbsd 410d190.idea workspace.xml, stand/i386/loader Makefile

Add back gzip to BIOS /boot/loader

Gzip is needed for the GhostBSD image legacy boot.

(cherry picked from commit dc3fddeb681f5099882881f57bb7caabaee9a460)
DeltaFile
+91-0.idea/workspace.xml
+1-0stand/i386/loader/Makefile
+92-02 files

GhostBSD/ghostbsd 717adecsys/dev/sound/pcm feeder_mixer.c

sound: Make feed_mixer_apply() __always_inline

Reported by:    mav
Fixes:          4021fa32d92d ("sound: Simplify pcm/feeder_mixer.c")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-1sys/dev/sound/pcm/feeder_mixer.c
+1-11 files

GhostBSD/ghostbsd c824383sys/dev/sound/pcm channel.h channel.c

sound: Update COPYRIGHT notices

Only to files I've currently made significant contributions to.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-0sys/dev/sound/pcm/channel.h
+4-0sys/dev/sound/pcm/channel.c
+4-0sys/dev/sound/pcm/dsp.h
+4-0sys/dev/sound/pcm/feeder.c
+4-0sys/dev/sound/pcm/feeder_eq.c
+4-0sys/dev/sound/pcm/feeder_format.c
+24-010 files not shown
+49-516 files

GhostBSD/ghostbsd ab95710sys/dev/sound/pcm sound.c

sound: Make dev.pcm.X.mode dynamic

Currently dev.pcm.X.mode is calculated only once in pcm_sysinit(), which
is called by pcm_register() during attach, but this can result in
inconsistencies.

For some context, what pcm_mode_init() does is, it checks if "playcount"
is positive, in which case we assume the device supports playback. The
same is done for "reccount" for recording, and if "mixer_dev" is not
NULL, we know the device has a mixer.

The "playcount" and "reccount" variables correspond to the number of
_primary_ playback/recording channels, so we can assume that the primary
channels have been created before reaching pcm_mode_init(). However, for
the mixer that's not always the case. If the mixer is created _after_
pcm_register(), as is the case for snd_dummy(4) for example,
pcm_mode_init() will see that "mixer_dev" is NULL, and report that the
device does not have a mixer, whereas in reality we just created it
afterwards.

    [8 lines not shown]
DeltaFile
+15-10sys/dev/sound/pcm/sound.c
+15-101 files

GhostBSD/ghostbsd b768f2csys/dev/sound/pcm vchan.c sound.c

sound: Retire SD_F_AUTOVCHAN

This flag is redundant and essentially a no-op, as it is set when the
device supports at least playback or recording, which is almost always
the case. But even if the device is mixer-only (i.e., 0 channels), there
is no reason to keep this flag; it is only used to bail out of the vchan
sysctl handlers, but we already bail out anyway if we try to use the
sysctl in a vchan direction that is not supported.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D49021
DeltaFile
+4-4sys/dev/sound/pcm/vchan.c
+1-6sys/dev/sound/pcm/sound.c
+2-2sys/dev/sound/pcm/sound.h
+7-123 files

GhostBSD/ghostbsd 2fda859sys/dev/sound/pcm dsp.h

sound: Take dsp_cdevsw out of header file

Not used outside of pcm/dsp.c.

MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Reviewed by:    imp, markj
Differential Revision:  https://reviews.freebsd.org/D49217
DeltaFile
+0-2sys/dev/sound/pcm/dsp.h
+0-21 files

GhostBSD/ghostbsd 4021fa3sys/dev/sound/pcm feeder_mixer.c

sound: Simplify pcm/feeder_mixer.c

- Get rid of macro magic.
- Make feed_mixer_info handling similar to most feeders.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D48394
DeltaFile
+68-105sys/dev/sound/pcm/feeder_mixer.c
+68-1051 files

GhostBSD/ghostbsd b73b5f7sys/dev/sound/pcm feeder_matrix.c

sound: Remove feed_matrix_apply_generic()

It does what feed_matrix_apply() already does, so it is redundant.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D48036
DeltaFile
+0-49sys/dev/sound/pcm/feeder_matrix.c
+0-491 files

GhostBSD/ghostbsd ac24c9dsys/dev/sound/pcm feeder_matrix.c

sound: Remove macro magic from pcm/feeder_matrix.c

Turn the FEEDMATRIX_DECLARE macro into a single inline function
(feed_matrix_apply()). There is no reason to have this as a macro, it
only complicated the code. An advantage of this patch is that, because
we no longer call the functions created by the macro through function
pointers (apply field of feed_matrix_info), we can call
feed_matrix_apply() directly in feed_matrix_feed().

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D48035
DeltaFile
+58-131sys/dev/sound/pcm/feeder_matrix.c
+58-1311 files

GhostBSD/ghostbsd e18d66dsys/dev/sound/pcm feeder_eq.c

sound: Remove macro magic from pcm/feeder_eq.c

Turn the FEEDEQ_DECLARE macro into a single inline function
(feed_eq_biquad()). There is no reason to have this as a macro, and it
only complicates the code. An advantage of this patch is that, because
we no longer call the functions created by the macro through function
pointers (biquad_op), we can call feed_eq_biquad() directly in
feed_eq_feed().

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D48032
DeltaFile
+80-142sys/dev/sound/pcm/feeder_eq.c
+80-1421 files

GhostBSD/ghostbsd 4918fc2sys/dev/sound/pcm pcm.h feeder_rate.c

sound: Turn clamp macros into a function

This makes some subsequent feeder refactors easier to implement.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D48421
DeltaFile
+38-26sys/dev/sound/pcm/pcm.h
+2-6sys/dev/sound/pcm/feeder_rate.c
+2-6sys/dev/sound/pcm/feeder_eq.c
+2-1sys/dev/sound/pcm/feeder_volume.c
+1-1sys/dev/sound/pcm/feeder_mixer.c
+45-405 files

GhostBSD/ghostbsd 433e270sys/dev/sound/pcm pcm.h feeder_format.c, tests/sys/sound pcm_read_write.c

sound: Refactor the format conversion framework

Merge the PCM_READ|WRITE_* macros defined in pcm/pcm.h, as well as the
intpcm_read|write_* macros defined in pcm/feeder_format.c, into six
inline functions: pcm_sample_read|write[_norm|calc](). The absence of
macro magic makes the code significantly easier to read, use and modify.

Since these functions take the input/output format as a parameter, get
rid of the read() and write() function pointers defined in struct
feed_format_info, as well as the feeder_format_read|write_op()
functions, and use the new read/write functions directly.

Sponsored by:   The FreeBSD Fondation
MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D47932
DeltaFile
+246-311sys/dev/sound/pcm/pcm.h
+6-272tests/sys/sound/pcm_read_write.c
+6-215sys/dev/sound/pcm/feeder_format.c
+19-24sys/dev/sound/pcm/feeder_matrix.c
+10-8sys/dev/sound/pcm/feeder_rate.c
+6-6sys/dev/sound/pcm/feeder_eq.c
+293-8365 files not shown
+303-85011 files

GhostBSD/ghostbsd edc1fbasys/netinet ip_output.c

ip_output(): if mb_unmapped_to_ext() failed, return directly

do not free the original mbuf, it is already freed by the
mb_unmapped_to_ext().

Reviewed by:    glebius
Sponsored by:   NVidia networking
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D49305
DeltaFile
+1-1sys/netinet/ip_output.c
+1-11 files

GhostBSD/ghostbsd c5a96f0sys/kern kern_mbuf.c

mb_unmapped_to_ext(): fix m_free()/m_freem() use

The top of the chain is supposed to be freed in mb_unmapped_to_ext(),
use m_freem().  The _mb_unmapped_to_ext() helper only needs to work on
the passed mbuf, use m_free().

Reviewed by:    glebius
Sponsored by:   NVidia networking
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D49305
DeltaFile
+2-2sys/kern/kern_mbuf.c
+2-21 files

GhostBSD/ghostbsd 394605csys/netinet ip_output.c

ip_output(): style

Reviewed by:    glebius
Sponsored by:   NVidia networking
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D49305
DeltaFile
+1-1sys/netinet/ip_output.c
+1-11 files

GhostBSD/ghostbsd 2fa091d. Makefile.inc1

Makefile.inc1: packageworld: remove non-NO_ROOT cases

The packageworld target requires NO_ROOT to be set (and there is a check
that this is the case).  Remove the now-unused non-NO_ROOT cases.

Reviewed by:    brooks, bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48590
DeltaFile
+0-12Makefile.inc1
+0-121 files

GhostBSD/ghostbsd 186dc09sys/compat/linux linux_socket.c

linux: Handle IP_RECVTOS cmsg type

This unbreaks apps using GameNetworkingSockets from Valve.
DeltaFile
+2-1sys/compat/linux/linux_socket.c
+2-11 files

GhostBSD/ghostbsd 9f55630sys/compat/linux linux_socket.c

linux: Fix a typo in linux_recvmsg_common

We are supposed to check the result of bsd_to_linux_sockopt_level here
rather than its input.
DeltaFile
+1-1sys/compat/linux/linux_socket.c
+1-11 files

GhostBSD/ghostbsd b9752d5sys/compat/linprocfs linprocfs.c

linprocfs: Correct sysfs /proc/<pid>/mountinfo entry

Technically mount source could be an arbitrary string (since it's
effectively ignored), but it's common to repeat fs type there.
DeltaFile
+1-5sys/compat/linprocfs/linprocfs.c
+1-51 files

GhostBSD/ghostbsd b8b5cc3sys/kern subr_bus.c

new-bus: Use M_WAITOK in more places

M_NOWAIT is now only used for devclass_get_devices,
devclass_get_drivers, and device_get_children.  Other functions are
generally called from sleepable contexts such as module event
handlers, attach/detach routines, and the ioctl handler for
/dev/devctl2.

Suggested by:   mjg (devclass_add_device)
Differential Revision:  https://reviews.freebsd.org/D49274
DeltaFile
+7-24sys/kern/subr_bus.c
+7-241 files

GhostBSD/ghostbsd 78cd83esys/kern subr_bus.c

devclass_alloc_unit: Go back to using M_WAITOK

This restores a change made earlier in f3d3c63442fff.

This reverts commit 234683726708cf5212d672d676d30056d4133859.

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D49273
DeltaFile
+2-6sys/kern/subr_bus.c
+2-61 files