Skip to content

Releases: euantorano/pledge.nim

v2.0.1

Choose a tag to compare

@euantorano euantorano released this 21 Jan 22:38
v2.0.1
6dd1e54

Minor cleanup, tests updated to use Nim v1.

v2.0.0

Choose a tag to compare

@euantorano euantorano released this 30 Sep 20:52
5935629

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

Choose a tag to compare

@euantorano euantorano released this 18 Sep 19:45

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

Choose a tag to compare

@euantorano euantorano released this 16 Jun 16:34
Adding docs to readme.

Signed-off-by: Euan Torano <euantorano@gmail.com>