Framework design upload
This commit is contained in:
3
freebsd/README.md
Normal file
3
freebsd/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# FreeBSD mapping
|
||||
|
||||
See `mapping.md`.
|
||||
18
freebsd/mapping.md
Normal file
18
freebsd/mapping.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# FreeBSD mapping notes (draft)
|
||||
|
||||
## Isolation domains
|
||||
- Use **jails** to isolate tools/workers.
|
||||
- Map `domain_id` to a jail instance.
|
||||
|
||||
## Capabilities
|
||||
- Use **Capsicum** to restrict tool runners.
|
||||
- Capabilities are represented as scoped grants in the cognitive kernel and realized via Capsicum + pre-opened descriptors.
|
||||
|
||||
## Eventing
|
||||
- Use **kqueue** for event-driven IO in the cognitive runtime.
|
||||
- Provenance logs are append-only files (optionally per-domain datasets on ZFS).
|
||||
|
||||
## Resource control
|
||||
- rctl, login classes, cpuset can enforce limits.
|
||||
- Budgeting logic lives in the cognitive runtime; enforcement uses kernel primitives.
|
||||
|
||||
BIN
freebsd/prototypes/.DS_Store
vendored
Normal file
BIN
freebsd/prototypes/.DS_Store
vendored
Normal file
Binary file not shown.
0
freebsd/prototypes/capsicum-tools/.keep
Normal file
0
freebsd/prototypes/capsicum-tools/.keep
Normal file
0
freebsd/prototypes/event-bus/.keep
Normal file
0
freebsd/prototypes/event-bus/.keep
Normal file
0
freebsd/prototypes/jail-domain/.keep
Normal file
0
freebsd/prototypes/jail-domain/.keep
Normal file
Reference in New Issue
Block a user