Page MenuHomeFreeBSD

elf_aux_info(3): return correct errors
AcceptedPublic

Authored by mhorne on Aug 4 2019, 12:01 AM.
Tags
None
Referenced Files
F167360443: D21153.diff
Fri, Aug 21, 7:35 AM
Unknown Object (File)
Tue, Aug 18, 5:49 PM
Unknown Object (File)
Wed, Aug 12, 4:00 AM
Unknown Object (File)
Jul 6 2026, 12:51 PM
Unknown Object (File)
Apr 5 2026, 10:38 AM
Unknown Object (File)
Apr 5 2026, 10:11 AM
Unknown Object (File)
Apr 4 2026, 1:27 AM
Unknown Object (File)
Dec 15 2025, 3:20 AM
Subscribers
None

Details

Reviewers
kib
markj
Summary

Some entries return ENOENT when the provided buffer is too small. Change
them to match the behaviour of the rest and return EINVAL in these
cases.

While here, fix a typo in the manpage: the function returns ENOENT when
a non-existent entry is requested, not EINVAL.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25672
Build 24264: arc lint + arc unit