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)
Sun, Sep 6, 5:47 AM
Unknown Object (File)
Fri, Sep 4, 8:44 PM
Unknown Object (File)
Fri, Sep 4, 6:37 PM
Unknown Object (File)
Thu, Sep 3, 6:13 AM
Unknown Object (File)
Thu, Sep 3, 3:53 AM
Unknown Object (File)
Tue, Sep 1, 2:58 AM
Unknown Object (File)
Tue, Sep 1, 2:45 AM
Unknown Object (File)
Sat, Aug 29, 9:01 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