wasm-micro-runtime/core/iwasm/libraries
Yage Hu 0b332d8987
Portably handle fd_advise on directory fd (#2875)
This commit adds a check to `fd_advise`.  If the fd is a directory,
return `ebadf`.  This brings iwasm in line with Wasmtime's behavior.
WASI folks have stated that fd_advise should not work on directories
as this is a Linux-specific behavior:
https://github.com/bytecodealliance/wasmtime/issues/6505#issuecomment-1574122949
2023-12-07 09:52:53 +08:00
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
lib-rats Attestation: Free JSON from the Wasm module heap (#2803) 2023-11-22 10:48:14 +08:00
lib-socket Enable WASI tests on Windows CI (#2699) 2023-11-06 19:24:06 +08:00
lib-wasi-threads Refactor stress tests to make them runnable in reactor mode (#2614) 2023-10-04 08:10:10 +08:00
libc-builtin Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
libc-emcc Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
libc-uvwasi Return uint32 from WASI functions (#2749) 2023-11-13 20:07:32 +08:00
libc-wasi Portably handle fd_advise on directory fd (#2875) 2023-12-07 09:52:53 +08:00
thread-mgr Grab cluster->lock when modifying exec_env->module_inst (#2685) 2023-11-09 18:56:02 +08:00
wasi-nn Remove module instance from hashmap in wasi_nn_destroy (#2613) 2023-10-03 08:33:11 +08:00