FreeBSD/src 8208871lib/libsys procctl.2

procctl.2: Align list indentation

Remove 81 lines of whitespace at default manual rendering width.

MFC after: 3 days

(cherry picked from commit db9bbe131c92f55e6cf03657dc030c9eea93a9fb)
DeltaFile
+24-24lib/libsys/procctl.2
+24-241 files

FreeBSD/src 20bbad1lib/libc/stdlib atexit.3, lib/libsys _exit.2

_exit.2: Cross-reference atexit(3)

atexit(3) is one of the cases when _exit(2) must be used instead of
exit(3).

MFC after:              3 days
Reviewed by:            mhorne, ziaee
Differential Revision:  https://reviews.freebsd.org/D54467

(cherry picked from commit c082e5656417945bfa567114c60969844f3d7bdf)
DeltaFile
+5-4lib/libsys/_exit.2
+2-1lib/libc/stdlib/atexit.3
+7-52 files

FreeBSD/src 252f0c2share/man/man4 vmgenc.4 Makefile

vmgenc.4: Add VM Generation ID Counter manual

Document the vmgenc(4) ACPI driver which detects virtual machine
cloning and snapshot restoration via the VM Generation ID
specification. The driver reseeds the kernel entropy pool when
a generation change is detected.

MFC after:              3 days
Reviewed by:            cem (previous), ziaee
Signed-off-by:          Christos Longros <chris.longros at gmail.com>
Differential Revision:  https://reviews.freebsd.org/D56011

(cherry picked from commit 59cb18f35617d3a53f7d7e142b4f91ad7951f5e0)
DeltaFile
+62-0share/man/man4/vmgenc.4
+1-0share/man/man4/Makefile
+63-02 files

FreeBSD/src 2ba48eelib/libsys kldload.2

kldload.2: Provide more info about file argument

The information is basically taken from kldload(8).

Reviewed by:            kib, ziaee
Differential Revision:  https://reviews.freebsd.org/D55170

(cherry picked from commit 1e2c9bcc4ed5fd2a27abdbcf5dfb007193251648)
DeltaFile
+15-2lib/libsys/kldload.2
+15-21 files

FreeBSD/src 528d53bshare/man/man4/man4.arm dwcotg.4 Makefile

dwcotg.4: Initial manual page

Create visibility in apropos and the Hardware Release Notes.

MFC after:              3 days
Reviewed by:            pauamma, ray
Differential Revision:  https://reviews.freebsd.org/D53287

(cherry picked from commit 8475cd93fb6db65a02afe435f16306bc18e96ec9)
DeltaFile
+29-0share/man/man4/man4.arm/dwcotg.4
+1-0share/man/man4/man4.arm/Makefile
+30-02 files

FreeBSD/src 74406b7share/man/man4 igc.4

igc.4: Describe better

MFC after:      3 days

(cherry picked from commit 6560ee97e8f51d5147521319dfd9d1e7afe74d34)
DeltaFile
+4-4share/man/man4/igc.4
+4-41 files

FreeBSD/src d7bda1ausr.sbin/freebsd-update freebsd-update.8 freebsd-update.sh

freebsd-update: Document -v verbosity flag

PR:             276099
MFC after:      3 days
Reported by:    michaelo
Co-authored-by: Alexander Ziaee <ziaee at FreeBSD.org>

(cherry picked from commit 02fd9fa2952705ea0ed142061dd86aad7e01f8db)
DeltaFile
+12-1usr.sbin/freebsd-update/freebsd-update.8
+1-0usr.sbin/freebsd-update/freebsd-update.sh
+13-12 files

FreeBSD/src 782ea98share/man/man7 ports.7

ports.7: Document DEFAULT_VERSIONS

MFC after:              3 days
Co-authored-by:         Adam Weinberger <adamw at FreeBSD.org>
Differential Revision:  https://reviews.freebsd.org/D55443

(cherry picked from commit 74aec9f02d9d8fbde250da1ecc881729c8baf489)
DeltaFile
+4-0share/man/man7/ports.7
+4-01 files

FreeBSD/src e774d86share/man/man5 style.mdoc.5

style.mdoc: Left angle bracket is not less-than

MFC after:              3 days
Differential Revision:  https://reviews.freebsd.org/D55300

