Signed-off-by: Chengfei Shang <cfshang@alauda.io>
| ... | ... |
@@ -1140,7 +1140,7 @@ func (s *DockerSuite) TestRunSeccompDefaultProfileNS(c *check.C) {
|
| 1140 | 1140 |
} |
| 1141 | 1141 |
|
| 1142 | 1142 |
// TestRunNoNewPrivSetuid checks that --security-opt='no-new-privileges=true' prevents |
| 1143 |
-// effective uid transtions on executing setuid binaries. |
|
| 1143 |
+// effective uid transitions on executing setuid binaries. |
|
| 1144 | 1144 |
func (s *DockerSuite) TestRunNoNewPrivSetuid(c *check.C) {
|
| 1145 | 1145 |
testRequires(c, DaemonIsLinux, NotUserNamespace, SameHostDaemon) |
| 1146 | 1146 |
ensureNNPTest(c) |
| ... | ... |
@@ -1153,7 +1153,7 @@ func (s *DockerSuite) TestRunNoNewPrivSetuid(c *check.C) {
|
| 1153 | 1153 |
} |
| 1154 | 1154 |
|
| 1155 | 1155 |
// TestLegacyRunNoNewPrivSetuid checks that --security-opt=no-new-privileges prevents |
| 1156 |
-// effective uid transtions on executing setuid binaries. |
|
| 1156 |
+// effective uid transitions on executing setuid binaries. |
|
| 1157 | 1157 |
func (s *DockerSuite) TestLegacyRunNoNewPrivSetuid(c *check.C) {
|
| 1158 | 1158 |
testRequires(c, DaemonIsLinux, NotUserNamespace, SameHostDaemon) |
| 1159 | 1159 |
ensureNNPTest(c) |