Page MenuHomeFreeBSD

time: Add EXTERROR for all EINVAL returns OBSOLETE
Needs ReviewPublic

Authored by imp on Jan 16 2026, 9:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 11, 5:57 PM
Unknown Object (File)
Sun, Aug 9, 3:11 PM
Unknown Object (File)
Sat, Aug 8, 6:02 PM
Unknown Object (File)
Fri, Aug 7, 5:28 PM
Unknown Object (File)
Wed, Aug 5, 8:38 AM
Unknown Object (File)
Sun, Aug 2, 9:21 PM
Unknown Object (File)
Mon, Jul 27, 2:12 AM
Unknown Object (File)
Sun, Jul 26, 3:49 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
imp marked an inline comment as done.Apr 19 2026, 2:44 PM

So I'm closing this one... I submitted it twice and there's more on the other ones.

sys/kern/kern_time.c
221

OK. Good suggestion. It also looks like I submitted this twice accidentally.

imp retitled this revision from time: Add EXTERROR for all EINVAL returns to time: Add EXTERROR for all EINVAL returns OBSOLETE.Apr 19 2026, 2:47 PM