浏览代码

Merge pull request #18951 from jfrazelle/fix-code-comment

fix code comment
Vincent Demeester 9 年之前
父节点
当前提交
eb551baf6f
共有 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{},