Преглед изворни кода

daemon/config: rename the default seccomp profile to "builtin"

Using "default" as a name is a bit ambiguous, because the _daemon_ default
can be changed using the '--seccomp-profile' daemon flag.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn пре 3 година
родитељ
комит
ac449d6b5a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      daemon/config/config.go

+ 1 - 1
daemon/config/config.go

@@ -60,7 +60,7 @@ const (
 	LinuxV2RuntimeName = "io.containerd.runc.v2"
 	LinuxV2RuntimeName = "io.containerd.runc.v2"
 
 
 	// SeccompProfileDefault is the built-in default seccomp profile.
 	// SeccompProfileDefault is the built-in default seccomp profile.
-	SeccompProfileDefault = "default"
+	SeccompProfileDefault = "builtin"
 	// SeccompProfileUnconfined is a special profile name for seccomp to use an
 	// SeccompProfileUnconfined is a special profile name for seccomp to use an
 	// "unconfined" seccomp profile.
 	// "unconfined" seccomp profile.
 	SeccompProfileUnconfined = "unconfined"
 	SeccompProfileUnconfined = "unconfined"