diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-18 18:47:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-18 18:47:48 +0900 |
| commit | e0f321b2c4eafba27a93fce93f444b62822c74db (patch) | |
| tree | 95a9517462a53902b71ecbfa8b0ec5d50c080195 /internal/app/share.go | |
| parent | 2c9c7fee5b42d8f32be9ff55ad92345ae62c0af7 (diff) | |
sys: rename from linux
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/share.go')
| -rw-r--r-- | internal/app/share.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/app/share.go b/internal/app/share.go index f3c6b5b7..bb244c83 100644 --- a/internal/app/share.go +++ b/internal/app/share.go @@ -11,7 +11,7 @@ import ( "git.gensokyo.uk/security/fortify/dbus" "git.gensokyo.uk/security/fortify/fst" "git.gensokyo.uk/security/fortify/internal/fmsg" - "git.gensokyo.uk/security/fortify/internal/linux" + "git.gensokyo.uk/security/fortify/internal/sys" "git.gensokyo.uk/security/fortify/system" "git.gensokyo.uk/security/fortify/wl" ) @@ -43,7 +43,7 @@ var ( ErrPulseMode = errors.New("unexpected pulse socket mode") ) -func (seal *appSeal) setupShares(bus [2]*dbus.Config, os linux.System) error { +func (seal *appSeal) setupShares(bus [2]*dbus.Config, os sys.State) error { if seal.shared { panic("seal shared twice") } @@ -300,7 +300,7 @@ func (seal *appSeal) setupShares(bus [2]*dbus.Config, os linux.System) error { } // discoverPulseCookie attempts various standard methods to discover the current user's PulseAudio authentication cookie -func discoverPulseCookie(os linux.System) (string, error) { +func discoverPulseCookie(os sys.State) (string, error) { if p, ok := os.LookupEnv(pulseCookie); ok { return p, nil } |
