Page MenuHomeFreeBSD

syslogd: Block timezone updating in capability mode
ClosedPublic

Authored by jfree on Aug 15 2023, 4:10 AM.
Tags
None
Referenced Files
F107398898: D41466.id126444.diff
Mon, Jan 13, 3:17 PM
F107362500: D41466.id.diff
Mon, Jan 13, 1:50 AM
Unknown Object (File)
Sun, Jan 12, 5:29 AM
Unknown Object (File)
Sat, Jan 11, 10:04 PM
Unknown Object (File)
Wed, Jan 8, 7:21 PM
Unknown Object (File)
Dec 6 2024, 12:16 PM
Unknown Object (File)
Nov 28 2024, 4:48 AM
Unknown Object (File)
Nov 27 2024, 11:54 PM
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