rvolosatovs opened issue #6446:
Feature
Both standalone
preview1
adapter and the "embedded" preview1->preview2 translation layer should implement preview1 rights handling.
Refs https://github.com/bytecodealliance/wasmtime/pull/6440#discussion_r1202991271
Refs https://github.com/bytecodealliance/wasmtime/issues/6370Benefit
Full preview1 functionality without breaking users and/or panicking at runtime
Implementation
Mimic what preview1 already does and implement
fd_fdstat_set_rights
in both adaptersAlternatives
None really IMO
pchickey commented on issue #6446:
We have decided that the rights system is a failed experiment, and I ripped out the support in the legacy code in order to make our test suite consistent across the old and new implementations: https://github.com/bytecodealliance/wasmtime/pull/6265
The adapters should just no-op on the calls to set_rights, and the rights flags are only used to determine the read and write oflags in path_open.
pchickey closed issue #6446:
Feature
Both standalone
preview1
adapter and the "embedded" preview1->preview2 translation layer should implement preview1 rights handling.
Refs https://github.com/bytecodealliance/wasmtime/pull/6440#discussion_r1202991271
Refs https://github.com/bytecodealliance/wasmtime/issues/6370Benefit
Full preview1 functionality without breaking users and/or panicking at runtime
Implementation
Mimic what preview1 already does and implement
fd_fdstat_set_rights
in both adaptersAlternatives
None really IMO
Last updated: Dec 23 2024 at 13:07 UTC