Page MenuHomeFreeBSD

syslogd: Enter capability mode
ClosedPublic

Authored by jfree on Aug 15 2023, 4:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 10, 10:17 PM
Unknown Object (File)
Mon, Oct 5, 1:20 AM
Unknown Object (File)
Sun, Oct 4, 7:37 AM
Unknown Object (File)
Sat, Oct 3, 11:44 AM
Unknown Object (File)
Fri, Oct 2, 9:53 PM
Unknown Object (File)
Fri, Oct 2, 9:45 PM
Unknown Object (File)
Fri, Oct 2, 3:08 AM
Unknown Object (File)
Sep 14 2026, 2:34 AM
Subscribers

Details

Summary
Create syslogd_cap_enter() function, which puts syslogd in capability
mode and opens necessary libcasper channels for resource acquisition.
The `syslogd.casper` and `system.net` services are used.

Substitute capability-mode-unfriendly functions with their libcasper
`cap_` equivalents.

Diff Detail

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

Event Timeline

Use cap_ttymsg() instead of ttymsgat()

This revision is now accepted and ready to land.Aug 23 2023, 3:30 PM

Open the renamed syslogd.casper service (used to be syslogd.*).

This revision now requires review to proceed.Aug 23 2023, 10:13 PM
This revision is now accepted and ready to land.Aug 31 2023, 2:48 PM

Update to avoid rebase conflicts.

This revision now requires review to proceed.Sep 3 2023, 3:27 AM
This revision is now accepted and ready to land.Sep 4 2023, 1:23 PM
This revision was automatically updated to reflect the committed changes.