FreeBSD/src 6e2940ausr.sbin/lpr/lpd lpd.8

lpd: Reorder option list in manual page

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57182

(cherry picked from commit 8e917789732ae02a480e8756899d3bc6d99fe5d8)
DeltaFile
+18-24usr.sbin/lpr/lpd/lpd.8
+18-241 files

FreeBSD/src 7c11b5fusr.sbin/lpr/lpd printjob.c

lpd: Avoid buffer overflow when sending a job

When forwarding a print job to a remote server, we could overflow the
command buffer if a control or data file had a very long name.

MFC after:      1 week
Reported by:    Joshua Rogers <joshua at joshua.hu>
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57184

(cherry picked from commit f2c7c5f94803b67a9a6af625d4fc8882d2afda6c)
DeltaFile
+20-11usr.sbin/lpr/lpd/printjob.c
+20-111 files

FreeBSD/src 94da67busr.sbin/lpr/lpd printjob.c

lpd: Style and whitespace cleanup

No functional change intended.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57186

(cherry picked from commit 123591e41c559fc2ae0f179f1385df05132881da)
DeltaFile
+92-99usr.sbin/lpr/lpd/printjob.c
+92-991 files

FreeBSD/src 980ead5usr.sbin/lpr/lpd printjob.c

lpd: Fix issues reported by clang-analyzer

Also, unlink our temporary file if we fail to chmod it.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57185

(cherry picked from commit 0f3e14870906da22a7ca821fb2153d375157cac2)
DeltaFile
+20-19usr.sbin/lpr/lpd/printjob.c
+20-191 files

FreeBSD/src 5f10e36usr.sbin/lpr/lpd lpd.8 lpd.c

lpd: Drop deprecated -p option

This alias for the -s option has been deprecated since 2002.  Time to
drop it from the documentation.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57183

(cherry picked from commit 6047f6a21085ae3877228f8df19a0d4bce45905f)
DeltaFile
+1-10usr.sbin/lpr/lpd/lpd.8
+0-3usr.sbin/lpr/lpd/lpd.c
+1-132 files

FreeBSD/src 85852feusr.sbin/lpr/lpd lpd.c lpd.8

lpd: Restore ability to specify a port number

This has been broken since IPv6 support was added in 2000.  We would
validate the port number (which had to be a port number, but can now
also be a service name) and then ignore it.

MFC after:      1 week
Fixes:          08829865f659 ("IPv6 support for lpr.")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57181

(cherry picked from commit c0cae7d8da50daa87af4cd6d7c9a2043343b506f)
DeltaFile
+9-19usr.sbin/lpr/lpd/lpd.c
+10-9usr.sbin/lpr/lpd/lpd.8
+19-282 files

FreeBSD/src b734006usr.sbin/lpr/chkprintcap chkprintcap.8, usr.sbin/lpr/lp lp.1

lpr: Add deprecation notice

These programs require elevated privileges to work and have not seen
regular maintenance in decades.  Unless someone steps up and overhauls
them, we will have to remove them before 16.0.  Better-maintained
alternatives are available in ports (print/cups, sysutils/LPRng).

MFC after:      3 days

(cherry picked from commit d57dee7ab66f60537b557cb602be194e3eed253d)
DeltaFile
+3-0usr.sbin/lpr/chkprintcap/chkprintcap.8
+3-0usr.sbin/lpr/lp/lp.1
+3-0usr.sbin/lpr/lpc/lpc.8
+3-0usr.sbin/lpr/lpd/lpd.8
+3-0usr.sbin/lpr/lpq/lpq.1
+3-0usr.sbin/lpr/lpr/lpr.1
+18-04 files not shown
+30-010 files

FreeBSD/src 02f9207usr.sbin/lpr/lpd printjob.c

lpd: Avoid buffer overflow when sending a job

When forwarding a print job to a remote server, we could overflow the
command buffer if a control or data file had a very long name.

MFC after:      1 week
Reported by:    Joshua Rogers <joshua at joshua.hu>
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57184

(cherry picked from commit f2c7c5f94803b67a9a6af625d4fc8882d2afda6c)
DeltaFile
+20-11usr.sbin/lpr/lpd/printjob.c
+20-111 files

FreeBSD/src 966ed82usr.sbin/lpr/lpd lpd.8

lpd: Reorder option list in manual page

MFC after:      1 week
Reviewed by:    ziaee, markj
Differential Revision:  https://reviews.freebsd.org/D57182

(cherry picked from commit 8e917789732ae02a480e8756899d3bc6d99fe5d8)
DeltaFile
+18-24usr.sbin/lpr/lpd/lpd.8
+18-241 files

