Page MenuHomeFreeBSD

syslogd: Enter capability mode
ClosedPublic

Authored by jfree on Aug 15 2023, 4:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 24, 1:34 AM
Unknown Object (File)
Sat, Dec 14, 8:11 PM
Unknown Object (File)
Thu, Nov 28, 12:06 AM
Unknown Object (File)
Nov 7 2024, 3:26 AM
Unknown Object (File)
Nov 7 2024, 1:31 AM
Unknown Object (File)
Oct 30 2024, 11:37 AM
Unknown Object (File)
Oct 21 2024, 4:03 AM
Unknown Object (File)
Oct 21 2024, 4:03 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.