Skip to content

Janet bindings for Linux implementation of pledge and unveil

Notifications You must be signed in to change notification settings

bitcompost/janet-pledge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Janet bindings for Linux implementation of pledge and unveil

Linux pledge and unveil implementation taken from https://humungus.tedunangst.com/r/pledge
which is in turn distilled from https://github.com/jart/pledge

usage:
(pledge/unveil "/foo/bar" "rwx")           # to add alowed path and permissions
(pledge/unveil)                            # after the paths to lock and commit

(pledge/pledge "stdio exec rpath" "stdio") # pledge with execpromises
(pledge/pledge "stdio exec rpath")         # the execpromises argument is optional

About

Janet bindings for Linux implementation of pledge and unveil

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published