ForkproxyUnload ensures that the instances's policy namespace is unloaded to free kernel memory. This does not delete the policy from disk or cache.
(sysOS *sys.OS, inst instance, dev device)
| 133 | // ForkproxyUnload ensures that the instances's policy namespace is unloaded to free kernel memory. |
| 134 | // This does not delete the policy from disk or cache. |
| 135 | func ForkproxyUnload(sysOS *sys.OS, inst instance, dev device) error { |
| 136 | return unloadProfile(sysOS, ForkproxyProfileName(inst, dev), forkproxyProfileFilename(inst, dev)) |
| 137 | } |
| 138 | |
| 139 | // ForkproxyDelete removes the policy from cache/disk. |
| 140 | func ForkproxyDelete(sysOS *sys.OS, inst instance, dev device) error { |
no test coverage detected
searching dependent graphs…