[libc] Add getgrnam_r and getgrgid_r entrypoints (#224722)
Add the reentrant group database lookup entrypoints getgrnam_r and
getgrgid_r along with grp::find_by_name and grp::find_by_gid in
grp_utils.
Each lookup opens a ScopedFlatFileDatabase<struct group> stream so that
reentrant lookups do not disturb an in-progress getgrent iteration.
Track group_file_path alongside the iteration database so scoped streams
opened by reentrant lookups honour test path overrides.
* Add getgrnam_r and getgrgid_r entrypoints
* Add find_by_name and find_by_gid lookup helpers in grp_utils
* Define getgrnam_r and getgrgid_r in include/grp.yaml
* Add hermetic unit tests for getgrnam_r and getgrgid_r
Assisted-by: Automated tooling, human reviewed.
ARM: Fix mixed dead and not-dead LR operands in vlldm-vlstm-uops.mir (#224825)
This operand list had LR listed twice, once from its implicit-defs on
the instruction definition, and another in the variadic argument list.
One had a dead flag, and the other didn't which should be a verifier
error in the future, so remove the redundant operand.
Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>
On install images without timezone data, the set_timezone function
returned before wait_cgiinfo was called. This meant the list of mirrors
was downloaded, but never presented to the user.
Call wait_cgiinfo in do_install directly (this more closely matches how
do_upgrade does it).
ok afresh1@
handle dynamic channel width changes correctly in iwx(4)
Avoids fatal firmware error ADVANCED_SYSASSERT 0x20101A28, where the
fw station on a PHY has a higher Tx rate scaling bandwidth than the PHY.
Thanks to Johannes Berg for explaining the firmware error code to me.
Problem reported and fix tested by Robert Palm.