From 07b83c5db345d9dc0d4997c4775f5dfb157b3572 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 5 Apr 2019 15:09:14 -0700 Subject: [PATCH] Add __WASI_RIGHT_PATH_FILESTAT_SET_SIZE to RIGHTS_DIRECTORY_BASE. This is a new right not present in CloudABI, which is why the code previously didn't include it. --- wasmtime-wasi/sandboxed-system-primitives/src/rights.h | 1 + 1 file changed, 1 insertion(+) diff --git a/wasmtime-wasi/sandboxed-system-primitives/src/rights.h b/wasmtime-wasi/sandboxed-system-primitives/src/rights.h index 04dbc80c17..69349e45ca 100644 --- a/wasmtime-wasi/sandboxed-system-primitives/src/rights.h +++ b/wasmtime-wasi/sandboxed-system-primitives/src/rights.h @@ -47,6 +47,7 @@ __WASI_RIGHT_FD_READDIR | __WASI_RIGHT_PATH_READLINK | \ __WASI_RIGHT_PATH_RENAME_SOURCE | __WASI_RIGHT_PATH_RENAME_TARGET | \ __WASI_RIGHT_PATH_FILESTAT_GET | \ + __WASI_RIGHT_PATH_FILESTAT_SET_SIZE | \ __WASI_RIGHT_PATH_FILESTAT_SET_TIMES | \ __WASI_RIGHT_FD_FILESTAT_GET | __WASI_RIGHT_FD_FILESTAT_SET_TIMES | \ __WASI_RIGHT_PATH_SYMLINK | __WASI_RIGHT_PATH_UNLINK_FILE | \