(cherry picked from commit 06ac71cffba4a0f86334844453d0a6fb3c46aa12)
DeltaFile
+1-1share/man/man5/style.mdoc.5
+1-11 files

FreeBSD/src 7f30d5cshare/man/man5 style.mdoc.5

style.mdoc: Remove synopsis formatting advice

Remove incorrect advice. The first rule was no spaces padding pipes
when showing alternates. Almost universally we not do this, and third
party manuals do not either. The second was using Cm to mark up symbols.
This advice is in conflict with mdoc(7), and the extended documentation
on mdoc linked below, which is also linked at the bottom of mdoc(7).

Conflicting information in our docs is a natural result of documentation
proliferation. The most important thing we can do to reduce technical
debt in the documentation is reduce the amount of doc overlap. Excessive
technical debt and conflicting rules is a barrier to new contributors.
This type of work requires thorough expertise, is not glamorous at all,
and to add insult to injury, is socially unsafe. To get new contributors
to the docs project, we must deduplicate documentation.

We have the mdoc manual, examples/mdoc, style.mdoc, and the fdp chapter
on manual pages. With this many, they will inevitably come to contain
conflicting information, and people will learn not to read them or work

    [7 lines not shown]
DeltaFile
+0-67share/man/man5/style.mdoc.5
+0-671 files

FreeBSD/src 906f274share/man/man5 style.mdoc.5

style.mdoc: Li macro is undeprecated for some time

Previously, the mdoc linter warned against using Li as it was deprecated
upstream. However, upstream undeprecated it since last year. As usual
when it comes to style, the best thing to do is to follow the existing
style of the page. We have many manuals which prefer double quotes.

MFC after:              3 days
Citation:               https://cvsweb.bsd.lv/mandoc/mdoc.7?rev=1.297
Differential Revision:  https://reviews.freebsd.org/D55297

(cherry picked from commit fae551b76785d2357b09e2c022a92f410d871b9b)
DeltaFile
+1-9share/man/man5/style.mdoc.5
+1-91 files

FreeBSD/src 67f2880usr.bin/newgrp newgrp.1

newgrp.1: Provide examples

"These examples appear to be originally noted thirteen years ago by
Mark Saad, contributed by eadler, put into a patch by Felix Johnson,
and made into mdoc by myself. Finally, put this bug to rest." ~ziaee

PR:                     167742
Co-authored-by:         eadler, ziaee, Mark Saad
Differential Revision:  https://reviews.freebsd.org/D48877

(cherry picked from commit 86dc5dd0b2a861cf9d8cad18fc17c17dbbfc4465)
DeltaFile
+16-1usr.bin/newgrp/newgrp.1
+16-11 files

FreeBSD/src da2f440share/man/man8 Makefile rc.8

rc.8: Add rc.suspend as an alias

Make it consistent with the other lifecycle scripts, thus making it
more findable.

Reviewed by:    ziaee
Signed-off-by:  Pat Maddox <pat at patmaddox.com>
Closes:         https://github.com/freebsd/freebsd-src/pull/2047

(cherry picked from commit 77dc773ecfcfd177c26dde4e858feb9a35fd970f)
DeltaFile
+2-1share/man/man8/Makefile
+1-0share/man/man8/rc.8
+3-12 files

FreeBSD/src c3fa626share/man/man5 style.mdoc.5

style.mdoc: Add example manuals to FILES

This is the OG meat and potatoes.

MFC after:              3 days
Reviewed by:            0mp, carlavilla
Differential Revision:  https://reviews.freebsd.org/D55301

(cherry picked from commit 2abdbe9d796419e8149705ffb4c81f0c0cdea05f)
DeltaFile
+5-0share/man/man5/style.mdoc.5
+5-01 files

FreeBSD/src 482e77ashare/man/man4 ffs.4 Makefile

ffs.4: Mlink to ufs.4

PR:             293423
MFC after:      3 days
Requested by:   bms

(cherry picked from commit f0b8355db6ba57a0849c41722e0a09f312d9eef5)
DeltaFile
+3-2share/man/man4/ffs.4
+1-0share/man/man4/Makefile
+4-22 files

FreeBSD/src 1242ffclibexec/rc debug.sh

debug.sh: Fix a typo

MFC after:              3 days
Reviewed by:            emaste, guest-seuros, sjg, ziaee
Differential Revision:  https://reviews.freebsd.org/D55416

