LLVM/project fc43f7dutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Fixes 9889e62 (#206294)

This fixes 9889e626983fe38aca09283e9092fd8cebdae8fa.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+1-01 files

LLVM/project 10e7761libc/shared builtins.h, libc/shared/builtins subdf3.h

[libc] add shared subdf3 builtin (#205673)

Re-exposes LLVM-libc's `__subdf3` as `shared::subdf3` for reuse by
compiler-rt's builtins.

Stacked change - merge these first:
- #200094
- #205669
- #205670
- #205671
- #205672

Part of #197824
DeltaFile
+32-0libc/src/__support/builtins/subdf3.h
+29-0libc/shared/builtins/subdf3.h
+9-0libc/src/__support/builtins/CMakeLists.txt
+1-0libc/shared/builtins.h
+1-0libc/test/shared/CMakeLists.txt
+1-0libc/test/shared/shared_builtins_test.cpp
+73-06 files

FreeBSD/src 62551aeusr.sbin/iostat iostat.8

iostat.8: Expand -w description

PR:             194781
MFC after:      3 days
Reviewed by:    ziaee
Event:          Halifax Hackathon 202606

(cherry picked from commit 4d299a767acce2841ded288e789a9c36620b57d7)
DeltaFile
+6-1usr.sbin/iostat/iostat.8
+6-11 files

FreeBSD/src 1744efcshare/man/man4 tcp.4, sys/netinet tcp_fastopen.c

tcp.fastopen.client_enable: Fix documented default

The default value has been 1 since June 2018, but the docs were not
updated to reflect the change.

MFC after:      3 days
Reviewed by:    ziaee
Fixes:          af4da5865557 (Enable TCP_FASTOPEN by default)
Signed-off-by:  Matteo Riondato <matteo at FreeBSD.org>
Closes:         https://github.com/freebsd/freebsd-src/pull/2285

(cherry picked from commit 0bc852cc62afcd79fc776f784623c3f2b7691d27)
DeltaFile
+2-2share/man/man4/tcp.4
+1-1sys/netinet/tcp_fastopen.c
+3-32 files

FreeBSD/src fa550b2stand/man loader.efi.8

loader.efi.8: hw.uart.console is explained in uart

PR:             295944
MFC to:         15
MFC after:      3 days

(cherry picked from commit a641aa1c80f80e44cd9212b95e6584db9533712c)
DeltaFile
+2-3stand/man/loader.efi.8
+2-31 files

FreeBSD/src c19c83bsbin/mount_udf mount_udf.8

mount_udf.8: Alphabetize and align options

While here, remove "The following UDF specific options are available:".
It is unused and does not appear to have ever been used.

MFC after:      3 days

(cherry picked from commit 05f132adc530cd53203b9cd09d7e1b211d2babc4)
DeltaFile
+5-6sbin/mount_udf/mount_udf.8
+5-61 files

FreeBSD/src 4016f9dcontrib/mandoc mdoc.7

mdoc.7: Revert upstream changes to Lb/LIBRARY

Since this manual describes the mdoc syntax throughout the ecosystem,
I had to blend what we had before with what upstream is doing now.

Thanks:         adrian
MFC after:      3 days (we shipped this doc in 15.0/14.4)
Reviewed by:    ivy, mhorne, des, adrian
Discussed with: arch@
Differential Revision:  https://reviews.freebsd.org/D56153

(cherry picked from commit 4e2bf6e90a65bee317e4dd379e098ba2eb5d8c0d)
DeltaFile
+33-4contrib/mandoc/mdoc.7
+33-41 files

FreeBSD/src 9e6c043bin/ln symlink.7

symlink.7: Clean up markup and tag SPDX

Also unwind some parentheticals.

MFC after:      3 days

(cherry picked from commit e821152cc71dbd09f5bd28be86499165c553f3ae)
DeltaFile
+49-43bin/ln/symlink.7
+49-431 files

FreeBSD/src bb1154fsys/kern kern_exec.c

kern_exec.c: explicitly include sys/limits.h for UINT_MAX

(cherry picked from commit f5fce0bcc370a9700249e64901eabf2e0be4ecb0)
DeltaFile
+1-1sys/kern/kern_exec.c
+1-11 files

FreeBSD/src 34b95f5sys/kern kern_prot.c

sys_set*id(9): wait for the execblocks to pass

(cherry picked from commit d0384f50dad25d3358d76f7556969ea1d515ba68)
DeltaFile
+10-0sys/kern/kern_prot.c
+10-01 files

FreeBSD/src d7d5337sys/compat/linprocfs linprocfs.c, sys/fs/procfs procfs_map.c procfs_mem.c

procfs, linprocfs: ensure target process vmspace stability

(cherry picked from commit 5db31f1b47b586a5091eb41fc957236f28b78dba)
DeltaFile
+7-10sys/fs/procfs/procfs_map.c
+5-11sys/compat/linprocfs/linprocfs.c
+1-5sys/fs/procfs/procfs_mem.c
+13-263 files

FreeBSD/src ec0d7d0sys/fs/pseudofs pseudofs_vnops.c

pseudofs: ensure that the target process vmspace is stable for VOP_READ/WRITE

(cherry picked from commit a4993bac41350e85bc9affb862d2974a1a09bb5e)
DeltaFile
+41-18sys/fs/pseudofs/pseudofs_vnops.c
+41-181 files

FreeBSD/src caa2e5csys/fs/pseudofs pseudofs_vnops.c

pfs_readdir(): block the target process from execing

(cherry picked from commit 4c0a0909f928baac982b7de4bfa5b5ca7de5291a)
DeltaFile
+9-1sys/fs/pseudofs/pseudofs_vnops.c
+9-11 files

FreeBSD/src 23ebf0csys/kern kern_procctl.c

kern_procctl(PROC_WX_MAPPINGS_PERMIT): ensure stability of the target vmspace

(cherry picked from commit 6a572920f251ac8ac6a80a55d4d039736ea7dd65)
DeltaFile
+14-9sys/kern/kern_procctl.c
+14-91 files

FreeBSD/src a11c4f0sys/compat/linux linux_misc.c

linux_prlimit(): block execve for the target

(cherry picked from commit e41c28e67fac9cd22a85b160c5c9d0477ed03600)
DeltaFile
+15-0sys/compat/linux/linux_misc.c
+15-01 files

FreeBSD/src 190d667sys/kern kern_resource.c

kern_resource.c: disallow execve around sysctl kern.proc.rlimitusage

(cherry picked from commit 836749817036b90b60af0584fa21f2d9dbd60ff7)
DeltaFile
+19-8sys/kern/kern_resource.c
+19-81 files

FreeBSD/src 35b95besys/kern kern_proc.c

kern_proc.c: disallow execve around sysctl kern.proc.rlimit

(cherry picked from commit 5a91fa5a7656c99e527fe7e6f6bf6bd9e85ab589)
DeltaFile
+16-10sys/kern/kern_proc.c
+16-101 files

FreeBSD/src adb1479sys/kern kern_event.c

kern_event: block the target process from execing for sysctl kern.proc.kqueue

(cherry picked from commit 79b384bd8fdff4869ce4799edb0342ff5c25b6fa)
DeltaFile
+17-5sys/kern/kern_event.c
+17-51 files

FreeBSD/src 197f367sys/kern kern_proc.c

kern_proc.c: disallow execve around sysctl kern.proc.kstacks

(cherry picked from commit 8b5abd9027b8b1f6290c756730ee3adebed007f4)
DeltaFile
+16-12sys/kern/kern_proc.c
+16-121 files

FreeBSD/src b3f99cesys/kern kern_proc.c

kern_proc.c: make kern.proc.osrel atomic

(cherry picked from commit 80626f34ee985671bb8c60ee986b89587b7a1511)
DeltaFile
+22-23sys/kern/kern_proc.c
+22-231 files

FreeBSD/src da1398dsys/kern kern_proc.c

kern_proc.c: ensure stability of the vmspace for sysctl kern.proc.vm_layout

(cherry picked from commit 31fa677e4af00b795bf671847b4dc72960c90f14)
DeltaFile
+10-2sys/kern/kern_proc.c
+10-21 files

FreeBSD/src 1f06224sys/kern kern_proc.c

kern_proc.c: ensure stability of the vmspace we read the strings from

(cherry picked from commit a22c044cce41864a32af6b8281a3c416a2664d7f)
DeltaFile
+38-22sys/kern/kern_proc.c
+38-221 files

FreeBSD/src e856c10sys/kern kern_proc.c

kern_proc.c: ensure stability of the vmspace for sysctl kern.proc.vmmap

(cherry picked from commit 5fe6e08d2db56b530f0df2903ef24cfabab7b8ea)
DeltaFile
+12-8sys/kern/kern_proc.c
+12-81 files

FreeBSD/src dc94d15sys/kern kern_exec.c kern_exit.c, sys/sys imgact.h proc.h

execve_block(): a mechanism for mutual exclusion with execve() on the process

(cherry picked from commit e1a84b7708c2514769625c2af6c5034694013b6a)
DeltaFile
+79-0sys/kern/kern_exec.c
+4-0sys/sys/imgact.h
+3-0sys/sys/proc.h
+1-0sys/kern/kern_exit.c
+1-0sys/kern/kern_fork.c
+88-05 files

FreeBSD/src e7578e3sys/fs/cuse cuse.c, sys/fs/procfs procfs_mem.c

proc: Allow to make proc_rwmem() operate on a consistent address space

(cherry picked from commit e1b0d051bbf7e4e730470cbd6622f71a639834c3)
DeltaFile
+105-19sys/kern/sys_process.c
+14-1sys/sys/ptrace.h
+5-5sys/kern/kern_prot.c
+2-2sys/fs/cuse/cuse.c
+1-1sys/fs/procfs/procfs_mem.c
+127-285 files

LLVM/project 9889e62mlir/include/mlir-c IR.h, mlir/include/mlir/CAPI IRMapping.h

[mlir-c] Add IRMapping C API bindings (#206146)

Expose IRMapping through the MLIR C API with full create/destroy/map, lookup, contains/erase, and clone-with-mapping functionality.

Assisted by: Claude
DeltaFile
+121-0mlir/test/CAPI/ir.c
+89-0mlir/include/mlir-c/IR.h
+85-0mlir/lib/CAPI/IR/IR.cpp
+43-0mlir/test/CAPI/rewrite.c
+18-0mlir/include/mlir/CAPI/IRMapping.h
+7-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+363-01 files not shown
+368-07 files

LLVM/project 115eae2llvm/include/llvm/Support WithColor.h raw_ostream.h, llvm/test lit.cfg.py

[FileCheck] Improve colors in input dumps (#204936)

This patch makes two improvements to colors used in FileCheck input
dumps:

1. Without this patch, input line numbers and ellipses have a foreground
    color of black, which is hard to see in a terminal with a dark color
    theme. This patch changes that to bright black (a grayish color), which
    looks good to me for all terminal themes I have tried while remaining
    distinct from the input text.
2. Without this patch, the input text is accidentally set to bold when
    neither `-v` or `-vv` is specified. Perhaps I never noticed because I
    tend to always use `-vv`. This patch changes that to use the terminal's
    default color.

Case 2 exposes a problem with LLVM's color implementation. Without this
patch, the call to `WithColor`'s constructor actually specifies bold as
`false`, but `WithColor` ignores that when the color is `SAVEDCOLOR`.
While it seems like that should be fixed, I am concerned about the

    [6 lines not shown]
DeltaFile
+112-0llvm/test/FileCheck/dump-input/color.txt
+93-0llvm/test/lit.cfg.py
+17-9llvm/test/FileCheck/opt-color.txt
+14-4llvm/utils/FileCheck/FileCheck.cpp
+4-0llvm/include/llvm/Support/WithColor.h
+2-0llvm/include/llvm/Support/raw_ostream.h
+242-136 files

FreeBSD/src 9e1bbfbsys/fs/nfsclient nfs_clstate.c

nfs_clstate.c: Fix CB_RECALL handling for NFSv4.1/4.2

Recent testing with a modified NFSv4.1/4.2 client that
sometimes ignored CB_RECALL callbacks, identified a few
problems when handling the unusual case of CB_RECALL not
be performed by the client.
- The csa_cachethis argument to CB_SEQUENCE was being ignored.
- The CB_SEQUENCE operation would reply NFSERR_DELAY
  after the first CB_RECALL attempt, making retries
  ineffective.
- The code could return NFSERR_RESOURCE, which is a
  NFSv4.0 specific error code.

This patch fixes the above three problems.

The patch only affects the NFSv4.1/4.2 client when
delegations are being issued and the client somehow
fails to handle a CB_RECALL callback of a delegation,
which is an unusual case.

    [2 lines not shown]
DeltaFile
+9-2sys/fs/nfsclient/nfs_clstate.c
+9-21 files

LLVM/project e6203d0mlir/include/mlir-c IR.h, mlir/include/mlir/CAPI IRMapping.h

[mlir-c] Add IRMapping C API bindings

Expose IRMapping through the MLIR C API with full create/destroy/map,
lookup, contains/erase, and clone-with-mapping functionality.
DeltaFile
+121-0mlir/test/CAPI/ir.c
+89-0mlir/include/mlir-c/IR.h
+85-0mlir/lib/CAPI/IR/IR.cpp
+43-0mlir/test/CAPI/rewrite.c
+18-0mlir/include/mlir/CAPI/IRMapping.h
+7-0mlir/lib/CAPI/Transforms/Rewrite.cpp
+363-01 files not shown
+368-07 files

FreeBSD/ports 7221851misc Makefile, misc/github-copilot-cli Makefile distinfo

misc/github-copilot-cli: New port: CLI for GitHub Copilot
DeltaFile
+48-0misc/github-copilot-cli/Makefile
+5-0misc/github-copilot-cli/distinfo
+4-0misc/github-copilot-cli/pkg-descr
+1-0misc/Makefile
+58-04 files