Skip to content

Don't pre-check capabilities in openat.#130

Merged
sunfishcode merged 1 commit intomasterfrom
optimize-openat
Nov 10, 2019
Merged

Don't pre-check capabilities in openat.#130
sunfishcode merged 1 commit intomasterfrom
optimize-openat

Conversation

@sunfishcode
Copy link
Copy Markdown
Member

Rely on the WASI implementation to check capabilities flags, rather
than also checking them in the userspace openat implementation.

This code is admittedly getting fairly dense with #ifdefs, so it
may soon make sense to move this file out of the cloudlibc
directory and removing the upstream change markers.

Rely on the WASI implementation to check capabilities flags, rather
than also checking them in the userspace `openat` implementation.

This code is admittedly getting fairly dense with `#ifdef`s, so it
may soon make sense to move this file out of the `cloudlibc`
directory and removing the upstream change markers.
@sunfishcode sunfishcode merged commit deb8eae into master Nov 10, 2019
@sunfishcode sunfishcode deleted the optimize-openat branch November 10, 2019 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants