Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax permission for Deno.UnsafePointerView #15511

Open
sigmaSd opened this issue Aug 20, 2022 · 1 comment
Open

Relax permission for Deno.UnsafePointerView #15511

sigmaSd opened this issue Aug 20, 2022 · 1 comment
Labels
FFI Related to Foreign Function Interface APIs suggestion suggestions for new features (yet to be agreed)

Comments

@sigmaSd
Copy link
Contributor

sigmaSd commented Aug 20, 2022

Currently for ffi I can limit --allow--ffi to a specific library using --allow-ffi=lib but if my code uses Deno.UnsafePointerView deno requires using --allow-ffi (with no path)

This makes it impossible to limit ffi usage to certain libraries.

@littledivy littledivy added suggestion suggestions for new features (yet to be agreed) FFI Related to Foreign Function Interface APIs labels Aug 21, 2022
@sigmaSd
Copy link
Contributor Author

sigmaSd commented Nov 22, 2022

The same issue with Deno.UnsafePointer.of()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FFI Related to Foreign Function Interface APIs suggestion suggestions for new features (yet to be agreed)
Projects
None yet
Development

No branches or pull requests

2 participants