Skip to content

Commit

Permalink
fixed crun 1.8.1 support
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Chubatiuk <[email protected]>
  • Loading branch information
Andrii Chubatiuk committed Mar 22, 2023
1 parent 03d57ec commit baa5ab3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/oci/spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ func New(o ...Option) (*runtime.Spec, error) {
Options: []string{"nosuid", "strictatime", "mode=755", "size=65536k"},
},
{
Type: "sysfs",
Type: "bind",
Destination: "/sys",
Source: "sysfs",
Options: []string{"nosuid", "noexec", "nodev", "ro"},
Source: "/sys",
Options: []string{"rprivate", "nosuid", "noexec", "nodev", "ro", "rbind"},
},

{
Expand Down

0 comments on commit baa5ab3

Please sign in to comment.