Page MenuHomeFreeBSD

syslogd: Block timezone updating in capability mode
ClosedPublic

Authored by jfree on Aug 15 2023, 4:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 11:47 PM
Unknown Object (File)
Wed, Oct 8, 12:49 AM
Unknown Object (File)
Wed, Oct 1, 4:33 PM
Unknown Object (File)
Sat, Sep 27, 10:56 PM
Unknown Object (File)
Sun, Sep 21, 10:35 AM
Unknown Object (File)
Sep 7 2025, 3:10 AM
Unknown Object (File)
Aug 17 2025, 2:30 AM
Unknown Object (File)
Aug 16 2025, 10:46 AM
Subscribers

Details

Summary
Do not update local timezone data upon reload when syslogd is compiled
with libcasper support. Timezone files are pre-fetched using the
caph_cache_tzdata() function before entering capability mode. Attempts
to re-fetch these files will result in a capability violation.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/syslogd/syslogd.c
2511

Let's put an XXX comment in here at least, since we'd like to fix this somehow. It'll require a new interface to the tzcode module.

Add XXX comment for needed future tzcode capability module

This revision is now accepted and ready to land.Aug 24 2023, 2:13 PM