diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-17 13:24:17 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-17 13:24:17 +0900 |
| commit | 3ae2ab652e9cd1d6250dbde8ae0f9b9fe90afc72 (patch) | |
| tree | 52b0cf50658f4a7ea8606db3174d4f250e6a3cad /internal/app/system.go | |
| parent | db71fbe22bea41e92b9a037a2b608a3350097f5f (diff) | |
system/wayland: sync file at caller specified address
Storing this in sys is incredibly ugly: sys should be stateless and Ops must keep track of their state.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/system.go')
| -rw-r--r-- | internal/app/system.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/app/system.go b/internal/app/system.go index 241eafa5..f11efc86 100644 --- a/internal/app/system.go +++ b/internal/app/system.go @@ -1,6 +1,8 @@ package app import ( + "os" + "git.gensokyo.uk/security/fortify/helper/bwrap" "git.gensokyo.uk/security/fortify/internal/system" ) @@ -8,6 +10,8 @@ import ( // appSealSys encapsulates app seal behaviour with OS interactions type appSealSys struct { bwrap *bwrap.Config + // bwrap sync fd + sp *os.File // paths to override by mounting tmpfs over them override []string |
