veyron/lib/glob: Indicate whether a name matches a glob pattern exactly.
ACL semantics for Glob are as follows:
- "a".Glob("*") includes "a/b" iff the principal has Read on "a".
- "a".Glob("b") includes "a/b" iff the principal has Resolve on "a" and any
access to "a/b".
Therefore, the glob library must reveal whether a name matches a glob pattern
exactly, or via an expansion (i.e. *, ?, character-class).
This commit updates match methods to reveal this information.
Change-Id: Ia0ffbb51e40918301672f2457c731fa1c335c1c2
8 files changed