HomeFreeBSD

syslogd: Create syslogd libcasper service

Description

syslogd: Create syslogd libcasper service

Once in capability mode, resource acquisition is not possible. To
mitigate this, introduce a libcasper service that is responsible for
fetching and returning new, requested resources to syslogd.

Some resources must be packed into an nvlist to be properly transferred
between syslogd and the libcasper process. The filed_to_nvlist() and
nvlist_to_filed() functions are included to ease the packing process for
filed structures.

Two additional syslogd.h and syslogd_cap.h header files are included
with shared declarations.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D41463

Details

Provenance
jfreeAuthored on Nov 27 2024, 10:25 PM
Reviewer
markj
Differential Revision
D41463: syslogd: Create syslogd libcasper service
Parents
rG06a98fefd3d3: nvi: Replace Clang-only __builtin_is_aligned with C code (#124)
Branches
Unknown
Tags
Unknown