Page MenuHomeFreeBSD

syslogd: Enter capability mode
AcceptedPublic

Authored by jfree on Aug 15 2023, 4:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 30, 11:37 AM
Unknown Object (File)
Mon, Oct 21, 4:03 AM
Unknown Object (File)
Mon, Oct 21, 4:03 AM
Unknown Object (File)
Mon, Oct 21, 4:03 AM
Unknown Object (File)
Mon, Oct 21, 4:03 AM
Unknown Object (File)
Mon, Oct 21, 4:03 AM
Unknown Object (File)
Mon, Oct 21, 3:33 AM
Unknown Object (File)
Mon, Oct 21, 3:31 AM
Subscribers

Details

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

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