Correct hostinet receive flag handling
Accept and discard Linux-inert send-only flags on hostinet receive calls, add native and runsc syscall coverage, and bind the resulting immutable runtime build.
This commit is contained in:
parent
394fb65c86
commit
b240bc1d12
1 changed files with 88 additions and 9 deletions
|
|
@ -407,7 +407,7 @@ class VerificationTests(unittest.TestCase):
|
|||
)
|
||||
|
||||
def test_runsc_materializer_and_install_identity_are_exact(self) -> None:
|
||||
build_id = "5b441d02d40792cfe228b294fb688a80cf6161fb6876d49ef03138618ae2562e"
|
||||
build_id = "34ed2f67fc55ef97a0b1755b4a94ed682f6aae57a41ce27eceb66ea366185ca7"
|
||||
materializer = (ROOT / "tools/materialize-runsc").read_text()
|
||||
installer = (ROOT / "tools/install-to-host").read_text()
|
||||
runtime = (ROOT / "crates/lazaret-runtime-supervisor/src/sandbox.rs").read_text()
|
||||
|
|
@ -438,6 +438,9 @@ class VerificationTests(unittest.TestCase):
|
|||
/ "patches/gvisor-9f8f6c917-per-description-file-handles.patch"
|
||||
).is_file()
|
||||
)
|
||||
self.assertTrue(
|
||||
(ROOT / "patches/gvisor-9f8f6c917-hostinet-recv-flags.patch").is_file()
|
||||
)
|
||||
self.assertTrue(
|
||||
(ROOT / "patches/gvisor-9f8f6c917-MODULE.bazel.lock").is_file()
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue