Do not load ocid-default if configured apparmor profile is set up.
Signed-off-by: Xianglin Gao <xlgao@zju.edu.cn>
This commit is contained in:
parent
6977b3e88d
commit
ca7d5c77c2
4 changed files with 50 additions and 41 deletions
|
@ -7,8 +7,9 @@ func IsEnabled() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// LoadDefaultAppArmorProfile dose nothing, when build without apparmor build tag.
|
||||
func LoadDefaultAppArmorProfile() {
|
||||
// EnsureDefaultApparmorProfile dose nothing, when build without apparmor build tag.
|
||||
func EnsureDefaultApparmorProfile() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetProfileNameFromPodAnnotations dose nothing, when build without apparmor build tag.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue