Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge FreeBSD 2024-03-01 #2175

Merged
merged 279 commits into from
Aug 3, 2024
Merged
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Feb 26, 2024

  1. ipsec esp: avoid dereferencing freed secasindex

    It is possible that SA was removed while processing packed, in which
    case it is changed to the DEAD state and it index is removed from the
    tree. Dereferencing sav->sah then touches freed memory.
    
    Reviewed by:	ae
    Sponsored by:	NVIDIA networking
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44079
    kostikbel committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    1a56620 View commit details
    Browse the repository at this point in the history
  2. pam: Add pam_xdg module

    This is a module to setup the XDG directories and environment variables.
    For now the only usage is to have a XDG_RUNTIME_DIR environment setup at
    user login.
    All other environment variable have a default fallback so no need to export
    them in this module.
    The directory is created according to the XDG Base directory specification.
    
    The default base directory is /var/run/xdg/<username> but can be configured
    using the runtime_dir=<dir> module option.
    
    According to the spec the directory *must* not survive a reboot so adding
    var_run_enable="YES" to rc.conf is highly recommanded.
    
    Reviewed by:	des, pauamma (manpages)
    Differential Revision:	https://reviews.freebsd.org/D44011
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    6e69612 View commit details
    Browse the repository at this point in the history
  3. pam: Always use pam_xdg for session and xdm

    This ensure that the XDG_RUNTIME_DIR is always created and the environment
    variable is present which is a must for any wayland user (at least).
    The only "cost" of it is a directory is created and unused.
    
    Reviewed by:	des
    Differential Revision:	https://reviews.freebsd.org/D44012
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    6b9e6f1 View commit details
    Browse the repository at this point in the history
  4. diff: Fix --expand-tabs and --side-by-side.

    * Overhaul column width and padding calculation.
    * Rewrite print_space() so it is now a) correct and b) understandable.
    * Rewrite tab expansion in fetch() for the same reason.
    
    This brings us in line with GNU diff for all cases I could think of.
    
    Sponsored by:	Klara, Inc.
    Reviewed by:	imp
    Differential Revision:	https://reviews.freebsd.org/D44014
    dag-erling committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    53de23f View commit details
    Browse the repository at this point in the history
  5. diff: Bump manual page date.

    Sponsored by:	Klara, Inc.
    dag-erling committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    312b107 View commit details
    Browse the repository at this point in the history
  6. kern: fix panic with disabled ttys

    PR: 277240, 277329
    Reviewed by: kib (earlier version)
    Fixes: f1d0a0c ("jail: Fix information leak.")
    MFC after: 3 days
    Sponsored by: The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D44086
    emaste committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    975d773 View commit details
    Browse the repository at this point in the history
  7. rtld-elf: support either byte-order of hints file

    Accept either little-endian or big-endian representation of the ELF
    hints magic number in the header of a hints file and convert the
    parameters to the native byte-order of the repsective system.
    
    This is a pre-requisite for a planned change to always write the byte
    order in little-endian format on all architectures. The only relvant
    architecture that uses big-endian data is powerpc64, and it is not
    likely that new architectures will choose that representation of data
    in memory.
    
    When all supported architectures use little-endian data in the hints
    file, the byte swap logic can be enabled for big-endian CPUs at
    compile time. Up to that point, there is a very small run-time penalty
    that is paid on all systems to check the byte-order of the hints file
    and to provide the option to byte-swap the parameters read from the
    hints file header.
    
    This commit contains the changes from review D44080 (which had been
    split off from this patch for easier review),
    
    Reviewed by:	kib
    MFC after:	1 month
    Differential Revision:	https://reviews.freebsd.org/D44053
    stesser committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    7b77d37 View commit details
    Browse the repository at this point in the history
  8. ofwdump: Convert ints that are booleans to bool.

    No functional changes...
    
    Sponsored by:		Netflix
    bsdimp committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    bc4c7e7 View commit details
    Browse the repository at this point in the history
  9. snd_uaudio(4): Fix sample rate selection after 42fdcd9.

    The sample rate selection of snd_uaudio(4) at runtime was implicitly
    relying on a specific order in the device config list. In case a default
    was set through the hw.usb.uaudio.default_rate sysctl tunable, commit
    42fdcd9 removed a duplicate sample rate entry from that list, which
    inadvertently broke sample rate selection at runtime. Implement sample
    rate selection in a way that works for any order in the device config
    list.
    
    Reported by:	Lexi Winter <[email protected]>
    MFC after:	1 week
    Reviewed by:	christos
    Differential Revision:	https://reviews.freebsd.org/D44051
    0EVSG authored and christosmarg committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    a9341f0 View commit details
    Browse the repository at this point in the history
  10. pcm.4: Fix lint warnings

    Ignore the "manual not found" warnings for snd_ai2s(4) and
    snd_davbus(4).
    
    Sponsored by:	The FreeBSD Foundation
    MFC after:	2 weeks
    Reviewed by:	markj
    Differential Revision:	https://reviews.freebsd.org/D43996
    christosmarg committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    8bfb23a View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. loader: Add loader.exit

    Add loader.exit(status). While one can get alomst this behavior with
    loader.perform("quit"), quit doesn't allow a value to be returned to the
    firmware. The interpretation of 'status' is firmware specific. This can
    be used when autobooting doesn't work in scripts, for example, to allow
    the firmware to try something else...
    
    Sponsored by:		Netflix
    
    Reviewed by:	kevans
    Differential Revision:	https://reviews.freebsd.org/D44094
    bsdimp committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9398a49 View commit details
    Browse the repository at this point in the history
  2. pam_xdg: Remove leftover debug printf

    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    Fixes:		6e69612 ("pam: Add pam_xdg module")
    evadot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8432990 View commit details
    Browse the repository at this point in the history
  3. pam_xdg: Check asprintf return value

    Reported by:	Shawn Webb <[email protected]>
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Fixes:          6e69612 ("pam: Add pam_xdg module")
    evadot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    2d2950c View commit details
    Browse the repository at this point in the history
  4. pam_xdg: Reset rv to 0

    Otherwise on success it ontain the return value of asprintf.
    
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    Fixes:		2d2950c ("pam_xdg: Check asprintf return value")
    evadot committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    5acbe6d View commit details
    Browse the repository at this point in the history
  5. PP mutexes: unlock: Reset inherited prio regardless of privileges

    'uq_inherited_pri' contains the current priority inherited from Priority
    Protection mutexes.  If -1 is passed through 'm_ceilings[1]', meaning
    that there are no such mutexes held anymore, this must be reflected into
    it by setting it to PRI_MAX, regardless of whether the thread has
    privilege to set realtime priorities (PRI_MAX is also obviously not
    a realtime priority level).  By contrast, it shall not be updated and
    the computed 'new_inherited_pri' shall stay unused if the thread doesn't
    have the ability to set a realtime priority, possibly keeping an older
    such priority acquired previously.
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D43984
    OlCe2 committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    1df8700 View commit details
    Browse the repository at this point in the history
  6. PP mutexes: lock: Check if priority is too high against base one

    Doing this instead of using the current (user) priority, which includes
    current lendings, prevents gratuitous failures for threads involved in
    multiple locking groups, where each group is defined as the threads that
    can lock a particular PP or PI mutex.  No deadlock can occur in this
    case.  Indeed, if a thread holds such a lock A giving it a higher
    priority than the ceiling of some other lock B that is PP, and B is
    acquired by another thread, effectively the latter may not be able to
    run but this situation can only last until the first thread releases A,
    which it will do eventually.
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D44044
    OlCe2 committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9ac3ac9 View commit details
    Browse the repository at this point in the history
  7. PP mutexes: lock: Reduce 'umtx_lock' holding before taking the user lock

    There is no need to have it for the priority check (that the thread
    doesn't have a higher priority than the mutex's ceiling), and there's
    also no need to take it if the thread doesn't have privileges to set its
    priority to the mutex's ceiling.
    
    While here, turn 'su' into a 'bool' and compute the internal priority
    corresponding to the mutex's ceiling once and for all, putting it in new
    'new_pri'.
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D44045
    OlCe2 committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    39e4665 View commit details
    Browse the repository at this point in the history
  8. sched: Simplify sched_lend_user_prio_cond()

    If 'td_lend_user_pri' has the expected value, there is no need to check
    the fields that sched_lend_user_prio() modifies, they either are already
    good or soon will be ('td->td_lend_user_pri' has just been changed by
    a concurrent update).
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D44050
    OlCe2 committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    aeff15b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    81b7ebe View commit details
    Browse the repository at this point in the history
  10. vge(4): Fix a typo in a source code comment

    - s/opration/operation/
    
    MFC after:	3 days
    gbergling committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    04d5a8a View commit details
    Browse the repository at this point in the history
  11. dumprestore.h: Fix typos in source code comments

    - s/dumpped/dumped/
    
    MFC after:	3 days
    gbergling committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8f87d40 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    cce3a70 View commit details
    Browse the repository at this point in the history
  13. pf: fix packet-to-big for route-to as well

    When we handle a packet via route-to (i.e. pf_route6()) we still need to
    verify the MTU. However, we only run that check in the forwarding case.
    
    Set the PFIL_FWD tag when running the pf_test6(PF_OUT) check from
    pf_route6(). We are in fact forwarding, so should call the test function
    as such. This will cause us to run the MTU check, and generate an ICMP6
    packet-too-big error when required.
    
    See also:	54c62e3
    See also:	f1c0030
    See also:	https://redmine.pfsense.org/issues/14290
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    kprovost committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9566d92 View commit details
    Browse the repository at this point in the history
  14. bxe(4): Fix two typos in a kernel messages

    - s/successfull/successful/
    
    MFC after:	3 days
    gbergling committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    e2f3649 View commit details
    Browse the repository at this point in the history
  15. carp(4): Fix a typo in a source code comment

    - s/successfull/successful/
    
    MFC after:	3 days
    gbergling committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    6bce41a View commit details
    Browse the repository at this point in the history
  16. CTL: Drop Format Device and Rigid Disk Geometry mode pages

    Those mode pages are obsolete since SBC-2 specification almost 20
    years ago.  First I was trying to understand possible relations
    between physical block and physical sector terms in different specs.
    Then was thinking about possible relations to device CHS geometry
    and compatibility issues.  Finally I just decided that none of it
    worth the efforts and should rest in piece.
    
    PR:	276524
    amotin committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    7c667af View commit details
    Browse the repository at this point in the history
  17. rman: Remove rman_set_start/end

    These functions are not safe as the rman implementation assumes that
    all regions (including allocated resources) are sorted by address in
    the internal linked-list.
    
    Differential Revision:	https://reviews.freebsd.org/D43936
    bsdjhb committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    04fc3fb View commit details
    Browse the repository at this point in the history
  18. dpaa2: Use bus_generic_rman_*

    Reviewed by:	dsl
    Differential Revision:	https://reviews.freebsd.org/D43937
    bsdjhb committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9b619f0 View commit details
    Browse the repository at this point in the history
  19. bhnd_usb: Use bus_generic_rman_*

    For SYS_RES_MEMORY, use bus_generic_rman_* for
    activate/deactivate_resource methods as well as custom
    map/unmap_resource methods that request submappings of the sc_mem
    resource allocated from the parent bus.
    
    Differential Revision:	https://reviews.freebsd.org/D43938
    bsdjhb committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    b25f03a View commit details
    Browse the repository at this point in the history
  20. bhnd_chipc: Make use of bus_generic_rman_* to simplify some code

    This uses bus_generic_rman_alloc/release_resource to reduce some code
    duplication.  However, I've left the custom activate/deactivate
    methods as-is.
    
    Differential Revision:	https://reviews.freebsd.org/D43939
    bsdjhb committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    3a48dfe View commit details
    Browse the repository at this point in the history
  21. mkimg.1: add new PARTITION SPECIFICATION section

    The specification follows a commentary to the function parse_part()
    in the source code and the code itself.
    
    MFC after:	3 days
    Eugene Grosbein authored and Eugene Grosbein committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    d1797fb View commit details
    Browse the repository at this point in the history
  22. netlink: Don't use a zero-length array

    Define SNL_DECLARE_FIELD_PARSER* macros to create a parser that has
    no output attributes only input fields and use this to define the
    snl_donemsg_parser.
    
    This removes the need for the zero-length nla_p_donemsg[] variable.
    Zero length arrays are not valid in ISO C.
    
    Reviewed by:	jrtc27, melifaro
    Differential Revision:	https://reviews.freebsd.org/D43918
    bsdjhb committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    69945c4 View commit details
    Browse the repository at this point in the history
  23. netlink: restore original buffer if nlmsgs_to_linux() fails

    Caller is responsible to free it or reuse.
    
    Fixes:	17083b9
    glebius committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    41ce9c8 View commit details
    Browse the repository at this point in the history
  24. Add share/mk/local.dirdeps-targets.mk

    To include site.dirdeps-targets.mk
    sgerraty committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8aea77b View commit details
    Browse the repository at this point in the history
  25. dwc: fix DEBUG macro name

    It conflicts with the general "DEBUG" macro defined as an option in LINT
    builds. Since this is actually unused, just rename it to GMAC_DEBUG.
    
    Reviewed by:	manu
    MFC after:	3 days
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D44102
    mhorne committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    fae39d8 View commit details
    Browse the repository at this point in the history
  26. conf: deduplicate dwc config logic

    Move the core dwc(4) file entries to the MI conf/files.
    Platform-specific versions e.g. rk_dwc are retained in their current
    position. On arm64 this necessitates adding an additional 'device dwc'
    option.
    
    This hardware is found on several available/emerging RISC-V SoCs, so we
    will soon need it on this architecture.
    
    Reviewed by:	manu
    MFC after:	1 week
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D44103
    mhorne committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    a01dc14 View commit details
    Browse the repository at this point in the history
  27. conf: deduplicate dwmmc config logic

    The core of this driver is supported by multiple architectures. Move the
    config entries to the MI conf/files.
    
    This hardware is found on several available/emerging RISC-V SoCs, so we
    will soon need it on this architecture.
    
    Reviewed by:	manu
    MFC after:	1 week
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D44104
    mhorne committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f84e9df View commit details
    Browse the repository at this point in the history
  28. riscv: add dwc, dwmmc to NOTES

    In the future these drivers will be enabled in GENERIC. For now, ensure
    they build with LINT.
    
    Sponsored by:	The FreeBSD Foundation
    mhorne committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    036ce93 View commit details
    Browse the repository at this point in the history
  29. riscv: add starfive kernelconf template

    Enable the Synopsis UART driver. Other drivers will be added in the
    future.
    
    Reviewed by:	jrtc27
    Sponsored by:	The FreeBSD Foundatino
    Differential Revision:	https://reviews.freebsd.org/D44105
    mhorne committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    749e318 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. rc: Set var_run_enable to enable by default

    This will load/save the /var/run directories at boot/shutdown if
    and only if /var/run/ is a tmpfs mount so it is a win for tmpfs
    users and a no-op for everyone else.
    
    Reviewed by:	bapt
    Differential Revision:	https://reviews.freebsd.org/D44097
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    72b0453 View commit details
    Browse the repository at this point in the history
  2. nvmecontrol.8: Fix the SYNOPSIS section

    The manpage of nvmecontrol(8) has the following SYNOPSIS:
    
    nvmecontrol format [-f fmt] [-m mset] [-o pi] [-l pil] [-E]
    [-C] <device-id | namespace-id>
    
    The correct switch for the pi option is -p according
    to sbin/nvmecontrol/format.c:
    
    OPT("pi", 'p', arg_uint32, opt, pi, "Protective information")
    
    So correct the SYNOPSIS section accordingly.
    
    PR:	276554
    Reviewed by:	imp
    MFC after:	3 days
    Differential Revision:	https://reviews.freebsd.org/D44099
    bsdcode authored and gbergling committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    77f6c0c View commit details
    Browse the repository at this point in the history
  3. md5.1: Fix an example

    The last example in the manpage md5(1) wants to demonstrate
    GNU mode (md5sum), but uses BSD mode (md5) instead:
    
    In GNU mode, the -c option does not compare against a hash string
    passed as parameter. Instead, it expects a  digest file,
    as created under the name digest for /boot/loader.conf in
    the example above.
    
    PR:	276560
    Reviewed by:	mhorne
    MFC after:	3 days
    Differential Revision:	https://reviews.freebsd.org/D44098
    bsdcode authored and gbergling committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    865baea View commit details
    Browse the repository at this point in the history
  4. stand: Remove dangling mips references

    Remove mips support files from ficl.
    
    Sponsored by:		Netflix
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    07d6006 View commit details
    Browse the repository at this point in the history
  5. gicv3: Change how we initialize its children.

    The current code is written such that all the attach routines can do so
    in parallel. However, newbus serializes children today, and is likely to
    do so in the future. Only allocate memory for the first time. Add an
    assertion that this memory is allocated for larger units.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44032
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    15c8a61 View commit details
    Browse the repository at this point in the history
  6. gicv3: Panic if the gicv3 already running

    Due to undefined behavior, it's impossible to re-program a gicv3 ITS
    table once it's programmed once. Memory corruption happens otherwise.
    Panic if we detect the LPI is already enabled.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44033
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    51c57ca View commit details
    Browse the repository at this point in the history
  7. gicv3: Don't allocate pend_base if we're already started

    If the gicv3 is already started, then don't allocate memory for the
    pend_base tables.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44034
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    ddd98f5 View commit details
    Browse the repository at this point in the history
  8. gicv3: Only set the redistributor base if we're not prealloced

    Only set the redistributor base if we're not reallocated.  If we are
    preallocated, leave it all alone.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44035
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    ae84491 View commit details
    Browse the repository at this point in the history
  9. gicv3: Report PENDBASE when bootverbose

    Report some stats about PENDBASE when we're running under
    bootverbose. We don't do this by default because experience has been
    excess output in this routine hangs the system.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44036
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    b4368e8 View commit details
    Browse the repository at this point in the history
  10. gicv3: Define PA masks for the PENDBASR and PROPBASER registers

    Define masks for these registers to find the PA of where these are
    pointing.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44096
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    a3f164a View commit details
    Browse the repository at this point in the history
  11. gicv3: In its_init_cpu_lpi record each cpu's PENDBASER

    When we're using the preallocated memory for gicv3, record each cpu's
    PENDBASER where we'd normally allocate memory for it. Make sure that
    memory is in the excluded list and map the PA to VA and store that, to
    mimic what we do with the allocation case.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44037
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1d13cc2 View commit details
    Browse the repository at this point in the history
  12. gicv3: If the LPI is already allocated, remember it

    If the LPI Configuration Tabel has been pre-allocated by the boot
    loader, then we have to remember PROPBASER and use it rather than
    allocating memory for it ourselves. Linux provides us with a reserved
    table that contains all the gicv3 allocations, so make sure what we read
    from PROPBASER matches something in that table. Normally, bare metal
    boot loaders leave the gic in a reset state. However, Linux brings it up
    fully so it can do I/O to boot the next kernel via kexec. Since the
    gicv3 PENDBASER can't be reset while running due to undefined behavior,
    we must reuse what's there for both PENDBASER and PROPBASER.
    
    With this commit, the workaround is complete. Details are at
    https://lkml.iu.edu/hypermail/linux/kernel/1809.2/06246.html
    and pointers in the thread.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44038
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    cb4a83c View commit details
    Browse the repository at this point in the history
  13. ota: Import One True Awk from 20240122 (6a07a6d3bb63)

    Jan 22, 2024:
            Restore the ability to compile with g++. Thanks to
            Arnold Robbins.
    
    Dec 24, 2023:
            Matchop dereference after free problem fix when the first
            argument is a function call. Thanks to Oguz Ismail Uysal.
            Fix inconsistent handling of --csv and FS set in the
            command line. Thanks to Wilbert van der Poel.
            Casting changes to int for is* functions.
    
    Nov 27, 2023:
            Fix exit status of system on MacOS. Update to REGRESS.
            Thanks to Arnold Robbins.
            Fix inconsistent handling of -F and --csv, and loss of csv
            mode when FS is set.
    
    Sponsored by:		Netflix
    bsdimp committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    e8a605e View commit details
    Browse the repository at this point in the history
  14. lorder: Clean up and improve robustness.

    * Properly parse (no) command-line options.
    
    * Ensure that errors go to stderr and result in a non-zero exit.
    
    * Drop the special-case code for a single argument, as it will produce
      the wrong outcome if the file does not exist or is corrupted.
    
    * Don't print anything until after we've collected all the data.
    
    * Always create all temporary files before setting the trap.  This
      ensures that the trap can safely fire at any moment, regardless of any
      previous definition of `T`.
    
    * Use a temporary file rather than a pipe between `nm` and `sed` to
      ensure proper termination if `nm` fails due to a missing or invalid
      input.
    
    * The check for self-referential entries was conditional on testing our
      argument list against a regex looking for archives.  This was a
      needless and unreliable optimization; make the check unconditional.
    
    * Document that lorder will not work properly if any of its inputs have
      spaces in their name.
    
    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44133
    dag-erling committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    5c7b986 View commit details
    Browse the repository at this point in the history
  15. lorder: Add unit tests.

    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44134
    dag-erling committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    96da41b View commit details
    Browse the repository at this point in the history
  16. lorder: Undeprecate.

    While lorder is not required by our current toolchain (or any toolchain
    we've used in the past decade or two), it still occasionally shows up
    in build systems of third party software, including The Open Group's
    UNIX conformance test suite, and the maintenance cost is negligible.
    
    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	imp, allanjude, emaste
    Differential Revision:	https://reviews.freebsd.org/D44135
    dag-erling committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    cf4d9bf View commit details
    Browse the repository at this point in the history
  17. ldconfig: support hints files of either byte-order

    Make the ldconfig program accept hints files in little-endian and
    big-endian format on all architectures.
    
    The default format is the native byte-order of the respective host.
    This is expected to change when a version of the pkg command is
    available that implements support for either byte-order in its
    internal ldconfig function. (Already committed in the development
    tree of the pkg utility, a release is expected at the end of Q1/2024).
    
    This update adds the -B option to the ldconfig program. It enforces
    the creation of a big-endian hints file on a little-endian host.
    The main purpose to is support of tests with non-native byte-order
    files on little-endian hosts. It will be removed when all supported
    FreeBSD releases use little-endian hints files by default.
    
    When little-endian hints files are generally used, support of
    either byte-order in libexec/rtld can also be removed.
    
    When support for big-endian hints files is no longer required,
    the COND_SWAP macro in ldconfig and rtld shall be replaced by
    le32toh(), which just return their argument on little-endian
    architectures.
    
    Approved by:	kib
    MFC after:	1 month
    Relnotes:	yes
    Differential Revision:	https://reviews.freebsd.org/D44093
    stesser committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    e0dfeca View commit details
    Browse the repository at this point in the history
  18. netlink: fix casts

    Reviewed by:	melifaro
    MFC after:	1 week
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    Differential Revision:	https://reviews.freebsd.org/D44088
    kprovost committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    48f33b5 View commit details
    Browse the repository at this point in the history
  19. netlink: add bool type support

    Reviewed by:	melifaro
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    Differential Revision:	https://reviews.freebsd.org/D44089
    kprovost committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    dfed87b View commit details
    Browse the repository at this point in the history
  20. pf: convert kill/clear state to use netlink

    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    Differential Revision:	https://reviews.freebsd.org/D44090
    kprovost committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    706d465 View commit details
    Browse the repository at this point in the history
  21. socket tests: remove MSG_TRUNC test for unix/seqpacket

    The PF_UNIX/SOCK_SEQPACKET was marked as PR_ATOMIC and that made
    soreceive_generic() to treat it pretty much as a datagram socket.
    However, POSIX says:
    
      The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type,
      and is also connection-oriented. The only difference between these
      types is that record boundaries are maintained using the
      SOCK_SEQPACKET type. A record can be sent using one or more output
      operations and received using one or more input operations, but a
      single operation never transfers parts of more than one record.
      Record boundaries are visible to the receiver via the MSG_EOR flag
      in the received message flags returned by the recvmsg() function. It
      is protocol-specific whether a maximum record size is imposed.
    
    What the test was doing is checking if MSG_TRUNC would report the space
    required to return up the end of next mbuf record in the socket buffer.
    Apparently the test assumed that this boundary is defined by the write(2)
    size on the peer socket.  This was true in test conditions, but I'm not
    sure it would always be true - sbcompress() may merge mbufs. Anyway, the
    mbuf boundaries are internal socket buffer implementation, they are not
    SOCK_SEQPACKET records.  The records need to be explicitly marked with
    MSG_EOR by sender, and the test definitely wasn't doing that.
    
    Reviewed by:		tuexen, markj
    Differential Revision:	https://reviews.freebsd.org/D43707
    glebius committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    152a6d4 View commit details
    Browse the repository at this point in the history
  22. tests/unix_seqpacket: remove EMSGSIZE tests

    These tests were not testing conformance to the specification, rather than
    the limitation of our implementation.  The specification doesn't say that
    a SOCK_SEQPACKET shall ever return EMSGSIZE.  It says:
    
      The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type,
      and is also connection-oriented. The only difference between these
      types is that record boundaries are maintained using the
      SOCK_SEQPACKET type. A record can be sent using one or more output
      operations and received using one or more input operations, but a
      single operation never transfers parts of more than one record.
      Record boundaries are visible to the receiver via the MSG_EOR flag
      in the received message flags returned by the recvmsg() function. It
      is protocol-specific whether a maximum record size is imposed.
    
    The EMSGSIZE is specified as 'message is too large to be sent all at once,
    as the socket requires'.  Indeed existing implementation that has
    unix/seqpacket marked as PR_ATOMIC has such a limitation.  But future
    implementation won't have, thus remove the tests.
    
    Reviewed by:		tuexen, asomers
    Differential Revision:	https://reviews.freebsd.org/D43756
    glebius committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    d6ef964 View commit details
    Browse the repository at this point in the history
  23. tests/unix_seqpacket: provide function that returns bound & listening…

    … sock
    
    Use the function in mk_pair_of_sockets(), and in four existing tests -
    'listen_bound', 'connect', 'shutdown_send' and 'shutdown_send_sigpipe'.
    While here make mk_pair_of_sockets() return pointer to sockaddr_un instead
    of path.  This also fixes bug of returning pointer to stack memory of
    returning function.  However, the only caller that cares about this return
    is temporarily ifdefed out.  No functional change intended.
    
    Reviewed by:		tuexen
    Differential Revision:	https://reviews.freebsd.org/D43852
    glebius committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    1f46c32 View commit details
    Browse the repository at this point in the history
  24. tests/unix_seqpacket: test that data can be sent before accept(2)

    This is undocumented feature of PF_UNIX/SOCK_STREAM and thus of
    PF_UNIX/SOCK_SEQPACKET, too.  Put the test into this file, since this file
    is most advanced and has all primitives to write this test in minimum
    number of lines.
    
    Differential Revision:	https://reviews.freebsd.org/D43853
    glebius committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    3bc122d View commit details
    Browse the repository at this point in the history
  25. tests/unix_seqpacket: test that implied connect doesn't work

    Applies both to SOCK_STREAM and SOCK_SEQPACKET.  Put the test in this file
    as it is most advanced one.
    
    Reviewed by:		tuexen
    Differential Revision:	https://reviews.freebsd.org/D43854
    glebius committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    253d8a1 View commit details
    Browse the repository at this point in the history
  26. lib{c,sys}: expose cap_sandboxed from libc/gen

    It's a thin wrapper on cap_getmode() implemented in libc, not a system
    call so the symbol should have been exposed by libc/gen/Symbol.map
    alongside the implementation.
    
    Reviewed by:	kib
    Differential Revision:	https://reviews.freebsd.org/D44110
    brooksdavis committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    882d9f4 View commit details
    Browse the repository at this point in the history
  27. sockets: in solisten_proto() don't call sbdestroy() on a PR_SOCKBUF

    A socket marked with PR_SOCKBUF has protocol specific socket buffers
    and will take care of the in its pr_listen method.  Right now we don't
    have any sockets that can listen and are PR_SOCKBUF, but that will
    change soon.
    glebius committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    7ee47c3 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. rtld: unconditionally generate map file during build

    It is needed at least to ensure that undesirable code is not linked into
    rtld from libsys/libc, and adding the map file option each time is not
    productive.
    
    Reviewed by:	brooks, emaste
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44136
    kostikbel committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    7999401 View commit details
    Browse the repository at this point in the history
  2. rtld: use generated map file to check for some leaks from libc into rtld

    Reviewed by:	brooks, emaste (previous version)
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44136
    kostikbel committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    5db5c6c View commit details
    Browse the repository at this point in the history
  3. powerpc: Bump maximum number of FDT reserved mem entries

    Newer firmware on POWER systems, including v2.10 of the Talos II and
    Blackbird firmware can end up reserving more than 32 memory regions in
    the device tree, which exceeded an assumption made by ofw_machdep.c's
    excise_fdt_reserved(). Bump the maximum number of FDT reservations to
    the next power of 2 in order to fix booting on newer firmware.
    
    PR:		277097
    Reviewed by:	jhibbits
    Differential Revision: https://reviews.freebsd.org/D44015
    Shawn Anastasio authored and chmeeedalf committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    b52dceb View commit details
    Browse the repository at this point in the history
  4. Update the Arm Optimized Routine library to v24.01

    Sponsored by:	Arm Ltd
    zxombie committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    5a02ffc View commit details
    Browse the repository at this point in the history
  5. usbconfig: allow to get usb vendors and products from the usb.ids dat…

    …abase
    
    Reviewed by:		emaste, manu
    Differential Revision:	https://reviews.freebsd.org/D3392
    bapt committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    8fe86d9 View commit details
    Browse the repository at this point in the history
  6. usb_vendors: add new usb_vendors

    usb_vendors is a local copy of usb.ids (similar to pci_vendors)
    It is now used by usbconfig(1) when listing the devices.
    bapt committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    db1d086 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a98d9d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    76f58d4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ddca081 View commit details
    Browse the repository at this point in the history
  10. lorder: Don't rely on legacy syntax.

    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44155
    dag-erling committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    aedb37d View commit details
    Browse the repository at this point in the history
  11. lorder: Tweak invalid file test.

    Different implementations of `nm` have different ways of telling you
    that your file is not a valid object or library, but they all seem to
    have “not recognized” as a common substring.
    
    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44154
    dag-erling committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    aa80cfa View commit details
    Browse the repository at this point in the history
  12. loader/zfs: Fix to actually return the last error

    The last fix, to try to return the last error, really returns the first
    return code after the last error, which could be zero. Instead, return
    the last error. Also, change rc to err to make it visually distinct from
    rv, which is the cause of my error in e54bb0a.
    
    Reported by:		Bill Sommerfeld <[email protected]>
    Fixes:			e54bb0a
    Sponsored by:		Netflix
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    525e6d6 View commit details
    Browse the repository at this point in the history
  13. loader/efi: Small diff reduction

    Make doing the boot once protocol more similar to copies of this code.
    
    Sponsored by:		Netflix
    Reviewed by:		manu
    Differential Revision:	https://reviews.freebsd.org/D44007
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    2425dbd View commit details
    Browse the repository at this point in the history
  14. kernel: Sync ldscript files wrt gnu.attributes and .note.GNU-stack

    Bring the keeping of .gnu.attributes to all architectures. Also discard
    .note.GNU-stack on all archtiectures. Plus delete obsolete comment that
    was removed from i386 in 2010.
    
    Sponsored by:		Netflix
    Reviewed by:		kib
    Differential Revision:	https://reviews.freebsd.org/D44069
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    23dff4f View commit details
    Browse the repository at this point in the history
  15. firmware: load binary firmware files

    When we can't find a .ko module to satisfy the firmware request, try
    harder by looking for a file to read in directly. We compose this file's
    name by appending the imagename parameter to the firmware path
    (currently hard-wired to be /boot/firmware, future plans are for a
    path). Allow this file to be unloaded when firmware_put() releases the
    last reference, but we don't need to do the indirection and dance we
    need to do when unloading the .ko that will unregister the firmware.
    
    Sponsored by:		Netflix
    Reviewed by:		manu, jhb
    Differential Revision:	https://reviews.freebsd.org/D43555
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    c7b1e98 View commit details
    Browse the repository at this point in the history
  16. firmware: Allow binary files to be loaded by /boot/loader

    Files loaded "-t firmware" (or module_type="firmware").  They are
    registered with the firmware system using the full path to the file.
    There's only one firmware per file, and it is the entire file. We do an
    extra firmware_get() on any firmware we find here to prevent them from
    ever being unloaded (we can't handle that case sanely).
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, jhb
    Differential Revision:	https://reviews.freebsd.org/D43522
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    479905a View commit details
    Browse the repository at this point in the history
  17. firmware: document new native file loading.

    Sponsored by:		Netflix
    Differential Revision:	https://reviews.freebsd.org/D43611
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    9478c7f View commit details
    Browse the repository at this point in the history
  18. RELNOTES: fix my poor english

    Reported by:	Gary Jennejohn <[email protected]>
    bapt committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    73157ce View commit details
    Browse the repository at this point in the history
  19. Merge one true awk from 2024-01-22 for the Awk Second Edition support

    This brings in Unicode support, CSV support and a number of bug fixes.
    They are described in _The AWK Programming Language_, Second Edition, by
    Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley, 2024,
    ISBN-13 978-0138269722, ISBN-10 0138269726).
    
    Sponsored by:		Netflix
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f32a640 View commit details
    Browse the repository at this point in the history
  20. firmware: unbreak armv7

    Use proper format specifiers (with casts) and don't redefine flags.
    
    Fixes:			c7b1e98
    Sponsored by:		Netflix
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3a3afbe View commit details
    Browse the repository at this point in the history
  21. loader/lua: Remove pager shim

    Just after 12.2 and before the stable/13 branch, kevans added lpager.c
    to provide a pager interface for commands written in lua.  It was merged
    into 12.3. Now that 12.2 is long since EOL, we can remove the pager shim
    here. Nobody needs that old loader + new lua scripts.  Plus only one
    command is affected.
    
    Sponsored by:		Netflix
    Reviewed by:		kevans
    Differential Revision:	https://reviews.freebsd.org/D44142
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    8b9178c View commit details
    Browse the repository at this point in the history
  22. loader/lua: Remove compat shim for loader.lua_path

    loader.lua_path was committed before stable/13 was branched, and merged
    in to for 12.2. Remove workaround for it not being present.
    
    Sponsored by:		Netflix
    Reviewed by:		kevans
    Differential Revision:	https://reviews.freebsd.org/D44143
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    ab97d42 View commit details
    Browse the repository at this point in the history
  23. loader/lua: Remove workaround for command_error

    loader.command_error was available prior to stable/12 branching. No need
    to check if it is available or not.
    
    Sponsored by:		Netflix
    Reviewed by:		kevans
    Differential Revision:	https://reviews.freebsd.org/D44144
    bsdimp committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    552f307 View commit details
    Browse the repository at this point in the history
  24. libsys: reduce makefile declaration duplication

    Every PSEUDO entry (_foo.o) has a corresponding NOASM entry (foo.o) to
    suppress its addition to ASM.  Check PSEUDO instead when adding entries
    to ASM.  No functional change.
    
    Reviewed by:	kib
    Differential Revision:	https://reviews.freebsd.org/D44106
    brooksdavis committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    e52a917 View commit details
    Browse the repository at this point in the history
  25. libsys: consolidate PSEUDO definitions

    Consolidate in preparation for further cleanup.
    
    Also relocate the sole NOASM entry.
    
    Reviewed by:	kib
    Differential Revision:	https://reviews.freebsd.org/D44107
    brooksdavis committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    f102db5 View commit details
    Browse the repository at this point in the history
  26. libsys: make PSEUDO take a bare syscall name

    Rather than having PSEUDO be a list of object files when all consumers
    want syscall names or source files, make it a list of bare syscall
    names like INTERPOSED (which is built on PSEUDO).
    
    Improve document of variables developers can set.
    
    Reviewed by:	kib
    Differential Revision:	https://reviews.freebsd.org/D44108
    brooksdavis committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    6d3f4dc View commit details
    Browse the repository at this point in the history
  27. lib{c,sys}: expose _getlogin consistently

    Historically we exposed _getlogin as a private symbol on a per-arch basis
    (except on aarch64 and riscv) for no obvious reason.  We now need to
    expose it for libc's use so remove the special case from
    makesyscalls.lua and expose it in the generated syscalls.map.
    
    Reviewed by:	kib
    Differential Revision:	https://reviews.freebsd.org/D44116
    brooksdavis committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    304cdac View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Cirrus-CI: bump Clang versions to 16 and 17

    Clang/LLVM 17 is currently the in-tree default compiler, so use it as
    the default Cirrus-CI toolchain.  Clang/LLVM 18 is coming soon and needs
    to be added here, but I ran into trouble with llvm18-lite package
    availability so will look at that later.
    
    Reviewed by:	dim (earlier), Jose Luis Duran
    Sponsored by:	The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D44162
    emaste committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    51c6bf0 View commit details
    Browse the repository at this point in the history
  2. pf: support if-bound with reply-to

    On reply-to we don't know what interface to bind to when we create
    the state. Create any reply-to state as floating, but bind to the
    appropriate interface once we're handling the reply.
    
    See also:	https://redmine.pfsense.org/issues/15220
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    kprovost committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    6460322 View commit details
    Browse the repository at this point in the history
  3. pf tests: IPv6 versions of the route-to/reply-to if-bound tests

    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    kprovost committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    fb99582 View commit details
    Browse the repository at this point in the history
  4. pam_xdg: Close the dir after removal

    CID:	1534878
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    56ec98a View commit details
    Browse the repository at this point in the history
  5. ldconfig: remove ignored -v (verbose) option

    The -v option used to print useful information when operating on a.out
    format libraries. After the removal of a.out support, it was accepted
    but did not have any effect.
    
    Remove the option and update the man-page.
    
    While here mention the set of historic options that are accepted but
    ignored: "-elf", "-s", and "-v".
    
    The FILES section contained outdated information and did not mention
    the way library directories of optional ports and packages are
    included in the library search path recorded in the hints file.
    
    The description of the "-B" option was incorrect (described a planned
    change) for big-endian platforms (powerpc64). These do still default
    to big-endian hints files, since the current version of the "pkg"
    program expects the hints file to be in native byte-order.
    
    Reviewed by:	kib
    MFC after:	1 month
    Differential Revision:	https://reviews.freebsd.org/D44139
    stesser committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    484de86 View commit details
    Browse the repository at this point in the history
  6. CODEOWNERS: Add Stephane Rochoy

    Stephane Rochoy isn't quite the maintainer of these items, but has an
    interest in them. As an experiment, see if this is a viable thing to do.
    bsdimp committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    0854004 View commit details
    Browse the repository at this point in the history
  7. Cirrus-CI: Add manual Clang 18 jobs

    Work is in progress to import Clang/LLVM 18 as the base system compiler.
    llvm18-lite is not yet in the quarterly package set but but will be
    available in the not too distant future, and is available for src forks
    that switch to latest packages.  Add manual llvm18 jobs now so that they
    can be used for testing.
    
    Sponsored by:	The FreeBSD Foundation
    emaste committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    2423565 View commit details
    Browse the repository at this point in the history
  8. mqueuefs: fix statfs report to not signal file system full

    Synthetic file systems that do not actually allocate file system
    blocks or inodes should report that they have space available and
    that they provide 0 inodes, in order to prevent capacity monitoring
    tools from warning about resource exhaustion.
    
    This has been fixed in all other synthetic file systems in base in
    commit 88a795e, but this file was overlooked since its name does
    not indicate that it also provides a file system.
    
    MFC after:	1 month
    stesser committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b307cfe View commit details
    Browse the repository at this point in the history
  9. arm64: Fix typo in pagetable_l0_ttbr0_bootstrap symbol name

    Obtained from:	CheriBSD
    qwattash authored and bsdjhb committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c6a6ec8 View commit details
    Browse the repository at this point in the history
  10. HTPS has actually three states not two so the macro needs to account …

    …for that.
    
    Ok lets fix up the tcp_in_hpts() so that it also says yes if you
    are in the race state moving and you are scheduled to be put in.
    This also requires changing the MPASS to be the old version non
    inline function of tcp_in_hpts().
    
    This change also adds a new inline macro so that a uint64_t timestamp can be
    obtained by a transport (aka Rack will use this).
    
    Reviewed by: glebius, tuexen
    Sponsored by: Netflix Inc.
    Differential Revision: https://reviews.freebsd.org/D44157
    Randall Stewart authored and Randall Stewart committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    638b5ae View commit details
    Browse the repository at this point in the history
  11. nvme: Firmware revisions in the firmware slot info logpage are ASCII …

    …strings
    
    In particular, don't try to byteswap the values as 64-bit integers and
    always print a non-empty version as a string.
    
    Reviewed by:	chuck, imp
    Sponsored by:	Chelsio Communications
    Differential Revision:	https://reviews.freebsd.org/D44121
    bsdjhb committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    7485926 View commit details
    Browse the repository at this point in the history
  12. pci_host_generic: Enumerate resource ranges under bootverbose

    Previously ranges were only enumerated for the FDT attachment but not
    ACPI.  This commit moves the enumeration to the shared attach routine
    so it is done for both.  While here, don't list empty ranges but do
    include the resource type for each range.
    
    Reviewed by:	andrew
    Differential Revision:	https://reviews.freebsd.org/D44132
    bsdjhb committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b286700 View commit details
    Browse the repository at this point in the history
  13. hier.7: various improvements

    First batch of word smithing: /boot, /dev and /etc. Improved wording and
    a few missing files added, though /dev is by no means complete.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdimp committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    03ee091 View commit details
    Browse the repository at this point in the history
  14. hier.7: various improvements m-s

    Second batch of word smithing: /media, /mnt, /nonexistant, /rescue,
    /sbin: Improved wording and a few missing files added
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdimp committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    94dedfd View commit details
    Browse the repository at this point in the history
  15. hier.7: various improvements usr (no src)

    Third batch of word smithing: /usr but not /usr/src: Improved wording
    and a few missing files added.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdimp committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    a5b0727 View commit details
    Browse the repository at this point in the history
  16. hier.7: various improvements usr/src and /var

    Forth batch of word smithing: /usr/src and /var: Improved wording and a
    few missing files added.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdimp committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    f19875b View commit details
    Browse the repository at this point in the history
  17. nvme: Report only the unknown bits

    When we get a smart error that's unknown, report only the unknown
    (reserved) bits of the Critical Warning Bitfield.
    
    Sponsored by:		Netflix
    bsdimp committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    c5246cb View commit details
    Browse the repository at this point in the history
  18. Add an UNDEFINED_VERSION option

    When enabled (current default) link with --undefined-version to allow
    symbol maps to contain symbols not defined by libraries.  When disabled,
    link with --no-undefined-version to disallow these bugs.
    
    WITHOUT_UNDEFINED_VERSION is currently broken.  Once it is fixed it
    should be made the default and this option should likely be removed.
    
    Reviewed by:	dim, emaste
    Differential Revision:	https://reviews.freebsd.org/D44169
    brooksdavis committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    2956f58 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. read.2: Use .Fn markup instead of .Xr for read/write calls

    Udpate both write / read references from .Xr to .Fn to eliminate
    self-reference cross reference.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#1128
    chrisdavidson authored and bsdimp committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    0d161f7 View commit details
    Browse the repository at this point in the history
  2. read(2): Add write cross reference

    Add a write cross reference in the SEE ALSO section.
    
    Sponsored by:		Netflix
    bsdimp committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    beadbca View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    959c56d View commit details
    Browse the repository at this point in the history
  2. stress2: Add a helper tool

    phoatfreebsd authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9231f5b View commit details
    Browse the repository at this point in the history
  3. if_hn: Fix two typos in source code comments

    - s/managment/management/
    - s/transacion/transaction/
    
    Obtained from:	NetBSD
    MFC after:	3 days
    gbergling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    6b188a0 View commit details
    Browse the repository at this point in the history
  4. tcp: prevent div by zero in cc_htcp

    Make sure the divident is at least one. While cwnd should
    never be smaller than t_maxseg, this can happen during
    Path MTU Discovery, or when TCP options are considered
    in other parts of the stack.
    
    PR:			276674
    MFC after:		3 days
    Reviewed By:		tuexen, #transport
    Sponsored by:		NetApp, Inc.
    Differential Revision:	https://reviews.freebsd.org/D43797
    rscheff authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9d39125 View commit details
    Browse the repository at this point in the history
  5. tcp: use enum for all congestion control signals

    Facilitate easier troubleshooting by enumerating
    all congestion control signals. Typecast the
    enum to int, when a congestion control module uses
    private signals.
    
    No external change.
    
    Reviewed By:		glebius, tuexen, #transport
    Sponsored by:		NetApp, Inc.
    Differential Revision:	https://reviews.freebsd.org/D43838
    rscheff authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    8a1f510 View commit details
    Browse the repository at this point in the history
  6. tcp: provide correct snd_fack on post_recovery

    Ensure that snd_fack holds a valid value when doing
    the post_recovery CC processing, for preparation of
    the cc_cubic update, so that local pipe calculations
    can correctly refer to snd_fack during and after CC events.
    
    Reviewed By:		tuexen, #transport
    Sponsored by:		NetApp, Inc.
    Differential Revision:	https://reviews.freebsd.org/D43957
    rscheff authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9dd4e31 View commit details
    Browse the repository at this point in the history
  7. tcp: cubic - restart epoch after RTO

    This is a migitation to avoid sudden extreme jumps in
    cwnd, as t_epoch can be very out of date after an RTO.
    Per RFC9438, sec 4.8, t_epoch is to be reset whenever
    cwnd grows beyond ssthresh (CC phase transitions from
    slow start to congestion avoidance), to be fixed with
    the upcoming cc_cubic changes.
    
    MFC after:		3 days
    Reviewed By:		cc, #transport
    Sponsored by:		NetApp, Inc
    Differential Revision:	https://reviews.freebsd.org/D44023
    rscheff authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    6a61747 View commit details
    Browse the repository at this point in the history
  8. sctp: improve sending of packets containing an INIT ACK chunk

    If the peer announced support of zero checksums, do so when sending
    packets containing an INIT ACK chunk.
    
    MFC after:	1 week
    tuexen authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    5440360 View commit details
    Browse the repository at this point in the history
  9. tcp: retain some CC signals outside of kernel scope

    Summary: fix build error after f74352f
    
    Reviewers: #transport!
    
    Subscribers: imp, melifaro, glebius
    
    Differential Revision: https://reviews.freebsd.org/D44066
    rscheff authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    eba6a5b View commit details
    Browse the repository at this point in the history
  10. loader: Move ldscripts to match more standard practices

    In the larger open source community, ld scripts are foo.ldscrpt rather
    than ldscript.arch like we use here. This moves the EFI ldscripts.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans, emaste
    Differential Revision:	https://reviews.freebsd.org/D44056
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    3b490a4 View commit details
    Browse the repository at this point in the history
  11. kboot: Centralize ldscript addition

    Make the pattern for ldscripts always be
    arch/$MACHINE_ARCH/$MACHINE_ARCH.ldscript so we can add it from a
    central Makefile. This also moves from ldscript.arch to arch.ldscript to
    match the loader's new convention.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44057
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d881c3f View commit details
    Browse the repository at this point in the history
  12. loader/powerpc: Share ldscript

    Share ldscript between the different ppc versions. There's two different
    scripts since we build 32-bit binaries for all types of powerpc, but
    have little endian and big endian variations that are different by only
    two lines. Set the output format and include the rest.
    
    Move to foo.ldscript as well.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44058
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    e73e017 View commit details
    Browse the repository at this point in the history
  13. loader/uboot: Move to foo.ldconfig

    Move to the foo.ldconfig convention to match the rest of the boot
    loader. No functional change intended.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44059
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    6275226 View commit details
    Browse the repository at this point in the history
  14. loader/kboot: simplify linker set inclusion a little

    Linker set sections are included by default. No need to do so
    explicitly.  These were bogusly copied from the efi ldscripts. They were
    there due to a workaround introduced in 2002 by peter@ for a gcc
    upgrade, but whatever bugs necessitated it were filed by 2010 when
    rpaulo@ imported the i386 support (though they were copied even though
    the objcopy retained them correctly, the gcc bug having been
    fixed). They've never been needed.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44060
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    929956b View commit details
    Browse the repository at this point in the history
  15. loader/efi: Linker sets not needed.

    We don't need linker sets listed as sections. They are explicitly
    included in the objcopy we use to create the .efi file. This practice
    was added in 2002 by peter@ in a6d81d8 to make ia64 builds
    self-hosted. However, it was added back to the objcopy in 2010 by rpaulo
    in 8df7a05 for i386 EFI support, though the ldscript file then
    retained them needlessly. The gcc/binutils bug having been fixed in the
    interim. We've not needed them since then, but the redundancy didn't
    matter.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44061
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    046dfb1 View commit details
    Browse the repository at this point in the history
  16. loader/efi: Use unique linker set for lua

    After the linker set cleanup in ldscripts, there's now only one place we
    need to know the linkerset name, so go ahead and change the lua
    interpreter augmentation linker set to be uniquely named.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44062
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    6af0a27 View commit details
    Browse the repository at this point in the history
  17. loader/ficl: Rename the ficl compile set to X4th_compile_set

    And upcoming change will need this set to be named this. Since it's only
    used in the efi Makefile, and inside if ficl itself, the change should
    be a nop.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44063
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    60ac941 View commit details
    Browse the repository at this point in the history
  18. loader/efi: Only include interpreter's linker script

    For safety, only include the interpreter's linker script. Note that the
    simple loader doesn't have one, but it's not an error to copy a ELF
    section that does not exist. No functional change, however.
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, kevans
    Differential Revision:	https://reviews.freebsd.org/D44064
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    eebfe42 View commit details
    Browse the repository at this point in the history
  19. sigsys test: correct count of delivered signals

    When knob is zero, intent is that no SIGSYS signals are delivered.
    Comparing zero to zero does not test much, we should compare the count
    of delivered SIGSYSs to zero.
    
    Reviewed by:	dchagin, imp
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44077
    kostikbel authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    3f038b3 View commit details
    Browse the repository at this point in the history
  20. tcp_rack.4: Fix a link in the SEE ALSO section

    The URL of the paper at arxiv.org has changed so link the
    PDF-file directly.
    
    MFC after:	3 days
    gbergling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    e138c7d View commit details
    Browse the repository at this point in the history
  21. tcp: address enum-int-mismatch

    fix gcc13 error after f74352f
    rscheff authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    b90603c View commit details
    Browse the repository at this point in the history
  22. tcp: need default in switch statement for enum.

    fix clang error after c9b6241
    
    Reviewed By: imp
    Differential Revision: https://reviews.freebsd.org/D44081
    rscheff authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    240212c View commit details
    Browse the repository at this point in the history
  23. libc/sys: add errno test

    Despite looking trivial, it requires proper split of exports from libsys
    and libc, proper filtering work in rtld, and operational libsys.
    
    Reviewed by:	emaste, imp
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44075
    kostikbel authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    bd2cf00 View commit details
    Browse the repository at this point in the history
  24. snd_hdspe(4): Optional unified pcm device.

    Add a sysctl tunable to unify all physical ports of an HDSPe sound card
    into one pcm device, with up to 14 (AIO) or 36 (RayDAT) channels. This
    makes all ports available in multi-channel audio software.
    
    Differential Revision:	https://reviews.freebsd.org/D43798
    0EVSG authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    226b0a1 View commit details
    Browse the repository at this point in the history
  25. MFV: xz 5.6.0.

    MFC after:	2 weeks
    delphij authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    ef9e4a4 View commit details
    Browse the repository at this point in the history
  26. loader: we can only env_discard() existing variable

    While dropping nvpair from nvstore, we also remove the corresponding
    environment variable. By doing so, we should be careful not to try
    to unset non-existing variable.
    
    Reviewed by:	imp
    MFC after:      2 week
    Differential revision:  https://reviews.freebsd.org/D44083
    Toomas Soome authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    4543e92 View commit details
    Browse the repository at this point in the history
  27. ipsec esp: avoid dereferencing freed secasindex

    It is possible that SA was removed while processing packed, in which
    case it is changed to the DEAD state and it index is removed from the
    tree. Dereferencing sav->sah then touches freed memory.
    
    Reviewed by:	ae
    Sponsored by:	NVIDIA networking
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44079
    kostikbel authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    5ec4c49 View commit details
    Browse the repository at this point in the history
  28. pam: Add pam_xdg module

    This is a module to setup the XDG directories and environment variables.
    For now the only usage is to have a XDG_RUNTIME_DIR environment setup at
    user login.
    All other environment variable have a default fallback so no need to export
    them in this module.
    The directory is created according to the XDG Base directory specification.
    
    The default base directory is /var/run/xdg/<username> but can be configured
    using the runtime_dir=<dir> module option.
    
    According to the spec the directory *must* not survive a reboot so adding
    var_run_enable="YES" to rc.conf is highly recommanded.
    
    Reviewed by:	des, pauamma (manpages)
    Differential Revision:	https://reviews.freebsd.org/D44011
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9290d68 View commit details
    Browse the repository at this point in the history
  29. pam: Always use pam_xdg for session and xdm

    This ensure that the XDG_RUNTIME_DIR is always created and the environment
    variable is present which is a must for any wayland user (at least).
    The only "cost" of it is a directory is created and unused.
    
    Reviewed by:	des
    Differential Revision:	https://reviews.freebsd.org/D44012
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    32f8c12 View commit details
    Browse the repository at this point in the history
  30. diff: Fix --expand-tabs and --side-by-side.

    * Overhaul column width and padding calculation.
    * Rewrite print_space() so it is now a) correct and b) understandable.
    * Rewrite tab expansion in fetch() for the same reason.
    
    This brings us in line with GNU diff for all cases I could think of.
    
    Sponsored by:	Klara, Inc.
    Reviewed by:	imp
    Differential Revision:	https://reviews.freebsd.org/D44014
    dag-erling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    720b4db View commit details
    Browse the repository at this point in the history
  31. diff: Bump manual page date.

    Sponsored by:	Klara, Inc.
    dag-erling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    b501725 View commit details
    Browse the repository at this point in the history
  32. kern: fix panic with disabled ttys

    PR: 277240, 277329
    Reviewed by: kib (earlier version)
    Fixes: f1d0a0c ("jail: Fix information leak.")
    MFC after: 3 days
    Sponsored by: The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D44086
    emaste authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9cc1c62 View commit details
    Browse the repository at this point in the history
  33. rtld-elf: support either byte-order of hints file

    Accept either little-endian or big-endian representation of the ELF
    hints magic number in the header of a hints file and convert the
    parameters to the native byte-order of the repsective system.
    
    This is a pre-requisite for a planned change to always write the byte
    order in little-endian format on all architectures. The only relvant
    architecture that uses big-endian data is powerpc64, and it is not
    likely that new architectures will choose that representation of data
    in memory.
    
    When all supported architectures use little-endian data in the hints
    file, the byte swap logic can be enabled for big-endian CPUs at
    compile time. Up to that point, there is a very small run-time penalty
    that is paid on all systems to check the byte-order of the hints file
    and to provide the option to byte-swap the parameters read from the
    hints file header.
    
    This commit contains the changes from review D44080 (which had been
    split off from this patch for easier review),
    
    Reviewed by:	kib
    MFC after:	1 month
    Differential Revision:	https://reviews.freebsd.org/D44053
    stesser authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    154e282 View commit details
    Browse the repository at this point in the history
  34. ofwdump: Convert ints that are booleans to bool.

    No functional changes...
    
    Sponsored by:		Netflix
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    788fcad View commit details
    Browse the repository at this point in the history
  35. snd_uaudio(4): Fix sample rate selection after 42fdcd9.

    The sample rate selection of snd_uaudio(4) at runtime was implicitly
    relying on a specific order in the device config list. In case a default
    was set through the hw.usb.uaudio.default_rate sysctl tunable, commit
    42fdcd9 removed a duplicate sample rate entry from that list, which
    inadvertently broke sample rate selection at runtime. Implement sample
    rate selection in a way that works for any order in the device config
    list.
    
    Reported by:	Lexi Winter <[email protected]>
    MFC after:	1 week
    Reviewed by:	christos
    Differential Revision:	https://reviews.freebsd.org/D44051
    0EVSG authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    e58b23d View commit details
    Browse the repository at this point in the history
  36. pcm.4: Fix lint warnings

    Ignore the "manual not found" warnings for snd_ai2s(4) and
    snd_davbus(4).
    
    Sponsored by:	The FreeBSD Foundation
    MFC after:	2 weeks
    Reviewed by:	markj
    Differential Revision:	https://reviews.freebsd.org/D43996
    christosmarg authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d7c16c0 View commit details
    Browse the repository at this point in the history
  37. loader: Add loader.exit

    Add loader.exit(status). While one can get alomst this behavior with
    loader.perform("quit"), quit doesn't allow a value to be returned to the
    firmware. The interpretation of 'status' is firmware specific. This can
    be used when autobooting doesn't work in scripts, for example, to allow
    the firmware to try something else...
    
    Sponsored by:		Netflix
    
    Reviewed by:	kevans
    Differential Revision:	https://reviews.freebsd.org/D44094
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    da04c94 View commit details
    Browse the repository at this point in the history
  38. pam_xdg: Remove leftover debug printf

    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    Fixes:		6e69612 ("pam: Add pam_xdg module")
    evadot authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    fadffe7 View commit details
    Browse the repository at this point in the history
  39. pam_xdg: Check asprintf return value

    Reported by:	Shawn Webb <[email protected]>
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Fixes:          6e69612 ("pam: Add pam_xdg module")
    evadot authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    1fb374d View commit details
    Browse the repository at this point in the history
  40. pam_xdg: Reset rv to 0

    Otherwise on success it ontain the return value of asprintf.
    
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    Fixes:		2d2950c ("pam_xdg: Check asprintf return value")
    evadot authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a1c2125 View commit details
    Browse the repository at this point in the history
  41. PP mutexes: unlock: Reset inherited prio regardless of privileges

    'uq_inherited_pri' contains the current priority inherited from Priority
    Protection mutexes.  If -1 is passed through 'm_ceilings[1]', meaning
    that there are no such mutexes held anymore, this must be reflected into
    it by setting it to PRI_MAX, regardless of whether the thread has
    privilege to set realtime priorities (PRI_MAX is also obviously not
    a realtime priority level).  By contrast, it shall not be updated and
    the computed 'new_inherited_pri' shall stay unused if the thread doesn't
    have the ability to set a realtime priority, possibly keeping an older
    such priority acquired previously.
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D43984
    OlCe2 authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9011023 View commit details
    Browse the repository at this point in the history
  42. PP mutexes: lock: Check if priority is too high against base one

    Doing this instead of using the current (user) priority, which includes
    current lendings, prevents gratuitous failures for threads involved in
    multiple locking groups, where each group is defined as the threads that
    can lock a particular PP or PI mutex.  No deadlock can occur in this
    case.  Indeed, if a thread holds such a lock A giving it a higher
    priority than the ceiling of some other lock B that is PP, and B is
    acquired by another thread, effectively the latter may not be able to
    run but this situation can only last until the first thread releases A,
    which it will do eventually.
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D44044
    OlCe2 authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a811bfc View commit details
    Browse the repository at this point in the history
  43. PP mutexes: lock: Reduce 'umtx_lock' holding before taking the user lock

    There is no need to have it for the priority check (that the thread
    doesn't have a higher priority than the mutex's ceiling), and there's
    also no need to take it if the thread doesn't have privileges to set its
    priority to the mutex's ceiling.
    
    While here, turn 'su' into a 'bool' and compute the internal priority
    corresponding to the mutex's ceiling once and for all, putting it in new
    'new_pri'.
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D44045
    OlCe2 authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    3b0fbe3 View commit details
    Browse the repository at this point in the history
  44. sched: Simplify sched_lend_user_prio_cond()

    If 'td_lend_user_pri' has the expected value, there is no need to check
    the fields that sched_lend_user_prio() modifies, they either are already
    good or soon will be ('td->td_lend_user_pri' has just been changed by
    a concurrent update).
    
    Reviewed by:            kib
    Approved by:            emaste (mentor)
    MFC after:              2 weeks
    Sponsored by:           The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D44050
    OlCe2 authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a230c82 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    4d70d33 View commit details
    Browse the repository at this point in the history
  46. vge(4): Fix a typo in a source code comment

    - s/opration/operation/
    
    MFC after:	3 days
    gbergling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    73c77cc View commit details
    Browse the repository at this point in the history
  47. dumprestore.h: Fix typos in source code comments

    - s/dumpped/dumped/
    
    MFC after:	3 days
    gbergling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    5096fb4 View commit details
    Browse the repository at this point in the history
  48. pci_vendors: update to 2024.02.02

    bapt authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    6980ea5 View commit details
    Browse the repository at this point in the history
  49. pf: fix packet-to-big for route-to as well

    When we handle a packet via route-to (i.e. pf_route6()) we still need to
    verify the MTU. However, we only run that check in the forwarding case.
    
    Set the PFIL_FWD tag when running the pf_test6(PF_OUT) check from
    pf_route6(). We are in fact forwarding, so should call the test function
    as such. This will cause us to run the MTU check, and generate an ICMP6
    packet-too-big error when required.
    
    See also:	54c62e3
    See also:	f1c0030
    See also:	https://redmine.pfsense.org/issues/14290
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    kprovost authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    5d9f3b2 View commit details
    Browse the repository at this point in the history
  50. bxe(4): Fix two typos in a kernel messages

    - s/successfull/successful/
    
    MFC after:	3 days
    gbergling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    c31c2a9 View commit details
    Browse the repository at this point in the history
  51. carp(4): Fix a typo in a source code comment

    - s/successfull/successful/
    
    MFC after:	3 days
    gbergling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    97bc626 View commit details
    Browse the repository at this point in the history
  52. CTL: Drop Format Device and Rigid Disk Geometry mode pages

    Those mode pages are obsolete since SBC-2 specification almost 20
    years ago.  First I was trying to understand possible relations
    between physical block and physical sector terms in different specs.
    Then was thinking about possible relations to device CHS geometry
    and compatibility issues.  Finally I just decided that none of it
    worth the efforts and should rest in piece.
    
    PR:	276524
    amotin authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d586d80 View commit details
    Browse the repository at this point in the history
  53. rman: Remove rman_set_start/end

    These functions are not safe as the rman implementation assumes that
    all regions (including allocated resources) are sorted by address in
    the internal linked-list.
    
    Differential Revision:	https://reviews.freebsd.org/D43936
    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    93c743d View commit details
    Browse the repository at this point in the history
  54. dpaa2: Use bus_generic_rman_*

    Reviewed by:	dsl
    Differential Revision:	https://reviews.freebsd.org/D43937
    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d7d3b21 View commit details
    Browse the repository at this point in the history
  55. bhnd_usb: Use bus_generic_rman_*

    For SYS_RES_MEMORY, use bus_generic_rman_* for
    activate/deactivate_resource methods as well as custom
    map/unmap_resource methods that request submappings of the sc_mem
    resource allocated from the parent bus.
    
    Differential Revision:	https://reviews.freebsd.org/D43938
    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    3925611 View commit details
    Browse the repository at this point in the history
  56. bhnd_chipc: Make use of bus_generic_rman_* to simplify some code

    This uses bus_generic_rman_alloc/release_resource to reduce some code
    duplication.  However, I've left the custom activate/deactivate
    methods as-is.
    
    Differential Revision:	https://reviews.freebsd.org/D43939
    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    fd007b6 View commit details
    Browse the repository at this point in the history
  57. mkimg.1: add new PARTITION SPECIFICATION section

    The specification follows a commentary to the function parse_part()
    in the source code and the code itself.
    
    MFC after:	3 days
    Eugene Grosbein authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    7dd26f0 View commit details
    Browse the repository at this point in the history
  58. netlink: Don't use a zero-length array

    Define SNL_DECLARE_FIELD_PARSER* macros to create a parser that has
    no output attributes only input fields and use this to define the
    snl_donemsg_parser.
    
    This removes the need for the zero-length nla_p_donemsg[] variable.
    Zero length arrays are not valid in ISO C.
    
    Reviewed by:	jrtc27, melifaro
    Differential Revision:	https://reviews.freebsd.org/D43918
    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    18f2418 View commit details
    Browse the repository at this point in the history
  59. netlink: restore original buffer if nlmsgs_to_linux() fails

    Caller is responsible to free it or reuse.
    
    Fixes:	17083b9
    glebius authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    6ca76b5 View commit details
    Browse the repository at this point in the history
  60. Add share/mk/local.dirdeps-targets.mk

    To include site.dirdeps-targets.mk
    sgerraty authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    7336754 View commit details
    Browse the repository at this point in the history
  61. dwc: fix DEBUG macro name

    It conflicts with the general "DEBUG" macro defined as an option in LINT
    builds. Since this is actually unused, just rename it to GMAC_DEBUG.
    
    Reviewed by:	manu
    MFC after:	3 days
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D44102
    mhorne authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d2ddd63 View commit details
    Browse the repository at this point in the history
  62. conf: deduplicate dwc config logic

    Move the core dwc(4) file entries to the MI conf/files.
    Platform-specific versions e.g. rk_dwc are retained in their current
    position. On arm64 this necessitates adding an additional 'device dwc'
    option.
    
    This hardware is found on several available/emerging RISC-V SoCs, so we
    will soon need it on this architecture.
    
    Reviewed by:	manu
    MFC after:	1 week
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D44103
    mhorne authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0835929 View commit details
    Browse the repository at this point in the history
  63. conf: deduplicate dwmmc config logic

    The core of this driver is supported by multiple architectures. Move the
    config entries to the MI conf/files.
    
    This hardware is found on several available/emerging RISC-V SoCs, so we
    will soon need it on this architecture.
    
    Reviewed by:	manu
    MFC after:	1 week
    Sponsored by:	The FreeBSD Foundation
    Differential Revision:	https://reviews.freebsd.org/D44104
    mhorne authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    45b1b35 View commit details
    Browse the repository at this point in the history
  64. riscv: add dwc, dwmmc to NOTES

    In the future these drivers will be enabled in GENERIC. For now, ensure
    they build with LINT.
    
    Sponsored by:	The FreeBSD Foundation
    mhorne authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    c1f8235 View commit details
    Browse the repository at this point in the history
  65. riscv: add starfive kernelconf template

    Enable the Synopsis UART driver. Other drivers will be added in the
    future.
    
    Reviewed by:	jrtc27
    Sponsored by:	The FreeBSD Foundatino
    Differential Revision:	https://reviews.freebsd.org/D44105
    mhorne authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    b0249b7 View commit details
    Browse the repository at this point in the history
  66. rc: Set var_run_enable to enable by default

    This will load/save the /var/run directories at boot/shutdown if
    and only if /var/run/ is a tmpfs mount so it is a win for tmpfs
    users and a no-op for everyone else.
    
    Reviewed by:	bapt
    Differential Revision:	https://reviews.freebsd.org/D44097
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    ef06d23 View commit details
    Browse the repository at this point in the history
  67. nvmecontrol.8: Fix the SYNOPSIS section

    The manpage of nvmecontrol(8) has the following SYNOPSIS:
    
    nvmecontrol format [-f fmt] [-m mset] [-o pi] [-l pil] [-E]
    [-C] <device-id | namespace-id>
    
    The correct switch for the pi option is -p according
    to sbin/nvmecontrol/format.c:
    
    OPT("pi", 'p', arg_uint32, opt, pi, "Protective information")
    
    So correct the SYNOPSIS section accordingly.
    
    PR:	276554
    Reviewed by:	imp
    MFC after:	3 days
    Differential Revision:	https://reviews.freebsd.org/D44099
    bsdcode authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    7de17aa View commit details
    Browse the repository at this point in the history
  68. md5.1: Fix an example

    The last example in the manpage md5(1) wants to demonstrate
    GNU mode (md5sum), but uses BSD mode (md5) instead:
    
    In GNU mode, the -c option does not compare against a hash string
    passed as parameter. Instead, it expects a  digest file,
    as created under the name digest for /boot/loader.conf in
    the example above.
    
    PR:	276560
    Reviewed by:	mhorne
    MFC after:	3 days
    Differential Revision:	https://reviews.freebsd.org/D44098
    bsdcode authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    fe5e56f View commit details
    Browse the repository at this point in the history
  69. stand: Remove dangling mips references

    Remove mips support files from ficl.
    
    Sponsored by:		Netflix
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    c2b6b08 View commit details
    Browse the repository at this point in the history
  70. gicv3: Change how we initialize its children.

    The current code is written such that all the attach routines can do so
    in parallel. However, newbus serializes children today, and is likely to
    do so in the future. Only allocate memory for the first time. Add an
    assertion that this memory is allocated for larger units.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44032
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    5a482f9 View commit details
    Browse the repository at this point in the history
  71. gicv3: Panic if the gicv3 already running

    Due to undefined behavior, it's impossible to re-program a gicv3 ITS
    table once it's programmed once. Memory corruption happens otherwise.
    Panic if we detect the LPI is already enabled.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44033
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    1b04e71 View commit details
    Browse the repository at this point in the history
  72. gicv3: Don't allocate pend_base if we're already started

    If the gicv3 is already started, then don't allocate memory for the
    pend_base tables.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44034
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    3b72d0d View commit details
    Browse the repository at this point in the history
  73. gicv3: Only set the redistributor base if we're not prealloced

    Only set the redistributor base if we're not reallocated.  If we are
    preallocated, leave it all alone.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44035
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    2400e54 View commit details
    Browse the repository at this point in the history
  74. gicv3: Report PENDBASE when bootverbose

    Report some stats about PENDBASE when we're running under
    bootverbose. We don't do this by default because experience has been
    excess output in this routine hangs the system.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44036
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    4423731 View commit details
    Browse the repository at this point in the history
  75. gicv3: Define PA masks for the PENDBASR and PROPBASER registers

    Define masks for these registers to find the PA of where these are
    pointing.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44096
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    1a6a0f7 View commit details
    Browse the repository at this point in the history
  76. gicv3: In its_init_cpu_lpi record each cpu's PENDBASER

    When we're using the preallocated memory for gicv3, record each cpu's
    PENDBASER where we'd normally allocate memory for it. Make sure that
    memory is in the excluded list and map the PA to VA and store that, to
    mimic what we do with the allocation case.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44037
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    288bf37 View commit details
    Browse the repository at this point in the history
  77. gicv3: If the LPI is already allocated, remember it

    If the LPI Configuration Tabel has been pre-allocated by the boot
    loader, then we have to remember PROPBASER and use it rather than
    allocating memory for it ourselves. Linux provides us with a reserved
    table that contains all the gicv3 allocations, so make sure what we read
    from PROPBASER matches something in that table. Normally, bare metal
    boot loaders leave the gic in a reset state. However, Linux brings it up
    fully so it can do I/O to boot the next kernel via kexec. Since the
    gicv3 PENDBASER can't be reset while running due to undefined behavior,
    we must reuse what's there for both PENDBASER and PROPBASER.
    
    With this commit, the workaround is complete. Details are at
    https://lkml.iu.edu/hypermail/linux/kernel/1809.2/06246.html
    and pointers in the thread.
    
    Sponsored by:		Netflix
    Reviewed by:		andrew
    Differential Revision:	https://reviews.freebsd.org/D44038
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    2730601 View commit details
    Browse the repository at this point in the history
  78. lorder: Clean up and improve robustness.

    * Properly parse (no) command-line options.
    
    * Ensure that errors go to stderr and result in a non-zero exit.
    
    * Drop the special-case code for a single argument, as it will produce
      the wrong outcome if the file does not exist or is corrupted.
    
    * Don't print anything until after we've collected all the data.
    
    * Always create all temporary files before setting the trap.  This
      ensures that the trap can safely fire at any moment, regardless of any
      previous definition of `T`.
    
    * Use a temporary file rather than a pipe between `nm` and `sed` to
      ensure proper termination if `nm` fails due to a missing or invalid
      input.
    
    * The check for self-referential entries was conditional on testing our
      argument list against a regex looking for archives.  This was a
      needless and unreliable optimization; make the check unconditional.
    
    * Document that lorder will not work properly if any of its inputs have
      spaces in their name.
    
    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44133
    dag-erling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    da477bc View commit details
    Browse the repository at this point in the history
  79. lorder: Add unit tests.

    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44134
    dag-erling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    45419ba View commit details
    Browse the repository at this point in the history
  80. lorder: Undeprecate.

    While lorder is not required by our current toolchain (or any toolchain
    we've used in the past decade or two), it still occasionally shows up
    in build systems of third party software, including The Open Group's
    UNIX conformance test suite, and the maintenance cost is negligible.
    
    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	imp, allanjude, emaste
    Differential Revision:	https://reviews.freebsd.org/D44135
    dag-erling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    7959c17 View commit details
    Browse the repository at this point in the history
  81. ldconfig: support hints files of either byte-order

    Make the ldconfig program accept hints files in little-endian and
    big-endian format on all architectures.
    
    The default format is the native byte-order of the respective host.
    This is expected to change when a version of the pkg command is
    available that implements support for either byte-order in its
    internal ldconfig function. (Already committed in the development
    tree of the pkg utility, a release is expected at the end of Q1/2024).
    
    This update adds the -B option to the ldconfig program. It enforces
    the creation of a big-endian hints file on a little-endian host.
    The main purpose to is support of tests with non-native byte-order
    files on little-endian hosts. It will be removed when all supported
    FreeBSD releases use little-endian hints files by default.
    
    When little-endian hints files are generally used, support of
    either byte-order in libexec/rtld can also be removed.
    
    When support for big-endian hints files is no longer required,
    the COND_SWAP macro in ldconfig and rtld shall be replaced by
    le32toh(), which just return their argument on little-endian
    architectures.
    
    Approved by:	kib
    MFC after:	1 month
    Relnotes:	yes
    Differential Revision:	https://reviews.freebsd.org/D44093
    stesser authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    4448582 View commit details
    Browse the repository at this point in the history
  82. netlink: fix casts

    Reviewed by:	melifaro
    MFC after:	1 week
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    Differential Revision:	https://reviews.freebsd.org/D44088
    kprovost authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    ee0cfb3 View commit details
    Browse the repository at this point in the history
  83. netlink: add bool type support

    Reviewed by:	melifaro
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    Differential Revision:	https://reviews.freebsd.org/D44089
    kprovost authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    65ab58c View commit details
    Browse the repository at this point in the history
  84. pf: convert kill/clear state to use netlink

    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    Differential Revision:	https://reviews.freebsd.org/D44090
    kprovost authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9f3831f View commit details
    Browse the repository at this point in the history
  85. socket tests: remove MSG_TRUNC test for unix/seqpacket

    The PF_UNIX/SOCK_SEQPACKET was marked as PR_ATOMIC and that made
    soreceive_generic() to treat it pretty much as a datagram socket.
    However, POSIX says:
    
      The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type,
      and is also connection-oriented. The only difference between these
      types is that record boundaries are maintained using the
      SOCK_SEQPACKET type. A record can be sent using one or more output
      operations and received using one or more input operations, but a
      single operation never transfers parts of more than one record.
      Record boundaries are visible to the receiver via the MSG_EOR flag
      in the received message flags returned by the recvmsg() function. It
      is protocol-specific whether a maximum record size is imposed.
    
    What the test was doing is checking if MSG_TRUNC would report the space
    required to return up the end of next mbuf record in the socket buffer.
    Apparently the test assumed that this boundary is defined by the write(2)
    size on the peer socket.  This was true in test conditions, but I'm not
    sure it would always be true - sbcompress() may merge mbufs. Anyway, the
    mbuf boundaries are internal socket buffer implementation, they are not
    SOCK_SEQPACKET records.  The records need to be explicitly marked with
    MSG_EOR by sender, and the test definitely wasn't doing that.
    
    Reviewed by:		tuexen, markj
    Differential Revision:	https://reviews.freebsd.org/D43707
    glebius authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    04ef3ee View commit details
    Browse the repository at this point in the history
  86. tests/unix_seqpacket: remove EMSGSIZE tests

    These tests were not testing conformance to the specification, rather than
    the limitation of our implementation.  The specification doesn't say that
    a SOCK_SEQPACKET shall ever return EMSGSIZE.  It says:
    
      The SOCK_SEQPACKET socket type is similar to the SOCK_STREAM type,
      and is also connection-oriented. The only difference between these
      types is that record boundaries are maintained using the
      SOCK_SEQPACKET type. A record can be sent using one or more output
      operations and received using one or more input operations, but a
      single operation never transfers parts of more than one record.
      Record boundaries are visible to the receiver via the MSG_EOR flag
      in the received message flags returned by the recvmsg() function. It
      is protocol-specific whether a maximum record size is imposed.
    
    The EMSGSIZE is specified as 'message is too large to be sent all at once,
    as the socket requires'.  Indeed existing implementation that has
    unix/seqpacket marked as PR_ATOMIC has such a limitation.  But future
    implementation won't have, thus remove the tests.
    
    Reviewed by:		tuexen, asomers
    Differential Revision:	https://reviews.freebsd.org/D43756
    glebius authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    ea57de3 View commit details
    Browse the repository at this point in the history
  87. tests/unix_seqpacket: provide function that returns bound & listening…

    … sock
    
    Use the function in mk_pair_of_sockets(), and in four existing tests -
    'listen_bound', 'connect', 'shutdown_send' and 'shutdown_send_sigpipe'.
    While here make mk_pair_of_sockets() return pointer to sockaddr_un instead
    of path.  This also fixes bug of returning pointer to stack memory of
    returning function.  However, the only caller that cares about this return
    is temporarily ifdefed out.  No functional change intended.
    
    Reviewed by:		tuexen
    Differential Revision:	https://reviews.freebsd.org/D43852
    glebius authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    cdfa5ed View commit details
    Browse the repository at this point in the history
  88. tests/unix_seqpacket: test that data can be sent before accept(2)

    This is undocumented feature of PF_UNIX/SOCK_STREAM and thus of
    PF_UNIX/SOCK_SEQPACKET, too.  Put the test into this file, since this file
    is most advanced and has all primitives to write this test in minimum
    number of lines.
    
    Differential Revision:	https://reviews.freebsd.org/D43853
    glebius authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    29bfffd View commit details
    Browse the repository at this point in the history
  89. tests/unix_seqpacket: test that implied connect doesn't work

    Applies both to SOCK_STREAM and SOCK_SEQPACKET.  Put the test in this file
    as it is most advanced one.
    
    Reviewed by:		tuexen
    Differential Revision:	https://reviews.freebsd.org/D43854
    glebius authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    312d6ac View commit details
    Browse the repository at this point in the history
  90. lib{c,sys}: expose cap_sandboxed from libc/gen

    It's a thin wrapper on cap_getmode() implemented in libc, not a system
    call so the symbol should have been exposed by libc/gen/Symbol.map
    alongside the implementation.
    
    Reviewed by:	kib
    Differential Revision:	https://reviews.freebsd.org/D44110
    brooksdavis authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a1d7c49 View commit details
    Browse the repository at this point in the history
  91. sockets: in solisten_proto() don't call sbdestroy() on a PR_SOCKBUF

    A socket marked with PR_SOCKBUF has protocol specific socket buffers
    and will take care of the in its pr_listen method.  Right now we don't
    have any sockets that can listen and are PR_SOCKBUF, but that will
    change soon.
    glebius authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    15c997b View commit details
    Browse the repository at this point in the history
  92. rtld: unconditionally generate map file during build

    It is needed at least to ensure that undesirable code is not linked into
    rtld from libsys/libc, and adding the map file option each time is not
    productive.
    
    Reviewed by:	brooks, emaste
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44136
    kostikbel authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    3ab2c12 View commit details
    Browse the repository at this point in the history
  93. rtld: use generated map file to check for some leaks from libc into rtld

    Reviewed by:	brooks, emaste (previous version)
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    Differential revision:	https://reviews.freebsd.org/D44136
    kostikbel authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    dbbe9b6 View commit details
    Browse the repository at this point in the history
  94. powerpc: Bump maximum number of FDT reserved mem entries

    Newer firmware on POWER systems, including v2.10 of the Talos II and
    Blackbird firmware can end up reserving more than 32 memory regions in
    the device tree, which exceeded an assumption made by ofw_machdep.c's
    excise_fdt_reserved(). Bump the maximum number of FDT reservations to
    the next power of 2 in order to fix booting on newer firmware.
    
    PR:		277097
    Reviewed by:	jhibbits
    Differential Revision: https://reviews.freebsd.org/D44015
    Shawn Anastasio authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    e4c6e82 View commit details
    Browse the repository at this point in the history
  95. Update the Arm Optimized Routine library to v24.01

    Sponsored by:	Arm Ltd
    zxombie authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    aead2f9 View commit details
    Browse the repository at this point in the history
  96. usbconfig: allow to get usb vendors and products from the usb.ids dat…

    …abase
    
    Reviewed by:		emaste, manu
    Differential Revision:	https://reviews.freebsd.org/D3392
    bapt authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d7b107d View commit details
    Browse the repository at this point in the history
  97. usb_vendors: add new usb_vendors

    usb_vendors is a local copy of usb.ids (similar to pci_vendors)
    It is now used by usbconfig(1) when listing the devices.
    bapt authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d219815 View commit details
    Browse the repository at this point in the history
  98. RELNOTES: document usbconfig(8) changes

    bapt authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    e4459fa View commit details
    Browse the repository at this point in the history
  99. libucl: import snapshot 2024-02-06

    bapt authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9464ec1 View commit details
    Browse the repository at this point in the history
  100. lorder: Don't rely on legacy syntax.

    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44155
    dag-erling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a6f36ef View commit details
    Browse the repository at this point in the history
  101. lorder: Tweak invalid file test.

    Different implementations of `nm` have different ways of telling you
    that your file is not a valid object or library, but they all seem to
    have “not recognized” as a common substring.
    
    MFC after:	1 week
    Sponsored by:	Klara, Inc.
    Reviewed by:	allanjude
    Differential Revision:	https://reviews.freebsd.org/D44154
    dag-erling authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    92847a5 View commit details
    Browse the repository at this point in the history
  102. loader/zfs: Fix to actually return the last error

    The last fix, to try to return the last error, really returns the first
    return code after the last error, which could be zero. Instead, return
    the last error. Also, change rc to err to make it visually distinct from
    rv, which is the cause of my error in e54bb0a.
    
    Reported by:		Bill Sommerfeld <[email protected]>
    Fixes:			e54bb0a
    Sponsored by:		Netflix
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    b5eaff3 View commit details
    Browse the repository at this point in the history
  103. loader/efi: Small diff reduction

    Make doing the boot once protocol more similar to copies of this code.
    
    Sponsored by:		Netflix
    Reviewed by:		manu
    Differential Revision:	https://reviews.freebsd.org/D44007
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    8b1c9a2 View commit details
    Browse the repository at this point in the history
  104. kernel: Sync ldscript files wrt gnu.attributes and .note.GNU-stack

    Bring the keeping of .gnu.attributes to all architectures. Also discard
    .note.GNU-stack on all archtiectures. Plus delete obsolete comment that
    was removed from i386 in 2010.
    
    Sponsored by:		Netflix
    Reviewed by:		kib
    Differential Revision:	https://reviews.freebsd.org/D44069
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    d4959a2 View commit details
    Browse the repository at this point in the history
  105. firmware: load binary firmware files

    When we can't find a .ko module to satisfy the firmware request, try
    harder by looking for a file to read in directly. We compose this file's
    name by appending the imagename parameter to the firmware path
    (currently hard-wired to be /boot/firmware, future plans are for a
    path). Allow this file to be unloaded when firmware_put() releases the
    last reference, but we don't need to do the indirection and dance we
    need to do when unloading the .ko that will unregister the firmware.
    
    Sponsored by:		Netflix
    Reviewed by:		manu, jhb
    Differential Revision:	https://reviews.freebsd.org/D43555
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    5d7c0f9 View commit details
    Browse the repository at this point in the history
  106. firmware: Allow binary files to be loaded by /boot/loader

    Files loaded "-t firmware" (or module_type="firmware").  They are
    registered with the firmware system using the full path to the file.
    There's only one firmware per file, and it is the entire file. We do an
    extra firmware_get() on any firmware we find here to prevent them from
    ever being unloaded (we can't handle that case sanely).
    
    Sponsored by:		Netflix
    Reviewed by:		tsoome, jhb
    Differential Revision:	https://reviews.freebsd.org/D43522
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9007090 View commit details
    Browse the repository at this point in the history
  107. firmware: document new native file loading.

    Sponsored by:		Netflix
    Differential Revision:	https://reviews.freebsd.org/D43611
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    3aea5fd View commit details
    Browse the repository at this point in the history
  108. RELNOTES: fix my poor english

    Reported by:	Gary Jennejohn <[email protected]>
    bapt authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    6c703e4 View commit details
    Browse the repository at this point in the history
  109. Merge one true awk from 2024-01-22 for the Awk Second Edition support

    This brings in Unicode support, CSV support and a number of bug fixes.
    They are described in _The AWK Programming Language_, Second Edition, by
    Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley, 2024,
    ISBN-13 978-0138269722, ISBN-10 0138269726).
    
    Sponsored by:		Netflix
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    22f7af6 View commit details
    Browse the repository at this point in the history
  110. firmware: unbreak armv7

    Use proper format specifiers (with casts) and don't redefine flags.
    
    Fixes:			c7b1e98
    Sponsored by:		Netflix
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9a39869 View commit details
    Browse the repository at this point in the history
  111. loader/lua: Remove pager shim

    Just after 12.2 and before the stable/13 branch, kevans added lpager.c
    to provide a pager interface for commands written in lua.  It was merged
    into 12.3. Now that 12.2 is long since EOL, we can remove the pager shim
    here. Nobody needs that old loader + new lua scripts.  Plus only one
    command is affected.
    
    Sponsored by:		Netflix
    Reviewed by:		kevans
    Differential Revision:	https://reviews.freebsd.org/D44142
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0aa8a96 View commit details
    Browse the repository at this point in the history
  112. loader/lua: Remove compat shim for loader.lua_path

    loader.lua_path was committed before stable/13 was branched, and merged
    in to for 12.2. Remove workaround for it not being present.
    
    Sponsored by:		Netflix
    Reviewed by:		kevans
    Differential Revision:	https://reviews.freebsd.org/D44143
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    ecf9b7f View commit details
    Browse the repository at this point in the history
  113. loader/lua: Remove workaround for command_error

    loader.command_error was available prior to stable/12 branching. No need
    to check if it is available or not.
    
    Sponsored by:		Netflix
    Reviewed by:		kevans
    Differential Revision:	https://reviews.freebsd.org/D44144
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9c620f3 View commit details
    Browse the repository at this point in the history
  114. Skipping merge of e52a917

    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    600f23e View commit details
    Browse the repository at this point in the history
  115. Skipping merge of f102db5

    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    682ddf1 View commit details
    Browse the repository at this point in the history
  116. Skipping merge of 6d3f4dc

    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    b3b9122 View commit details
    Browse the repository at this point in the history
  117. Skipping merge of 304cdac

    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0696b97 View commit details
    Browse the repository at this point in the history
  118. Cirrus-CI: bump Clang versions to 16 and 17

    Clang/LLVM 17 is currently the in-tree default compiler, so use it as
    the default Cirrus-CI toolchain.  Clang/LLVM 18 is coming soon and needs
    to be added here, but I ran into trouble with llvm18-lite package
    availability so will look at that later.
    
    Reviewed by:	dim (earlier), Jose Luis Duran
    Sponsored by:	The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D44162
    emaste authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    1d83075 View commit details
    Browse the repository at this point in the history
  119. pf: support if-bound with reply-to

    On reply-to we don't know what interface to bind to when we create
    the state. Create any reply-to state as floating, but bind to the
    appropriate interface once we're handling the reply.
    
    See also:	https://redmine.pfsense.org/issues/15220
    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    kprovost authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    4907ef5 View commit details
    Browse the repository at this point in the history
  120. pf tests: IPv6 versions of the route-to/reply-to if-bound tests

    Sponsored by:	Rubicon Communications, LLC ("Netgate")
    kprovost authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a13810e View commit details
    Browse the repository at this point in the history
  121. pam_xdg: Close the dir after removal

    CID:	1534878
    Sponsored by:	Beckhoff Automation GmbH & Co. KG
    evadot authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a04c27d View commit details
    Browse the repository at this point in the history
  122. ldconfig: remove ignored -v (verbose) option

    The -v option used to print useful information when operating on a.out
    format libraries. After the removal of a.out support, it was accepted
    but did not have any effect.
    
    Remove the option and update the man-page.
    
    While here mention the set of historic options that are accepted but
    ignored: "-elf", "-s", and "-v".
    
    The FILES section contained outdated information and did not mention
    the way library directories of optional ports and packages are
    included in the library search path recorded in the hints file.
    
    The description of the "-B" option was incorrect (described a planned
    change) for big-endian platforms (powerpc64). These do still default
    to big-endian hints files, since the current version of the "pkg"
    program expects the hints file to be in native byte-order.
    
    Reviewed by:	kib
    MFC after:	1 month
    Differential Revision:	https://reviews.freebsd.org/D44139
    stesser authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    8f869ed View commit details
    Browse the repository at this point in the history
  123. CODEOWNERS: Add Stephane Rochoy

    Stephane Rochoy isn't quite the maintainer of these items, but has an
    interest in them. As an experiment, see if this is a viable thing to do.
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    805b183 View commit details
    Browse the repository at this point in the history
  124. Cirrus-CI: Add manual Clang 18 jobs

    Work is in progress to import Clang/LLVM 18 as the base system compiler.
    llvm18-lite is not yet in the quarterly package set but but will be
    available in the not too distant future, and is available for src forks
    that switch to latest packages.  Add manual llvm18 jobs now so that they
    can be used for testing.
    
    Sponsored by:	The FreeBSD Foundation
    emaste authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    60b2756 View commit details
    Browse the repository at this point in the history
  125. mqueuefs: fix statfs report to not signal file system full

    Synthetic file systems that do not actually allocate file system
    blocks or inodes should report that they have space available and
    that they provide 0 inodes, in order to prevent capacity monitoring
    tools from warning about resource exhaustion.
    
    This has been fixed in all other synthetic file systems in base in
    commit 88a795e, but this file was overlooked since its name does
    not indicate that it also provides a file system.
    
    MFC after:	1 month
    stesser authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    7fcfb81 View commit details
    Browse the repository at this point in the history
  126. arm64: Fix typo in pagetable_l0_ttbr0_bootstrap symbol name

    Obtained from:	CheriBSD
    qwattash authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    32e883e View commit details
    Browse the repository at this point in the history
  127. HTPS has actually three states not two so the macro needs to account …

    …for that.
    
    Ok lets fix up the tcp_in_hpts() so that it also says yes if you
    are in the race state moving and you are scheduled to be put in.
    This also requires changing the MPASS to be the old version non
    inline function of tcp_in_hpts().
    
    This change also adds a new inline macro so that a uint64_t timestamp can be
    obtained by a transport (aka Rack will use this).
    
    Reviewed by: glebius, tuexen
    Sponsored by: Netflix Inc.
    Differential Revision: https://reviews.freebsd.org/D44157
    Randall Stewart authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    b805c2f View commit details
    Browse the repository at this point in the history
  128. nvme: Firmware revisions in the firmware slot info logpage are ASCII …

    …strings
    
    In particular, don't try to byteswap the values as 64-bit integers and
    always print a non-empty version as a string.
    
    Reviewed by:	chuck, imp
    Sponsored by:	Chelsio Communications
    Differential Revision:	https://reviews.freebsd.org/D44121
    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0ce64dd View commit details
    Browse the repository at this point in the history
  129. pci_host_generic: Enumerate resource ranges under bootverbose

    Previously ranges were only enumerated for the FDT attachment but not
    ACPI.  This commit moves the enumeration to the shared attach routine
    so it is done for both.  While here, don't list empty ranges but do
    include the resource type for each range.
    
    Reviewed by:	andrew
    Differential Revision:	https://reviews.freebsd.org/D44132
    bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    a98d48b View commit details
    Browse the repository at this point in the history
  130. hier.7: various improvements

    First batch of word smithing: /boot, /dev and /etc. Improved wording and
    a few missing files added, though /dev is by no means complete.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    839b307 View commit details
    Browse the repository at this point in the history
  131. hier.7: various improvements m-s

    Second batch of word smithing: /media, /mnt, /nonexistant, /rescue,
    /sbin: Improved wording and a few missing files added
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0fe4505 View commit details
    Browse the repository at this point in the history
  132. hier.7: various improvements usr (no src)

    Third batch of word smithing: /usr but not /usr/src: Improved wording
    and a few missing files added.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    26acb88 View commit details
    Browse the repository at this point in the history
  133. hier.7: various improvements usr/src and /var

    Forth batch of word smithing: /usr/src and /var: Improved wording and a
    few missing files added.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#831
    concussious authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    1a7584f View commit details
    Browse the repository at this point in the history
  134. nvme: Report only the unknown bits

    When we get a smart error that's unknown, report only the unknown
    (reserved) bits of the Critical Warning Bitfield.
    
    Sponsored by:		Netflix
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    9097fb4 View commit details
    Browse the repository at this point in the history
  135. Add an UNDEFINED_VERSION option

    When enabled (current default) link with --undefined-version to allow
    symbol maps to contain symbols not defined by libraries.  When disabled,
    link with --no-undefined-version to disallow these bugs.
    
    WITHOUT_UNDEFINED_VERSION is currently broken.  Once it is fixed it
    should be made the default and this option should likely be removed.
    
    Reviewed by:	dim, emaste
    Differential Revision:	https://reviews.freebsd.org/D44169
    brooksdavis authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    8c22c69 View commit details
    Browse the repository at this point in the history
  136. read.2: Use .Fn markup instead of .Xr for read/write calls

    Udpate both write / read references from .Xr to .Fn to eliminate
    self-reference cross reference.
    
    Reviewed by: imp
    Pull Request: freebsd/freebsd-src#1128
    chrisdavidson authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    0e4aed2 View commit details
    Browse the repository at this point in the history
  137. read(2): Add write cross reference

    Add a write cross reference in the SEE ALSO section.
    
    Sponsored by:		Netflix
    bsdimp authored and bsdjhb committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    c90f0cd View commit details
    Browse the repository at this point in the history