Page MenuHomeFreeBSD

veriexec: Add support in rc.d script processing.
AbandonedPublic

Authored by stevek on Apr 17 2023, 7:49 PM.
Tags
Referenced Files
Unknown Object (File)
Wed, Jun 10, 2:26 AM
Unknown Object (File)
Wed, Jun 3, 1:25 AM
Unknown Object (File)
Mon, May 18, 8:04 PM
Unknown Object (File)
May 17 2026, 6:03 AM
Unknown Object (File)
May 17 2026, 12:03 AM
Unknown Object (File)
May 15 2026, 7:52 PM
Unknown Object (File)
May 15 2026, 7:46 PM
Unknown Object (File)
May 13 2026, 8:34 AM
Subscribers
None

Details

Reviewers
imp
sjg
Summary

Added dot function to include a file if it exists.
Added vdot function to do the same as dot, but verify the file first.

Also allow for including /etc/rc.subr.local, if it exists.

Obtained from: Juniper Networks, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 50969
Build 47860: arc lint + arc unit

Event Timeline

stevek created this revision.

I know a few folk are interested in using mac_veriexec, but we could push the guts of vdot etc into rc.subr.local (I've moved it to the end of the file) and just put a place holder here like vdot() { dot "$@"; }. It is the callouts in run_rc_* etc which are most important.