Releases: euantorano/pledge.nim
Releases · euantorano/pledge.nim
v2.0.1
v2.0.0
Adds unveil(2)
support which can be used as follows:
unveil("/foo/bar", {Permission.Read, Permission.Write, Permission.Execute})
Passing an empty string and an empty set of promises is the same as unveil(NULL, NULL)
in C, disabling future calls to unveil
:
unveil("", {})
v1.1.0
Refactor to make the main pledge
call a macro. This means that the promise string is computed at compile time rather than run time.
1.0.2
Adding docs to readme. Signed-off-by: Euan Torano <[email protected]>