bytecodealliance / bytecodealliance/rustix
Protection Keys Implementation?
Open
enhancement
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 294
- Avg merge
- 4h 7m
- Merged PRs (30d)
- 2
Description
pkey could be useful to implement in-proc sandboxes.
ref: https://man7.org/linux/man-pages/man7/pkeys.7.html
```c
int pkey_mprotect(size_t size;
void addr[size], size_t size, int prot, int pkey);
int pkey_alloc(unsigned int flags, unsigned int access_rights);
int pkey_free(int pkey);
```
Contributor guide
Assessment
This issue has not been assessed yet.