mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 18:58:30 +00:00
[WIP] Polyfill OpenBSD unveil for Linux (#490)
This commit is contained in:
parent
4f4889ddf7
commit
1c6b5c0acd
7 changed files with 258 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_CALLS_LANDLOCK_H_
|
||||
#define COSMOPOLITAN_LIBC_CALLS_LANDLOCK_H_
|
||||
|
||||
#define LANDLOCK_CREATE_RULESET_VERSION 0x0001ul
|
||||
|
||||
#define LANDLOCK_ACCESS_FS_EXECUTE 0x0001ul
|
||||
#define LANDLOCK_ACCESS_FS_WRITE_FILE 0x0002ul
|
||||
#define LANDLOCK_ACCESS_FS_READ_FILE 0x0004ul
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue