forked from WebAssembly/wasi-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore rights in libpreopen. (WebAssembly#129)
Don't ignore paths which don't have the required rights. This means that if the lookup finds a path that doesn't have the required rights, it'll just proceed to the actual operation which will fail with `ENOTCAPABLE`. Intuitively, use cases which would depend on having multiple overlapping matching paths for a given lookup and intelligently picking the one with the required rights seems like they should be uncommon. This is simpler overall, and requires less code.
- Loading branch information
1 parent
8c9e1c6
commit 54102f0
Showing
2 changed files
with
20 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters