1 /**
2  * The unveil() system call removes visibility of the entire
3  * filesystem from all other filesystem-related system calls,
4  * except for the specified paths and permissions.
5  */
6 
7 module openbsd.unveil;
8 
9 version (OpenBSD):
10 extern (C):
11 nothrow:
12 @nogc:
13 
14 /**
15  * unveil parts of a restricted filesystem view
16  * Return values: 0 for success, -1 for failure
17  */
18 int unveil(const char *path, const char *permissions);