Instead of ad-hoc comparisons against the struct type in a few places,
start to abstract out an interface for dealing with struct types. For
now, this just means that we have some special jailparam_import and
jailparam_export handling for the ip addr types, but in the next commit
we'll extend it further to support MAC labels.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 68898 Build 65781: arc lint + arc unit
Event Timeline
Comment Actions
The original author should have done this in the first place ;-)
| lib/libjail/jail.c | ||
|---|---|---|
| 83 | You're optimistic about our coding speed :-) | |
Comment Actions
Don't have time to review this in detail, but overall you have my blessing as well. :-)