commit | bf9f0afd5fad541f74c398e965fc02fb8dd43d7c | [log] [tgz] |
---|---|---|
author | Asim Shankar <ashankar@google.com> | Fri May 08 13:45:40 2015 -0700 |
committer | Asim Shankar <ashankar@google.com> | Fri May 08 13:45:53 2015 -0700 |
tree | dd111a9541311525f2b0c01fa5a14713031de7ba | |
parent | 668350f5c2b8dbd43f320fb9bd3bec3ba40bf73f [diff] |
services/internal/pathperms: Fix synchronization. Bug detected by: go vet ./services/internal/pathperms which reported errors like: services/internal/pathperms/permsaccess.go:52: Get passes Lock by value: pathperms.PathStore contains sync.Mutex services/internal/pathperms/permsaccess.go:60: lockPath passes Lock by value: pathperms.PathStore contains sync.Mutex services/internal/pathperms/permsaccess.go:110: Set passes Lock by value: pathperms.PathStore contains sync.Mutex services/internal/pathperms/permsaccess.go:118: SetShareable passes Lock by value: pathperms.PathStore contains sync.Mutex services/internal/pathperms/permsaccess.go:190: PermsForPath passes Lock by value: pathperms.PathStore contains sync.Mutex Change-Id: I8dc76309ab19e265787d1af2c43817013c8fdb21
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.