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)
Sat, Apr 27, 12:37 AM
Unknown Object (File)
Sat, Apr 27, 12:37 AM
Unknown Object (File)
Fri, Apr 26, 11:54 PM
Unknown Object (File)
Wed, Apr 24, 2:10 AM
Unknown Object (File)
Sun, Apr 14, 5:30 PM
Unknown Object (File)
Mon, Apr 8, 10:07 AM
Unknown Object (File)
Sat, Apr 6, 3:54 PM
Unknown Object (File)
Dec 23 2023, 11:53 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.