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
F151836949: D54751.id169912.diff
Sat, Apr 11, 12:18 AM
Unknown Object (File)
Wed, Apr 8, 9:49 AM
Unknown Object (File)
Wed, Apr 8, 6:16 AM
Unknown Object (File)
Sun, Apr 5, 1:04 PM
Unknown Object (File)
Wed, Mar 25, 6:33 AM
Unknown Object (File)
Sat, Mar 14, 6:26 PM
Unknown Object (File)
Mar 2 2026, 10:09 PM
Unknown Object (File)
Feb 10 2026, 3:35 PM
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