stand: userboot: improve userdisk error handling
Currently, userdisk_init() iterates through disks and
checks whether DIOCGSECTORSIZE and DIOCGMEDIASIZE ioctls
are available for the device. If either ioctl fails, userdisk_init()
returns ENXIO with ud_info only partially initialized.
devinit() records the failure, but loader_main() ignores
devinit()'s return value, so later code may access an
uninitialized entry.
In certain cases this code can still boot from a disk even if
userdisk_init() returns ENXIO, for example, when the first of
two disks is valid and the second errors out.
To address this issue while not breaking the current behavior, do
the following:
- Zero-initialize the userdisk_info array and use a zero media size
to mark disks that do not support the ioctls mentioned above or
[16 lines not shown]
ProcessImplicitDefs: Erase physreg implicit_def with no live out use (#233910)
Instead of setting the dead flag, just erase the instruction. Also
stop doing this if !tracksRegLiveness, though I don't really
understand this option.
[extract_symbols] Cap worker pool size on Windows (#233608)
On Windows with >61 cores (Python <= 3.11), multiprocessing.Pool()
exceeds the 63-handle limit in _winapi.WaitForMultipleObjects (N worker
handles + 2 internal pipe handles). This crashes Pool._handle_workers
with ValueError before it sends the termination sentinel to taskqueue,
causing Pool._terminate_pool to deadlock in task_handler.join() at exit.
Cap the worker count to at most 60 on Windows and at most len(libs) on
all platforms, and join the pool after collecting results.
[AMDGPU] Fix LDS f64 atomic fadd on gfx1310
hasLDSFPAtomicAddF64() keyed on GFX90AInsts or GFX1250Insts. gfx1310
has GFX1250Insts but no ds_add_f64, so AtomicExpand left LDS
atomicrmw fadd double unexpanded and instruction selection failed.
Query the lds-atomic-add-f64 feature instead, which already guards the
DS_ADD_F64 patterns and the GlobalISel legalizer. gfx1310 now expands
to a ds_cmpstore_rtn_b64 loop.
Change-Id: I891ff50e648ac5305cd7a594ea3fcce5e3411df4
Co-Authored-By: Claude Opus 5.5 <noreply at anthropic.com>
ftp/curl: Security update to 8.23.0
SMB support was removed upstream in 8.23.0, drop the SMB option.
Changes: https://curl.se/ch/8.23.0.html
PR: 299376
Security: 14dab969-c797-11f1-a6ea-8447094a420f
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
ftp/curl: Security update to 8.23.0
SMB support was removed upstream in 8.23.0, drop the SMB option.
Changes: https://curl.se/ch/8.23.0.html
PR: 299376
Security: 14dab969-c797-11f1-a6ea-8447094a420f
With hat: ports-secteam
Sponsored by: Netzkommune GmbH
[clang][OpenMP] Emit host diagnostics that were deferred and never flushed (#220316)
Fixes #147515.
Please review commit by commit. The last three commits only regenerate
`threadprivate_codegen.cpp`, `single_codegen.cpp` and
`target_parallel_generic_loop_codegen-1.cpp` for the new emission order.
They are about
3,700 of the 4,300 changed lines.
## The bug
```c++
// t.cpp
void foo();
int f() {
try {
foo();
[121 lines not shown]
www/nginx-module-auth-pam: Add New Port
Sources of the auth_pam module for the NGINX ports. The module hands basic
authentication to PAM, so an account of the system can serve as the login.
Sponsored by: Netzkommune GmbH
www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
Build the memc, encrypted_session, fancyindex, auth_pam and geoip2 modules
from their own source ports.
Sponsored by: Netzkommune GmbH
www/nginx-module-geoip2: Add New Port
Sources of the geoip2 module for the NGINX ports. The module reads a MaxMind
database and puts what it finds for an address into variables.
Sponsored by: Netzkommune GmbH
www/nginx-module-auth-pam: Add New Port
Sources of the auth_pam module for the NGINX ports. The module hands basic
authentication to PAM, so an account of the system can serve as the login.
Sponsored by: Netzkommune GmbH
www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
Build the memc, encrypted_session, fancyindex, auth_pam and geoip2 modules
from their own source ports.
Sponsored by: Netzkommune GmbH
www/nginx-module-geoip2: Add New Port
Sources of the geoip2 module for the NGINX ports. The module reads a MaxMind
database and puts what it finds for an address into variables.
Sponsored by: Netzkommune GmbH
www/nginx-module-fancyindex: Add New Port
Sources of the fancyindex module for the NGINX ports. The module writes the
automatic directory listing as HTML that a template can shape.
Sponsored by: Netzkommune GmbH