package xenstore

  1. Overview
  2. Docs

Access control lists.

type perm =
  1. | NONE
  2. | READ
  3. | WRITE
  4. | RDWR
val char_of_perm : perm -> char
val perm_of_char : char -> perm option
type domid = int
type t = {
  1. owner : domid;
    (*

    domain which "owns", has full access

    *)
  2. other : perm;
    (*

    default permissions for all others...

    *)
  3. acl : (domid * perm) list;
    (*

    ... unless overridden in the ACL

    *)
}
val of_string : string -> t option
val to_string : t -> string
OCaml

Innovation. Community. Security.