FreeBSD/src eb5bab2usr.sbin/lpr/lpd lpd.c lpd.8

lpd: Restore ability to specify a port number

This has been broken since IPv6 support was added in 2000.  We would
validate the port number (which had to be a port number, but can now
also be a service name) and then ignore it.

MFC after:      1 week
Fixes:          08829865f659 ("IPv6 support for lpr.")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57181

(cherry picked from commit c0cae7d8da50daa87af4cd6d7c9a2043343b506f)
DeltaFile
+9-19usr.sbin/lpr/lpd/lpd.c
+10-9usr.sbin/lpr/lpd/lpd.8
+19-282 files

FreeBSD/src a895394usr.sbin/lpr/lpd lpd.8 lpd.c

lpd: Drop deprecated -p option

This alias for the -s option has been deprecated since 2002.  Time to
drop it from the documentation.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57183

(cherry picked from commit 6047f6a21085ae3877228f8df19a0d4bce45905f)
DeltaFile
+1-10usr.sbin/lpr/lpd/lpd.8
+0-3usr.sbin/lpr/lpd/lpd.c
+1-132 files

FreeBSD/src b3a76abusr.sbin/lpr/lpd printjob.c

lpd: Fix issues reported by clang-analyzer

Also, unlink our temporary file if we fail to chmod it.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57185

(cherry picked from commit 0f3e14870906da22a7ca821fb2153d375157cac2)
DeltaFile
+20-19usr.sbin/lpr/lpd/printjob.c
+20-191 files

FreeBSD/src c4a0289usr.sbin/lpr/lpd printjob.c

lpd: Style and whitespace cleanup

No functional change intended.

MFC after:      1 week
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D57186

(cherry picked from commit 123591e41c559fc2ae0f179f1385df05132881da)
DeltaFile
+92-99usr.sbin/lpr/lpd/printjob.c
+92-991 files

FreeBSD/ports afdd7afsecurity Makefile, security/infisical-cli Makefile pkg-descr

security/infisical-cli: add new port for the official Infisical CLI

The Infisical CLI is a powerful command-line tool for secret management
that allows you to:

- Inject secrets into applications and development workflows
- Scan for secret leaks in your codebase and git history
- Export secrets to various formats (dotenv, JSON, YAML)
- Authenticate with Infisical Cloud or self-hosted instances
- Integrate with CI/CD pipelines and Docker containers
DeltaFile
+58-0security/infisical-cli/Makefile
+8-0security/infisical-cli/pkg-descr
+5-0security/infisical-cli/pkg-plist
+5-0security/infisical-cli/distinfo
+1-0security/Makefile
+77-05 files

NetBSD/pkgsrc-wip d328db4terrascan TODO

terrascan: Add reference to recent CVEs
DeltaFile
+2-0terrascan/TODO
+2-01 files

NetBSD/pkgsrc-wip e28d111py-apscheduler TODO

py-apscheduler: Add reference to CVE-2026-31072
DeltaFile
+2-0py-apscheduler/TODO
+2-01 files

NetBSD/pkgsrc-wip bed21dbsipp TODO

sipp: Add reference to CVE-2018-25356
DeltaFile
+1-1sipp/TODO
+1-11 files

LLVM/project b51a802clang/test/CodeGen scoped-atomic-ops.c, clang/test/CodeGenCUDA atomic-options.hip amdgpu-kernel-arg-pointer-type.cu

