Page MenuHomeFreeBSD

syslogd: Block timezone updating in capability mode
AcceptedPublic

Authored by jfree on Aug 15 2023, 4:10 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 3 2024, 6:56 AM
Unknown Object (File)
Apr 22 2024, 9:00 AM
Unknown Object (File)
Jan 30 2024, 9:49 PM
Unknown Object (File)
Jan 7 2024, 4:02 PM
Unknown Object (File)
Dec 28 2023, 6:57 AM
Unknown Object (File)
Dec 20 2023, 8:12 AM
Unknown Object (File)
Dec 17 2023, 10:00 PM
Unknown Object (File)
Dec 13 2023, 2:25 AM
Subscribers

Details

Reviewers
markj
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 Skipped
Unit
Tests Skipped

Event Timeline

usr.sbin/syslogd/syslogd.c
2479

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