diff options
author | Jakob Unterwurzacher | 2020-05-09 17:36:41 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2020-05-09 17:36:41 +0200 |
commit | 16221facb9066ccf03015ccfe9e7ca784b0d2099 (patch) | |
tree | 46abce23a8592542563deb463a98d4318deb24af /mount.go | |
parent | 3ef563493a9d0774513ec0d6aab4cfbc0f6334e5 (diff) |
ctlsock: create exported ctlsock client library
The former interal ctlsock server package is renamed
to ctlsocksrv.
Diffstat (limited to 'mount.go')
-rw-r--r-- | mount.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -29,7 +29,7 @@ import ( "github.com/rfjakob/gocryptfs/internal/configfile" "github.com/rfjakob/gocryptfs/internal/contentenc" "github.com/rfjakob/gocryptfs/internal/cryptocore" - "github.com/rfjakob/gocryptfs/internal/ctlsock" + "github.com/rfjakob/gocryptfs/internal/ctlsocksrv" "github.com/rfjakob/gocryptfs/internal/exitcodes" "github.com/rfjakob/gocryptfs/internal/fusefrontend" "github.com/rfjakob/gocryptfs/internal/fusefrontend_reverse" @@ -222,11 +222,11 @@ func setOpenFileLimit() { } } -// ctlsockFs satisfies both the pathfs.FileSystem and the ctlsock.Interface +// ctlsockFs satisfies both the pathfs.FileSystem and the ctlsocksrv.Interface // interfaces type ctlsockFs interface { pathfs.FileSystem - ctlsock.Interface + ctlsocksrv.Interface } // initFuseFrontend - initialize gocryptfs/fusefrontend @@ -331,7 +331,7 @@ func initFuseFrontend(args *argContainer) (pfs pathfs.FileSystem, wipeKeys func( // We have opened the socket early so that we cannot fail here after // asking the user for the password if args._ctlsockFd != nil { - go ctlsock.Serve(args._ctlsockFd, fs) + go ctlsocksrv.Serve(args._ctlsockFd, fs) } return fs, func() { cCore.Wipe() } } |