Revert "[clang] remove lots of "innocuous" addrspacecasts" (#199685)

Reverts llvm/llvm-project#197745

Broke AMDGPU HIP Kokkos bot:
https://lab.llvm.org/buildbot/#/builders/230/builds/958

Late reply as the breakage got lost in some trouble with the buildbot
fleet.

Co-authored-by: Kewen Meng <Kewen.Meng at amd.com>
DeltaFile
+852-568clang/test/CodeGen/scoped-atomic-ops.c
+216-144clang/test/CodeGenCUDA/atomic-options.hip
+103-95clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
+41-60clang/test/CodeGenCXX/amdgcn-func-arg.cpp
+54-36clang/test/CodeGenCUDA/builtins-spirv-amdgcn.cu
+42-32clang/test/OpenMP/target_teams_generic_loop_codegen_as_parallel_for.cpp
+1,308-93534 files not shown
+1,560-1,15640 files

LLVM/project ce6ae70compiler-rt CMakeLists.txt, compiler-rt/lib/profile CMakeLists.txt InstrProfilingFile.c

[compiler-rt][profile] Add COMPILER_RT_BUILD_PROFILE_ROCM option

InstrProfilingPlatformROCm.cpp (added in 5db13643f4b7) is currently built
into every non-baremetal libclang_rt.profile, but not all hosts support it
(e.g. it fails to link on Darwin, where __llvm_write_custom_profile is
unavailable).

Add a COMPILER_RT_BUILD_PROFILE_ROCM CMake option (defaulting off on Apple,
on elsewhere) to allow that host to opt out.
DeltaFile
+9-1compiler-rt/lib/profile/CMakeLists.txt
+9-0compiler-rt/CMakeLists.txt
+4-0compiler-rt/lib/profile/InstrProfilingFile.c
+22-13 files

LLVM/project 5dc8711mlir/include/mlir/Interfaces MemorySlotInterfaces.td MemorySlotInterfaces.h, mlir/lib/Interfaces MemorySlotInterfaces.cpp

[mlir][mem2reg] Promote memory slots through transparent view operations (#196924)

This patch enables mem2reg to operate on load/store that are made
through cast/views of the memory slot (not directly using the SSA value
produced by the allocation op).

This is done by adding a new `PromotableAliaserInterface` interface that must
be implemented by operations that define view of the slot and through which
mem2reg should still happen.

This interface comes with three APIs. The first one allows the operation to
provide new MemorySlots that are aliasing an input MemorySlot. The slot pointers
of these new MemorySlot are results of the operation.

The other two APIs allows projecting the reaching values between the input and output
MemorySlot (one API for each direction).

Assisted by: Claude

RFC:
https://discourse.llvm.org/t/mlir-mem2reg-rfc-promote-memory-slots-through-transparent-view-operations/90761
DeltaFile
+220-0mlir/test/Transforms/mem2reg.mlir
+181-0mlir/test/lib/Dialect/Test/TestOpDefs.cpp
+152-0mlir/lib/Interfaces/MemorySlotInterfaces.cpp
+80-19mlir/lib/Transforms/Mem2Reg.cpp
+83-0mlir/include/mlir/Interfaces/MemorySlotInterfaces.td
+67-0mlir/include/mlir/Interfaces/MemorySlotInterfaces.h
+783-191 files not shown
+850-197 files

LLVM/project 5c95f6alld/COFF Chunks.cpp, lld/test/COFF arm64-relocs-imports.test

[LLD] [COFF] Fix handling of immediates in ARM64_SECREL_HIGH12A (#200060)

Just like for PAGEBASE_REL21, the immediate in SECREL_HIGH12A is the
byte offset, not a page offset. The byte level offset is added to the
symbol offset, which only then after that gets shifted right by 12. This
makes the handling of this immediate consistent with what MS link.exe
does.

The existing testcase had a zero immediate in the instruction for this
relocation.

This makes it clear that immediate offsets with SECREL_HIGH12A do work
fine, where the byte level offsets end up carrying over to the upper
bits.
DeltaFile
+5-5lld/test/COFF/arm64-relocs-imports.test
+6-3lld/COFF/Chunks.cpp
+11-82 files

FreeBSD/src 3d6c733libexec/talkd announce.c, usr.bin/wall ttymsg.c wall.c

ttymsg: Overhaul

* Instead of an error string, return the usual 0 or -1 and let the caller
  figure out what, if anything, to tell the user.

* Avoid string manipulations by opening /dev first and using openat()
  with O_RESOLVE_BENEATH.

* Add a boolean argument which, if false, causes ttymsg() to return
  without sending the message if the tty's group-writable bit is not
  set.  This saves programs that respect this setting (like syslogd(8))
  from having to check before calling ttymsg().

* Update all callers.

The observable effect of this change is minimal except for slightly
different error messages when ttymsg() fails.  However, syslogd(8) will
no longer print spurious error messages on the console after trying and
failing to write a log message to an X11 session.

    [7 lines not shown]
DeltaFile
+64-54usr.bin/wall/ttymsg.c
+9-39usr.sbin/syslogd/syslogd.c
+3-3usr.bin/wall/wall.c
+2-1libexec/talkd/announce.c
+1-1usr.bin/wall/ttymsg.h
+79-985 files

FreeBSD/src cf5cb2clibexec/talkd announce.c, usr.bin/wall ttymsg.c wall.c

ttymsg: Overhaul

* Instead of an error string, return the usual 0 or -1 and let the caller
  figure out what, if anything, to tell the user.

* Avoid string manipulations by opening /dev first and using openat()
  with O_RESOLVE_BENEATH.

* Add a boolean argument which, if false, causes ttymsg() to return
  without sending the message if the tty's group-writable bit is not
  set.  This saves programs that respect this setting (like syslogd(8))
  from having to check before calling ttymsg().

* Update all callers.

The observable effect of this change is minimal except for slightly
different error messages when ttymsg() fails.  However, syslogd(8) will
no longer print spurious error messages on the console after trying and
failing to write a log message to an X11 session.

    [7 lines not shown]
DeltaFile
+64-56usr.bin/wall/ttymsg.c
+21-37usr.sbin/syslogd/syslogd_cap_log.c
+10-37usr.sbin/syslogd/syslogd.c
+4-4usr.sbin/syslogd/syslogd_cap.h
+3-3usr.bin/wall/wall.c
+2-1libexec/talkd/announce.c
+104-1382 files not shown
+106-1408 files

LLVM/project 4306b4alibcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value ranges_uninitialized_value_construct.pass.cpp uninitialized_value_construct_n.pass.cpp, libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy ranges_uninitialized_copy.pass.cpp

[libc++] Implement P3508R0: Wording for "constexpr for specialized memory algorithms" (#197313)

Resolves #118379

- Add `constexpr` to affected areas
- Add `constexpr` tests
- Update documentation

Tests were created with AI assistance.
DeltaFile
+72-15libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/ranges_uninitialized_move.pass.cpp
+53-17libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ranges_uninitialized_value_construct.pass.cpp
+41-20libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/uninitialized_value_construct_n.pass.cpp
+39-19libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/uninitialized_value_construct.pass.cpp
+40-17libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ranges_uninitialized_value_construct_n.pass.cpp
+55-0libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/ranges_uninitialized_copy.pass.cpp
+300-8814 files not shown
+643-13020 files

LLVM/project 22f3307compiler-rt CMakeLists.txt, compiler-rt/lib/profile CMakeLists.txt InstrProfilingFile.c

[compiler-rt][profile] Add COMPILER_RT_BUILD_PROFILE_ROCM option

InstrProfilingPlatformROCm.cpp (added in 5db13643f4b7) is currently built
into every non-baremetal libclang_rt.profile, but not all hosts support it
(e.g. it fails to link on Darwin, where __llvm_write_custom_profile is
unavailable).

Add a COMPILER_RT_BUILD_PROFILE_ROCM CMake option (defaulting off on Apple,
on elsewhere) to allow that host to opt out.
DeltaFile
+10-0compiler-rt/CMakeLists.txt
+9-1compiler-rt/lib/profile/CMakeLists.txt
+4-0compiler-rt/lib/profile/InstrProfilingFile.c
+23-13 files

OpenBSD/src Zokot5Xusr.bin/tmux screen-write.c

   Obscured check should not be true if pane is same size as window.
VersionDeltaFile
1.256+3-3usr.bin/tmux/screen-write.c
+3-31 files

FreeBSD/src ea10118sys/kern vfs_mount.c

vfs_domount(): handle the case when vn_lock_pair() only locked once

(cherry picked from commit f5433e784078ee139a37eb43ffa1d9e0e1f4f217)
DeltaFile
+6-2sys/kern/vfs_mount.c
+6-21 files

FreeBSD/src bae3d28sys/kern vfs_vnops.c, sys/sys vnode.h

vn_lock_pair(): handle the case of vp1->v_vnlock == vp2->v_vnlock

(cherry picked from commit ace4a3e177c0da5efd9ceee0d9f46068562e3f5e)
DeltaFile
+25-7sys/kern/vfs_vnops.c
+1-1sys/sys/vnode.h
+26-82 files

LLVM/project 35bfc00llvm/lib/Transforms/InstCombine InstCombineAndOrXor.cpp, llvm/test/Transforms/InstCombine or-bitmask.ll

[InstCombine] Fix type mismatch in `foldBitmaskMul` (#199920)

Resolves #199506.

`matchBitmaskMul` matches the form `!(A & N) ? 0 : N * C`.

When the select arms are splat vectors but A is a scalar, this produces
malformed ir like `%57 = and i64 %49, <4 x i64> splat (i64
3689348814741910323)`.

Reproducer: https://godbolt.org/z/EYzKTxcKn
DeltaFile
+42-0llvm/test/Transforms/InstCombine/or-bitmask.ll
+6-2llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+48-22 files

LLVM/project 50a39ffclang/include module.modulemap

[clang] Add missing BuiltinAnchorSources.def to module map

Started with 5db13643f4b7038db0ca304d9f8900122502935c.
DeltaFile
+1-0clang/include/module.modulemap
+1-01 files