提交 c3e5c5b7 编写于 作者: jia zhang's avatar jia zhang

rune/libcontainer: Set the mode of sgx device to 0666

This is a regular setting.
Signed-off-by: jia zhang's avatarJia Zhang <zhang.jia@linux.alibaba.com>
上级 0333142e
...@@ -180,7 +180,7 @@ func Example() *specs.Spec { ...@@ -180,7 +180,7 @@ func Example() *specs.Spec {
Source: "/run/aesmd", Source: "/run/aesmd",
Options: []string{"rbind", "rprivate"}, Options: []string{"rbind", "rprivate"},
}) })
var mode os.FileMode = 0644 var mode os.FileMode = 0666
spec.Linux.Devices = append(spec.Linux.Devices, spec.Linux.Devices = append(spec.Linux.Devices,
specs.LinuxDevice{ specs.LinuxDevice{
Path: "/dev/isgx", Path: "/dev/isgx",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册