sig
  type limit = Limit of int64 | Infinity
  type t = { cur : Unix_ext.RLimit.limit; max : Unix_ext.RLimit.limit; }
  type resource = CORE | CPU | DATA | FSIZE | NOFILE | STACK | AS
end