mounttablelib: correct limit enforcement

- when reading from the log, we were always debiting against the server id, not
  the actual user.  Hence we hit the allocation limit for the server.
- we now debit against the correct user when replaying the log.  We also don't
  enforce limits during replay.

The code has been changed to pass a callContext that includes security information.
This has the added advantage of avoiding a lot of redundant crypto that was
happening whenever we looked at remote blessings.

Change-Id: I9847e51164495985b37fb643c0b599f39243d925
3 files changed
tree: adf8160fea5b8eaa33ab9b939fb4ff442fee1cd7
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTORS
  11. envvar.go
  12. envvar_test.go
  13. LICENSE
  14. PATENTS
  15. README.md
  16. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.