package policy
import "github.com/Microsoft/hcsshim/internal/guest/policy"
Index ¶
- func DefaultCRIMounts() []oci.Mount
- func DefaultCRIPrivilegedMounts() []oci.Mount
- func ExtendPolicyWithNetworkingMounts(sandboxID string, enforcer securitypolicy.SecurityPolicyEnforcer, spec *oci.Spec) error
Functions ¶
func DefaultCRIMounts ¶
DefaultCRIMounts returns default mounts added to linux spec by containerD.
func DefaultCRIPrivilegedMounts ¶
DefaultCRIPrivilegedMounts returns a slice of mounts which are added to the linux container spec when a container runs in a privileged mode.
func ExtendPolicyWithNetworkingMounts ¶
func ExtendPolicyWithNetworkingMounts(sandboxID string, enforcer securitypolicy.SecurityPolicyEnforcer, spec *oci.Spec) error
Source Files ¶
- Version
- v0.12.9 (latest)
- Published
- Oct 30, 2024
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 15 hours ago –
Tools for package owners.