Files
src/bin
NVSRahul 3570b19d74 uuidgen: generate UUIDs in bounded batches to respect kernel limit
The uuidgen(2) system call enforces a hard upper limit of 2048 UUIDs per
invocation. uuidgen(1) previously attempted to generate arbitrary counts
in a single call and allocated memory accordingly, leading to EINVAL
errors, unnecessary memory usage, and potential overflow risks.

Generate UUIDs in fixed-size batches, streaming output incrementally
while preserving existing semantics. Mirror the kernel limit explicitly
since it is not exposed via a public interface.

Signed-off-by: NVSRahul <nvsrahul@hotmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1965
2026-03-07 00:51:16 -07:00
..
2026-02-11 17:24:46 +01:00
2026-02-18 10:50:20 -05:00
2025-06-20 22:24:10 +00:00
2024-10-14 10:26:17 -07:00
2026-02-13 21:19:16 +01:00