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)
Sat, Nov 22, 2:02 AM
Unknown Object (File)
Tue, Nov 18, 11:47 PM
Unknown Object (File)
Wed, Nov 5, 8:44 PM
Unknown Object (File)
Wed, Nov 5, 3:37 AM
Unknown Object (File)
Wed, Nov 5, 12:11 AM
Unknown Object (File)
Tue, Nov 4, 8:58 AM
Unknown Object (File)
Tue, Nov 4, 4:16 AM
Unknown Object (File)
Oct 30 2025, 4:38 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