(cherry picked from commit ab835b37075e6478ef82f8c807a2335f5d19edaf)
DeltaFile
+1-1libexec/rc/debug.sh
+1-11 files

FreeBSD/src 50f1660bin/sh sh.1

sh.1: Add .sh_history and .shrc to FILES

MFC after:              3 days
Reviewed by:            bapt (previous), jilles, tembun at bk.ru
Differential Revision:  https://reviews.freebsd.org/D55295

(cherry picked from commit 9a20515bc9ce3fe6d7f09fd6bdece0dd45bdbc87)
DeltaFile
+4-0bin/sh/sh.1
+4-01 files

FreeBSD/src 0ebf602share/man/man7 ports.7

ports.7: Add port files to FILES

Add terse descriptions for the individual files that make up a port to
the FILES section of the ports reference manual.

MFC after:              3 days
Reviewed by:            adamw
Differential Revision:  https://reviews.freebsd.org/D55404

(cherry picked from commit 451f593194cbea74bcae53b4b8e6e55f6b2ec12d)
DeltaFile
+19-4share/man/man7/ports.7
+19-41 files

FreeBSD/src 2482dd9lib/libufs ufs_disk_close.3

ufs_disk_close.3: Correct include header macro

This manual used the library macro to mark up a header file, causing
pollution in the apropos database for libraries, as well as omission
from the apropos database for headers. This also renders differently,
enclosing the header in angle brackets.

MFC after:      3 days

(cherry picked from commit 456ae9820823fcd078746318620925792f112c9a)
DeltaFile
+1-1lib/libufs/ufs_disk_close.3
+1-11 files

FreeBSD/src 562e101share/man/man5 src.conf.5

src.conf.5: Fix "incompatibility" typo

MFC after:      3 days
Reviewed by:    ziaee
Signed-off-by:  Christos Longros <chris.longros at gmail.com>
Closes:         https://github.com/freebsd/freebsd-src/pull/2035

(cherry picked from commit 102fed041d7f9aec6b962e215f53347a7e5d1a20)
DeltaFile
+1-1share/man/man5/src.conf.5
+1-11 files

FreeBSD/src 064e203bin/sh sh.1

sh.1: Reference editline(7)

Key bindings for command line editing are documented in editline(7).

MFC after:              3 days
Reviewed by:            jilles, ziaee
Differential Revision:  https://reviews.freebsd.org/D54767

(cherry picked from commit 009be09172348c352db5d74f6ece2f4cb47ee193)
DeltaFile
+14-3bin/sh/sh.1
+14-31 files

FreeBSD/src cfb1bb4sbin/devd devd.conf.5

devd.conf.5: Fix cross-references to devfs(4)

Fixes:          1687d77197c0 (man filesystems: move driver pages)
MFC after:      3 days
Reviewed by:    ziaee
Sponsored by:   Defenso
Signed-off-by:  Quentin Thébault <quentin.thebault at defenso.fr>
Closes:         https://github.com/freebsd/freebsd-src/pull/2015
(cherry picked from commit 59b7f3ed69df1031e11cdaa3a571248487af91ba)
DeltaFile
+4-4sbin/devd/devd.conf.5
+4-41 files

LLVM/project 20dc214clang/docs ReleaseNotes.rst, clang/lib/Sema SemaDeclCXX.cpp

