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)
Dec 15 2025, 3:20 AM
Unknown Object (File)
Nov 22 2025, 2:02 AM
Unknown Object (File)
Nov 18 2025, 11:47 PM
Unknown Object (File)
Nov 5 2025, 8:44 PM
Unknown Object (File)
Nov 5 2025, 3:37 AM
Unknown Object (File)
Nov 5 2025, 12:11 AM
Unknown Object (File)
Nov 4 2025, 8:58 AM
Unknown Object (File)
Nov 4 2025, 4:16 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