瀏覽代碼

Merge pull request #17947 from Blaisorblade/patch-1

Replace now broken link with a "permalink"
James Turnbull 9 年之前
父節點
當前提交
ef6cb749f0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/articles/security.md

+ 1 - 1
docs/articles/security.md

@@ -197,7 +197,7 @@ to the host.
 This won't affect regular web apps; but malicious users will find that
 This won't affect regular web apps; but malicious users will find that
 the arsenal at their disposal has shrunk considerably! By default Docker
 the arsenal at their disposal has shrunk considerably! By default Docker
 drops all capabilities except [those
 drops all capabilities except [those
-needed](https://github.com/docker/docker/blob/master/daemon/execdriver/native/template/default_template.go),
+needed](https://github.com/docker/docker/blob/87de5fdd5972343a11847922e0f41d9898b5cff7/daemon/execdriver/native/template/default_template_linux.go#L16-L29),
 a whitelist instead of a blacklist approach. You can see a full list of
 a whitelist instead of a blacklist approach. You can see a full list of
 available capabilities in [Linux
 available capabilities in [Linux
 manpages](http://man7.org/linux/man-pages/man7/capabilities.7.html).
 manpages](http://man7.org/linux/man-pages/man7/capabilities.7.html).