diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-03-24 15:28:25 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-03-24 16:03:07 +0900 |
| commit | ad3576c16467d8b36452307b005b6af0d0f0f9d2 (patch) | |
| tree | 6db4bcd2590ac4054fe51b9f955490a2402fb9fd /sandbox/container_test.go | |
| parent | b989a4601a386561103715187fde9400ad5b4e72 (diff) | |
sandbox: resolve tty name
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/container_test.go')
| -rw-r--r-- | sandbox/container_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sandbox/container_test.go b/sandbox/container_test.go index f6e6562d..f3d08543 100644 --- a/sandbox/container_test.go +++ b/sandbox/container_test.go @@ -57,12 +57,12 @@ func TestContainer(t *testing.T) { Mqueue("/dev/mqueue"), []*vfs.MountInfoEntry{ e("/", "/dev", "rw,nosuid,nodev,relatime", "tmpfs", "devtmpfs", ignore), - e("/null", "/dev/null", "ro,nosuid", "devtmpfs", "devtmpfs", ignore), - e("/zero", "/dev/zero", "ro,nosuid", "devtmpfs", "devtmpfs", ignore), - e("/full", "/dev/full", "ro,nosuid", "devtmpfs", "devtmpfs", ignore), - e("/random", "/dev/random", "ro,nosuid", "devtmpfs", "devtmpfs", ignore), - e("/urandom", "/dev/urandom", "ro,nosuid", "devtmpfs", "devtmpfs", ignore), - e("/tty", "/dev/tty", "ro,nosuid", "devtmpfs", "devtmpfs", ignore), + e("/null", "/dev/null", "rw,nosuid", "devtmpfs", "devtmpfs", ignore), + e("/zero", "/dev/zero", "rw,nosuid", "devtmpfs", "devtmpfs", ignore), + e("/full", "/dev/full", "rw,nosuid", "devtmpfs", "devtmpfs", ignore), + e("/random", "/dev/random", "rw,nosuid", "devtmpfs", "devtmpfs", ignore), + e("/urandom", "/dev/urandom", "rw,nosuid", "devtmpfs", "devtmpfs", ignore), + e("/tty", "/dev/tty", "rw,nosuid", "devtmpfs", "devtmpfs", ignore), e("/", "/dev/pts", "rw,nosuid,noexec,relatime", "devpts", "devpts", "rw,mode=620,ptmxmode=666"), e("/", "/dev/mqueue", "rw,nosuid,nodev,noexec,relatime", "mqueue", "mqueue", "rw"), }, ""}, |
