瀏覽代碼

fix code comment

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Jessica Frazelle 9 年之前
父節點
當前提交
b4c14a0bb8
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      daemon/execdriver/native/seccomp_default.go

+ 2 - 1
daemon/execdriver/native/seccomp_default.go

@@ -235,7 +235,8 @@ var defaultSeccompProfile = &configs.Seccomp{
 			Args:   []*configs.Arg{},
 		},
 		{
-			// Probably a bad idea to let containers restart
+			// Probably a bad idea to let containers restart a syscall.
+			// Possible seccomp bypass, see: https://code.google.com/p/chromium/issues/detail?id=408827.
 			Name:   "restart_syscall",
 			Action: configs.Errno,
 			Args:   []*configs.Arg{},