Page MenuHomeFreeBSD

elf_aux_info(3): return correct errors
AcceptedPublic

Authored by mhorne on Aug 4 2019, 12:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 12, 1:58 AM
Unknown Object (File)
Thu, Oct 9, 10:29 PM
Unknown Object (File)
Fri, Sep 26, 5:26 AM
Unknown Object (File)
Tue, Sep 23, 4:05 PM
Unknown Object (File)
Sep 14 2025, 9:16 PM
Unknown Object (File)
Aug 17 2025, 11:09 PM
Unknown Object (File)
Jul 21 2025, 12:12 AM
Unknown Object (File)
Jun 25 2025, 12:58 PM
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