"veyron2": Principal in Runtime

Initialize a security.Principal in the runtime during rt.Init()
If the "VEYRON_CREDENTIALS" environment variable is set to a
directory then the principal gets intialized from the specified
directory and all subsequent mutations tp the principal's state
get saved to the directory. Otherwise, an in-memory principal
object is created.

It is okay for "VEYRON_CREDENTIALS" to point to an empty directory,
in which case a new principal object is created and then saved to
the directory.

Change-Id: I2558626a6ec8134d2b99c5a13e9a1182b3787923
9 files changed
tree: dbf201de64892fed15de1ab22881730d1b03f4cf
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/