[WIP] Polyfill OpenBSD unveil for Linux (#490)

This commit is contained in:
Stephen Gregoratto 2022-07-18 19:12:42 +10:00 committed by GitHub
parent 4f4889ddf7
commit 1c6b5c0acd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 258 additions and 0 deletions

View file

@ -111,6 +111,7 @@ u32 sys_geteuid(void) hidden;
u32 sys_getgid(void) hidden;
u32 sys_getuid(void) hidden;
u32 sys_umask(u32) hidden;
i32 sys_unveil(const char *, const char *) hidden;
void *__sys_mmap(void *, u64, u32, u32, i64, i64, i64) hidden;
void *sys_mremap(void *, u64, u64, i32, void *) hidden;
void sys_exit(int) hidden;