| 1 | package rsynctestscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/rsynctest`/ |
| 2 | |
| 3 | import ( |
| 4 | "osscip-go gomod github.com/golang/go/src go1.25.0 os/" |
| 5 | |
| 6 | "github.com/gokrazy/rsync/internal/restrictscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/restrict`/" |
| 7 | "github.com/landlock-lsm/go-landlock/landlockscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/" |
| 8 | ) |
| 9 | |
| 10 | func initscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/rsynctest`/init().() { |
| 11 | restrictscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/restrict`/.ExtraHookscip-go gomod github.com/gokrazy/rsync . `github.com/gokrazy/rsync/internal/restrict`/ExtraHook. = func() []landlockscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/.Rulescip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/Rule# { |
| 12 | return []landlockscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/.Rulescip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/Rule#{ |
| 13 | // contains /usr/bin/rsync (and library deps) |
| 14 | landlockscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/.RODirsscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/RODirs().("/usr"), |
| 15 | landlockscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/.RODirsscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/RODirs().("/nix").IgnoreIfMissingscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/FSRule#IgnoreIfMissing().(), |
| 16 | |
| 17 | // for t.TempDir() |
| 18 | landlockscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/.RWDirsscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/RWDirs().(osscip-go gomod github.com/golang/go/src go1.25.0 os/.TempDirscip-go gomod github.com/golang/go/src go1.25.0 os/TempDir().()).WithReferscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/FSRule#WithRefer().(), |
| 19 | |
| 20 | // used in some of our test code |
| 21 | landlockscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/.RWFilesscip-go gomod github.com/landlock-lsm/go-landlock 1544bccde3a3 `github.com/landlock-lsm/go-landlock/landlock`/RWFiles().("/dev/null"), |
| 22 | } |
| 23 | } |
| 24 | } |