LLVM/project 67d5c14llvm/lib/Transforms/Instrumentation AddressSanitizer.cpp

[llvm][AddressSanitizer] option for applying AddressSanitizer to specific address spaces (#167770)

For some backends, e.g., BPF, it is desirable to only sanitize memory
belonging to specific address spaces. More specifically, it is sometimes
desirable to only apply address sanitization for arena memory belonging
to address space 1. However, AddressSanitizer currently does not support
selectively sanitizing address spaces. Add a new option to select which
address spaces to apply AddressSanitizer to.

No functional change for existing targets (namely AMD GPU) that hardcode
which address spaces to sanitize
DeltaFile
+28-7llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+28-71 files

XigmaNAS/svn 10586trunk/build/ports/base-ports/ports/open-vm-tools Makefile, trunk/build/ports/base-ports/ports/open-vm-tools/files patch-vgauth_common_prefs.h patch-vgauth_service_Makefile.am

Upgrade open-vm-tools to v13.0.5.
DeltaFile
+20-0trunk/build/ports/base-ports/ports/open-vm-tools/files/patch-vgauth_common_prefs.h
+17-0trunk/build/ports/base-ports/ports/open-vm-tools/files/patch-vgauth_service_Makefile.am
+11-3trunk/build/ports/base-ports/ports/open-vm-tools/Makefile
+11-0trunk/build/ports/base-ports/ports/open-vm-tools/files/patch-vmware-user-suid-wrapper_wrapper.h
+11-0trunk/build/ports/base-ports/ports/open-vm-tools/files/patch-Makefile.am
+11-0trunk/build/ports/base-ports/ports/open-vm-tools/files/patch-lib_misc_codeset.c
+81-38 files not shown
+115-1414 files

FreeBSD/ports bfd9af5audio/odin2-synthesizer Makefile

audio/odin2-synthesizer: Fix compilation by adding mixxing xorg dependencies

Reported by:    fallout
DeltaFile
+3-1audio/odin2-synthesizer/Makefile
+3-11 files

FreeBSD/src 39ee241libexec/rc rc.subr, share/man/man5 rc.conf.5

rc.subr: Support setting the audit user when starting services

When an unprivileged user restarts a service using, e.g., sudo, the
service runs with the audit user ID set to that of the unprivileged
user.  This can have surprising effects: for instance, a user that
restarts a jail that is running sshd will end up with their UID attached
to all audit logs associated with users who log in via that sshd
instance.  (sshd will set the audit user, but this is disallowed in
jails by default.)

Add support for rc.conf directives which cause rc to override the audit
user.  Specifically, make <name>_audit_user=foo cause the audit user to
be set to "foo" for service <name>.  A plain audit_user=foo directive
causes all services to be started as foo.

Note, like other similar rc features, this feature is limited to rc
services which are run by executing a command.  Shell functions can't be
wrapped this way.


    [5 lines not shown]
DeltaFile
+17-1libexec/rc/rc.subr
+12-2share/man/man5/rc.conf.5
+29-32 files

FreeBSD/src 71f6592libexec/rc rc.subr

rc.subr: Remove misguided cpuset usage

When running an rc command, if the target rc script defines
<command>_cmd, e.g., start_cmd=..., then the run_rc_command() executes
that instead of $command.  In general it's a shell function, and
"cpuset -l <n> <shell function>" doesn't work.

Moreover, it doesn't really make sense to run cpuset for anything other
than start_cmd.

Other optional isolation mechanisms (e.g., <name>_fib,
<name>_chroot) are only used when invoking $command directly as part of
the "start" command.  Make <name>_cpuset consistent with everything else
by removing these extraneous cpuset invocations.

Reviewed by:    0mp
MFC after:      2 weeks
Sponsored by:   Modirum MDPay
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53746
DeltaFile
+4-4libexec/rc/rc.subr
+4-41 files

FreeBSD/src d795c75sys/kern kern_event.c

kevent: Hold the knlist mutex when invoking f_event(NOTE_FORK)

In general f_event is supposed to be called with the knlist mutex held,
so lock it earlier to follow this protocol.  Also make sure that the
update to kn_fflags is synchronized.

Lock the kqueue itself earlier in the case where the knote is activated,
to avoid locking and unlocking the kqueue twice.

PR:             291005
Reported by:    Qiu-ji Chen <chenqiuji666 at gmail.com>
Reviewed by:    kib
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D53762
DeltaFile
+12-4sys/kern/kern_event.c
+12-41 files

FreeBSD/src 7861d05libexec/rc rc.subr

rc.subr: Try to make svjc option handling a bit easier to read

Specifically, make this code fit in fewer columns:
- deindent cases to conform to the usual style,
- use a local variable to minimize duplication in each case.

No functional change intended.

Reviewed by:    0mp, netchild
MFC after:      2 weeks
Sponsored by:   Klara, Inc.
Sponsored by:   Modirum MDPay
Differential Revision:  https://reviews.freebsd.org/D53754
DeltaFile
+47-41libexec/rc/rc.subr
+47-411 files

FreeBSD/src a9be8f9usr.sbin/setaudit setaudit.c Makefile

setaudit: Bump WARNS and fix some style bugs

- Cast sockaddrs through void to silence warnings about expected
  alignment.
- Fix cast style.
- Sort includes.
- Make some global variables local.
- Sort options.

No functional change intended.

Reviewed by:    csjp
MFC after:      2 weeks
Sponsored by:   Modirum MDPay
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53670
DeltaFile
+16-18usr.sbin/setaudit/setaudit.c
+0-2usr.sbin/setaudit/Makefile
+16-202 files

FreeBSD/src dcb0790usr.sbin Makefile, usr.sbin/setaudit setaudit.c setaudit.8

setaudit: Initial import

Unmodified sources from https://github.com/csjayp/setaudit at commit
aa4dd9dfa40b6437030d718834236f4eaeb18ccb.

Some follow-up changes will fix a few issues and make it easier to use
this utility in the rc framework.

Reviewed by:    csjp
MFC after:      2 weeks
Sponsored by:   Modirum MDPay
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53669
DeltaFile
+140-0usr.sbin/setaudit/setaudit.c
+78-0usr.sbin/setaudit/setaudit.8
+8-0usr.sbin/setaudit/Makefile
+2-0usr.sbin/setaudit/.gitignore
+1-0usr.sbin/Makefile
+229-05 files

FreeBSD/src 1238610usr.sbin/setaudit setaudit.c setaudit.8

setaudit: Add an update mode

By default, setaudit(8) overwrites the whole audit session state.  For
the purpose of overwriting only a single field, e.g., the audit user,
this is inconvenient.  Add -U to accomodate this case: when specified,
setaudit(8) will first fetch the current session state block and then
will only overwrite those fields specified on the command line.

Reviewed by:    csjp
MFC after:      2 weeks
Sponsored by:   Modirum MDPay
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53672
DeltaFile
+28-10usr.sbin/setaudit/setaudit.c
+11-1usr.sbin/setaudit/setaudit.8
+39-112 files

FreeBSD/src 551191eusr.sbin/setaudit setaudit.c setaudit.8

setaudit: Fix handling of numeric UIDs

The usage of strtoul() was incorrect.

Reviewed by:    csjp
MFC after:      2 weeks
Sponsored by:   Modirum MDPay
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D53671
DeltaFile
+4-2usr.sbin/setaudit/setaudit.c
+1-1usr.sbin/setaudit/setaudit.8
+5-32 files

LLVM/project 0b0d398clang/include/clang/Driver Options.td, clang/include/clang/Options Options.td

Rebase

Created using spr 1.3.7
DeltaFile
+39,943-40,206llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+12,034-11,072llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+5,620-5,619llvm/test/tools/llvm-ir2vec/output/reference_x86_entities.txt
+4,719-5,242llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_vop3_dpp16.txt
+9,668-0clang/include/clang/Options/Options.td
+0-9,634clang/include/clang/Driver/Options.td
+71,984-71,7738,021 files not shown
+408,400-243,9778,027 files

FreeBSD/doc d15731bwebsite/data/ru/press press.toml

website: update ru/press

Reviewed by: andy
Differential Revision: https://reviews.freebsd.org/D53620
DeltaFile
+27-0website/data/ru/press/press.toml
+27-01 files

LLVM/project 38c1a58flang/test/Lower allocatable-assignment.f90 allocatable-polymorphic.f90, flang/test/Lower/PowerPC ppc-vec-store.f90 ppc-vec-store-elem-order.f90

[flang][NFC] Strip trailing whitespace from tests (6 of N)

Only the fortran source files in flang/test/Lower/PowerPC and some in
flang/test/Lower have been modified. The other files in the directory
will be cleaned up in subsequent commits
DeltaFile
+6-6flang/test/Lower/PowerPC/ppc-vec-store.f90
+6-6flang/test/Lower/allocatable-assignment.f90
+5-5flang/test/Lower/forall/forall-where-2.f90
+4-4flang/test/Lower/allocatable-polymorphic.f90
+4-4flang/test/Lower/array-expression-assumed-size.f90
+2-2flang/test/Lower/PowerPC/ppc-vec-store-elem-order.f90
+27-2713 files not shown
+41-4219 files

LLVM/project 7aeb264compiler-rt/test/asan/TestCases/Darwin dyld_insert_libraries_remove.cpp atos-symbolizer-dyld-root-path.cpp, compiler-rt/test/asan_abi/TestCases/Darwin llvm_interface_symbols.cpp

[ASan] Make most tests run under internal shell on Darwin

This patch fixes most of the ASan tests that were failing on Darwin when
running under the internal shell. There are still a couple left that
are more interesting cases that I'll do in a follow up patch. The
tests that still need to be done:
```
TestCases/Darwin/duplicate_os_log_reports.cpp
TestCases/Darwin/dyld_insert_libraries_reexec.cpp
TestCases/Darwin/interface_symbols_darwin.cpp
```

Reviewers: thetruestblue, fhahn, vitalybuka, DanBlackwell, ndrewh

Reviewed By: DanBlackwell

Pull Request: https://github.com/llvm/llvm-project/pull/168545
DeltaFile
+12-14compiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_remove.cpp
+2-1compiler-rt/test/asan/TestCases/Darwin/atos-symbolizer-dyld-root-path.cpp
+2-1compiler-rt/test/asan/TestCases/Darwin/atos-symbolizer.cpp
+2-1compiler-rt/test/asan/TestCases/Darwin/dyld_insert_libraries_reexec.cpp
+2-1compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp
+1-2compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
+21-201 files not shown
+22-217 files

XigmaNAS/svn 10585trunk/build/ports/base-ports/ports/virtualbox-ose-72/files patch-src_VBox_Runtime_r0drv_freebsd_memobj-r0drv-freebsd.c patch-src_VBox_Additions_freebsd_vboxvfs_Makefile.kmk

update patches
DeltaFile
+43-33trunk/build/ports/base-ports/ports/virtualbox-ose-72/files/patch-src_VBox_Runtime_r0drv_freebsd_memobj-r0drv-freebsd.c
+50-0trunk/build/ports/base-ports/ports/virtualbox-ose-72/files/patch-src_VBox_Additions_freebsd_vboxvfs_Makefile.kmk
+19-13trunk/build/ports/base-ports/ports/virtualbox-ose-72/files/patch-src-VBox-Additions-common-VBoxGuest-VBoxGuest-freebsd.c
+24-0trunk/build/ports/base-ports/ports/virtualbox-ose-72/files/patch-src_VBox_Runtime_common_misc_handletablectx.cpp
+17-6trunk/build/ports/base-ports/ports/virtualbox-ose-72/files/patch-src-VBox-Additions-common-VBoxGuest-freebsd-Makefile
+15-0trunk/build/ports/base-ports/ports/virtualbox-ose-72/files/patch-src_VBox_Additions_x11_vboxvideo_Makefile.kmk
+168-522 files not shown
+172-568 files

FreeBSD/ports 4847333textproc/R-cran-readr distinfo Makefile

textproc/R-cran-readr: Update to 2.1.6

Reported by:    portscout
DeltaFile
+3-3textproc/R-cran-readr/distinfo
+1-1textproc/R-cran-readr/Makefile
+4-42 files

FreeNAS/freenas b70d4b7src/middlewared/middlewared/alembic/versions/26.04 2025-11-18_15-11-00_docker_registry_mirrors_unification.py, src/middlewared/middlewared/api/v26_04_0 docker.py

NAS-138584 / 26.04 / Unify Docker registry mirrors handling  (#17577)

Unify Docker registry mirrors handling by consolidating secure and
insecure mirrors into a single 'registry_mirrors' field across models
and database schema.

---

Docker has 2 lists for the registry mirrors.
`registry-mirrors` where it can contain both insecure and secure
mirrors.
This is the list that queries **IN DEFINED ORDER**.

`insecure-registries` where you list the registries that docker can
expect failures on TLS or are plain http.

Given the following mirrors:
- https://my.public.secure.mirror
- http://my.local.insecure.mirror

    [20 lines not shown]
DeltaFile
+80-0src/middlewared/middlewared/alembic/versions/26.04/2025-11-18_15-11-00_docker_registry_mirrors_unification.py
+17-30src/middlewared/middlewared/plugins/docker/update.py
+24-19src/middlewared/middlewared/pytest/unit/plugins/docker/test_docker_registry_mirrors.py
+18-14src/middlewared/middlewared/api/v26_04_0/docker.py
+4-2src/middlewared/middlewared/etc_files/docker/daemon.json.py
+143-655 files

Illumos/gate 33efde4usr/src/cmd/krb5/ldap_util Makefile, usr/src/cmd/mdb Makefile.kmdb

16891 fix unused label and drop -Wno-unused-label
Reviewed by: Andy Fiddaman <illumos at fiddaman.net>
Reviewed by: Dan McDonald <danmcd at edgecast.io>
Approved by: Gordon Ross <gordon.w.ross at gmail.com>
DeltaFile
+6-38usr/src/uts/common/io/usb/clients/audio/usb_ac/usb_ac.c
+7-17usr/src/uts/common/io/hxge/hxge_txdma.c
+3-19usr/src/cmd/mdb/Makefile.kmdb
+13-8usr/src/cmd/krb5/ldap_util/Makefile
+0-19usr/src/uts/common/io/mr_sas/mr_sas_tbolt.c
+0-19usr/src/uts/common/io/mr_sas/mr_sas.c
+29-120374 files not shown
+223-832380 files

FreeNAS/freenas 7fceb5fsrc/middlewared/middlewared/plugins account.py

Clarify error message about user homedir path

This commit clarifies the error message we generate when a user
tries to create a local account with a public key while their
home directory is set to /var/empty.
DeltaFile
+1-1src/middlewared/middlewared/plugins/account.py
+1-11 files

FreeNAS/freenas ad0f55asrc/middlewared/middlewared/pytest/unit/plugins test_interface.py

Fix pytest unit tests.
DeltaFile
+11-6src/middlewared/middlewared/pytest/unit/plugins/test_interface.py
+11-61 files

Dreckly/dreckly 7ed5c39editors/abiword Makefile, editors/abiword-plugins Makefile

abiword: Update to 3.0.7

Remove plugins that no longer work.
DeltaFile
+0-27editors/abiword/patches/patch-plugin-configure.m4
+15-0editors/abiword/patches/patch-plugins_wordperfect_plugin.m4
+0-14editors/abiword/patches/patch-src_af_util_xp_ut__stringbuf.cpp
+13-0editors/abiword/patches/patch-plugins_wpg_plugin.m4
+6-7editors/abiword/Makefile
+2-11editors/abiword-plugins/Makefile
+36-594 files not shown
+52-7210 files

LLVM/project 4ff28c9compiler-rt/test/asan/TestCases/Darwin malloc_zone-protected.cpp, compiler-rt/test/asan_abi/TestCases/Darwin llvm_interface_symbols.cpp

formatting

Created using spr 1.3.7
DeltaFile
+1-1compiler-rt/test/asan_abi/TestCases/Darwin/llvm_interface_symbols.cpp
+0-1compiler-rt/test/asan/TestCases/Darwin/malloc_zone-protected.cpp
+1-22 files

NetBSD/src fwxOelmshare/man/man4 rge.4

   Update adapter list to include 8126
VersionDeltaFile
1.9+3-1share/man/man4/rge.4
+3-11 files

FreeBSD/ports b4a4910dns Makefile, dns/aardvark-dns distinfo Makefile.crates

dns/aardvark-dns: add new port

Authoritative dns server for A/AAAA container records. Forwards other
request to host's /etc/resolv.conf.  It's mostly intended to be used
with netavark which launch it automatically if both are installed.

Sponsored by:   tipi.work
DeltaFile
+351-0dns/aardvark-dns/distinfo
+174-0dns/aardvark-dns/Makefile.crates
+28-0dns/aardvark-dns/Makefile
+2-0dns/aardvark-dns/pkg-descr
+1-0dns/Makefile
+556-05 files

FreeBSD/ports 5367e8amisc/py-napari Makefile distinfo, misc/py-napari/files patch-pyproject.toml

misc/py-napari: update 0.6.4 → 0.6.6
DeltaFile
+13-2misc/py-napari/files/patch-pyproject.toml
+5-5misc/py-napari/Makefile
+3-3misc/py-napari/distinfo
+21-103 files

FreeBSD/ports ea10e76graphics/py-napari-console distinfo Makefile

graphics/py-napari-console: update 0.1.3 → 0.1.4
DeltaFile
+3-3graphics/py-napari-console/distinfo
+1-1graphics/py-napari-console/Makefile
+4-42 files

LLVM/project 1347b23clang/lib/Driver ToolChain.cpp

[clang][BPF] Turn on AddressSanitizer pass (#167766)

The BPF LLVM target currently doesn't support turning on the
AddressSanitizer pass, either for userspace ASAN or KASAN. Enable the
KASAN option for the BPF target in anticipation of a KASAN
implementation for BPF.
DeltaFile
+2-0clang/lib/Driver/ToolChain.cpp
+2-01 files

LLVM/project 82a7832llvm/lib/Transforms/Instrumentation AddressSanitizer.cpp

[llvm][AddressSanitizer][BPF] add default shadow mapping offset for BPF target (#167768)

The AddressSanitizer transform does not have a default offset registered
for the shadow map. Set the default shadow map offset for BPF be
dynamically set by the KASAN implementation.
DeltaFile
+3-0llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+3-01 files

LLVM/project a1e47cellvm/lib/Transforms/Instrumentation AddressSanitizer.cpp

[llvm][AddressSanitizer] option for specifying the address space of the shadow map (#167772)

The AddressSanitizer transform currently defaults to placing the shadow
map in address space 0, but it is desirable for some targets (namely
BPF) to select a different address space for the map. Add a compilation
option for specifying the address space of the target.
DeltaFile
+6-1llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+6-11 files