[clang] fix crash on qualified friend function definitions  (#186398)

This patch fixes a crash caused by qualified friend function definitions
and We now recover early by diagnosing the invalid qualifier and
clearing the scope
fixes #185341
DeltaFile
+17-0clang/test/SemaCXX/gh185341.cpp
+13-2clang/lib/Sema/SemaDeclCXX.cpp
+1-0clang/docs/ReleaseNotes.rst
+31-23 files

FreeBSD/src 7da07a7lib/libutil trimdomain.3

trimdomain.3: Explain DISPLAY a bit more

MFC after:              3 days
Reported by:            jrtc27
Reviewed by:            des
Differential Revision:  https://reviews.freebsd.org/D54629

(cherry picked from commit 960719762f0a1f6689ec58bc6d8ce21c4daa9096)
DeltaFile
+5-7lib/libutil/trimdomain.3
+5-71 files

FreeBSD/src 226c48abin/sh sh.1

sh.1: Fix ordering of Cm and Aq macros

MFC after:      3 days
Reviewed by:    ziaee
Fixes:  2711852bd9ac (sh.1: Provide detailed job control documentation)
Differential Revision:  https://reviews.freebsd.org/D55194

(cherry picked from commit e5213ca4a3ca742fd8d3b8db413a561b28fa6989)
DeltaFile
+1-1bin/sh/sh.1
+1-11 files

FreeBSD/src 3211cbbbin/sh sh.1

sh.1: Document the exit status of return

It's not obvious that if `exitstatus` is omitted,
the exit status of the function is taken from the last executed command.

MFC after:              3 days
Reviewed by:            jilles, ziaee
Differential Revision:  https://reviews.freebsd.org/D55026

(cherry picked from commit 931d4f0ae4f2dcd088bb92459ff19c8b6aafc2cc)
DeltaFile
+5-1bin/sh/sh.1
+5-11 files

FreeBSD/src 31711e1lib/libusb libusb20_dev_open.3 libusb20_be_device_foreach.3

libusb20: Add dev_open + be_device_foreach manuals

Manual pages for libusb20_open(3) and libusb20_be_device_foreach(3).

PR:                     291675
MFC after:              3 days
Reviewed by:            adrian (usb), ziaee (manpages)
Differential Revision:  https://reviews.freebsd.org/D54231

(cherry picked from commit caf23c8e0b7981dd022c52feaf6edfef232f7e27)
DeltaFile
+69-0lib/libusb/libusb20_dev_open.3
+56-0lib/libusb/libusb20_be_device_foreach.3
+2-4lib/libusb/Makefile
+127-43 files

FreeBSD/ports 4624135devel/xdg-user-dirs distinfo Makefile

devel/xdg-user-dirs: update to 0.20

PR:             294365
DeltaFile
+3-3devel/xdg-user-dirs/distinfo
+1-2devel/xdg-user-dirs/Makefile
+4-52 files

LLVM/project 2ae4dddclang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.h, clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage UnsafeBufferUsage.h UnsafeBufferUsageExtractor.h

Revert "[NFC][SSAF] Move EntityPointerLevel to a separate folder" (#191481)

Reverts llvm/llvm-project#191331

A set of bots are broken. For more examples check the reverted PR.
https://lab.llvm.org/buildbot/#/builders/225/builds/5596
Example:
```
   30 | ssaf::getUnsafeBuffers(const UnsafeBufferUsageEntitySummary &S) {
      | ^~~~
clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h:30:3: note: only here as a ‘friend’
   30 |   getUnsafeBuffers(const UnsafeBufferUsageEntitySummary &);
      |   ^~~~~~~~~~~~~~~~
FAILED: clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: qualified name does not name a class before ‘:’ token
   61 |     : ConstStmtVisitor<EntityPointerLevelTranslator,
      |     ^
```
DeltaFile
+0-244clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+213-7clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.cpp
+0-99clang/include/clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.h
+67-1clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h
+5-0clang/include/clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageExtractor.h
+4-0clang/lib/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.cpp
+289-3512 files not shown
+292-3538 files

LLVM/project 05ffd0dclang/include/clang/CIR/Dialect/IR CIRTypes.td, clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenModule.h

[CIR] Handle globals with vptr init (#191291)

When a class contains virtual functions but no data members and has a
trivial constructor, global variables of that type are initialized with
a vptr. CIR was incorrectly creating the global variable with the type
of the vtable (an anonymous record) rather than the class type.

When replacing structors with aliases, we were calling a function to
update argument types at the call sites, but this was only necessary
because we initially generated the call using the same incorrect type
that we used for the global. The type correction wasn't implemented
because we hadn't encountered a case where it was needed. Having found
such a case led me to diagnose the problem as above, and I verified that
the same test case compiled without -mconstructor-aliases just failed in
the verifier because we never hit the replacement code. I'm now
convinced that this argument type fixup isn't necessary, so I replaced
the fixup function with an assert.

Assisted-by: Cursor / claude-4.6-opus-high
DeltaFile
+13-15clang/lib/CIR/CodeGen/CIRGenModule.cpp
+16-0clang/test/CIR/CodeGen/global-ptr-init.cpp
+0-5clang/lib/CIR/CodeGen/CIRGenModule.h
+3-1clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
+3-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+1-0clang/include/clang/CIR/Dialect/IR/CIRTypes.td
+36-216 files