diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-03-14 16:35:16 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-03-14 16:35:16 -0400 |
| commit | b57a199eb44dff5af3bdb7866b818544e1d270ee (patch) | |
| tree | 0ee7df898e993a5075a04b337e088e08ce582073 /back/cmd/authfs/sess.go | |
| parent | 51c51c16bf4839940124695fbee65c152f6d29c5 (diff) | |
| download | buth-b57a199eb44dff5af3bdb7866b818544e1d270ee.zip | |
authfs: implement Rclunk and Ropen
Diffstat (limited to 'back/cmd/authfs/sess.go')
| -rw-r--r-- | back/cmd/authfs/sess.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/back/cmd/authfs/sess.go b/back/cmd/authfs/sess.go index 3d0cca3..ce45ae4 100644 --- a/back/cmd/authfs/sess.go +++ b/back/cmd/authfs/sess.go @@ -52,3 +52,10 @@ func (s *Session) Extend() bool { } func (s *Session) Qid() (p9.QID, error) { return s.qid, nil } + +func (s *Session) Open(mode p9.Mode) error { + if mode != p9.OREAD { + return ErrPerm + } + return nil +} |