wasm-micro-runtime/core/shared/platform/common/posix
TianlongLiang 64b6c688a2
posix_file.c: Correct the dirfd argument that passes to fstatat (#3244)
This PR fixes the random failing test case `nofollow_errors` mentioned in
https://github.com/bytecodealliance/wasm-micro-runtime/issues/3222

```C
// dirfd: This is the file descriptor of the directory relative to which the pathname is interpreted. 
int openat(int dirfd, const char *pathname, int flags, ...);
```
The value should be a directory handle instead of a file handle (which is always -1 in this context)
returned from `openat`.
2024-03-22 10:55:39 +08:00
..
platform_api_posix.cmake shared-platform: Remove dependency on shared-utils' bh_memory_remap_slow (#3153) 2024-02-17 13:44:33 +08:00
posix_blocking_op.c Remove a lot of "unused parameter" warnings (#3075) 2024-01-24 11:21:13 +08:00
posix_clock.c Remove a lot of "unused parameter" warnings (#3075) 2024-01-24 11:21:13 +08:00
posix_file.c posix_file.c: Correct the dirfd argument that passes to fstatat (#3244) 2024-03-22 10:55:39 +08:00
posix_malloc.c Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
posix_memmap.c Refactor APIs and data structures as preliminary work for Memory64 (#3209) 2024-03-12 11:38:50 +08:00
posix_sleep.c Implement os_usleep for posix (#2517) 2023-09-01 12:10:54 +08:00
posix_socket.c Fix some issues reported by CodeQL (#3064) 2024-01-23 21:38:30 +08:00
posix_thread.c Fix AOT compilation on MacOS (#3102) 2024-01-31 20:06:22 +08:00
posix_time.c Enhancements on wasm function execution time statistic (#2985) 2024-01-17 09:51:54 +08:00