Page MenuHomeFreeBSD

time: Add EXTERROR for all EINVAL returns
Needs ReviewPublic

Authored by imp on Jan 16 2026, 9:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 10, 3:35 PM
Unknown Object (File)
Sat, Jan 31, 6:06 AM
Unknown Object (File)
Fri, Jan 30, 2:24 PM
Unknown Object (File)
Jan 29 2026, 3:05 AM
Unknown Object (File)
Jan 25 2026, 1:44 AM
Unknown Object (File)
Jan 22 2026, 5:26 PM
Unknown Object (File)
Jan 21 2026, 1:00 PM
Unknown Object (File)
Jan 19 2026, 10:25 AM
Subscribers

Details

Reviewers
kib
Summary

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69938
Build 66821: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jan 16 2026, 9:10 PM
lib/libc/gen/exterr_cat_filenames.h
18

I suspect you have an old version of the tools/build/make_libc_exterr_cat_filenames.sh script. After today, the output of it should be stable, i..e. the diff should only show one line added for EXTERR_CAT_TIME.

sys/kern/kern_time.c
221

I suggest to add the actual values of the invalid parameters (use %jd or %ju or %jx as format). There and in all other places where it makes sense.

430