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.
Details
Details
- Reviewers
markj - Commits
- rG24f4019b6a89: syslogd: Block timezone updating in capability mode
Diff Detail
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. |