Myrddin: Pledge

Summary

 pkg std =
      const pledge  : (promise : byte[:], epromise : byte[:] -> result(void, errno))
 ;;

Pledge invokes the pledge system call, dropping privileges for the current proces and its children.