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)
Thu, May 2, 7:01 PM
Unknown Object (File)
Thu, May 2, 3:47 PM
Unknown Object (File)
Thu, May 2, 3:43 PM
Unknown Object (File)
Thu, May 2, 3:05 PM
Unknown Object (File)
Mar 30 2024, 3:19 AM
Unknown Object (File)
Feb 9 2024, 2:51 AM
Unknown Object (File)
Jan 26 2024, 4:08 PM
Unknown Object (File)
Dec 26 2023, 4:44 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