Skip to content

Commit

Permalink
chore: introduce failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nixpig committed Sep 14, 2024
1 parent 5a8496d commit 40af03c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion internal/commands/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func Create(opts *CreateOpts) error {
"/proc/self/exe",
[]string{
"fork",
opts.ID,
"some stupid id",
initSockAddr,
containerSockAddr,
}...)
Expand Down
18 changes: 9 additions & 9 deletions internal/filesystem/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ var defaultDevices = []specs.LinuxDevice{
UID: &defaultUID,
GID: &defaultGID,
},
// {
// Type: CharDevice,
// Path: "/dev/random",
// Major: 1,
// Minor: 8,
// FileMode: &defaultFileMode,
// UID: &defaultUID,
// GID: &defaultGID,
// },
{
Type: CharDevice,
Path: "/dev/random",
Major: 1,
Minor: 8,
FileMode: &defaultFileMode,
UID: &defaultUID,
GID: &defaultGID,
},
{
Type: CharDevice,
Path: "/dev/urandom",
Expand Down

0 comments on commit 40af03c

Please sign in to comment.