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/sessdir.go | |
| parent | 51c51c16bf4839940124695fbee65c152f6d29c5 (diff) | |
| download | buth-b57a199eb44dff5af3bdb7866b818544e1d270ee.zip | |
authfs: implement Rclunk and Ropen
Diffstat (limited to 'back/cmd/authfs/sessdir.go')
| -rw-r--r-- | back/cmd/authfs/sessdir.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/back/cmd/authfs/sessdir.go b/back/cmd/authfs/sessdir.go index eafc92f..22d8202 100644 --- a/back/cmd/authfs/sessdir.go +++ b/back/cmd/authfs/sessdir.go @@ -72,3 +72,10 @@ func (dir *SessionsDir) Qid() (p9.QID, error) { Path: sessionsQidPath, }, nil } + +func (dir *SessionsDir) Open(mode p9.Mode) error { + if mode&(p9.OEXEC|p9.OTRUNC|p9.ORCLOSE) != 0 { + return ErrPerm + } + return nil +} |