diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-23 03:24:37 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-23 03:24:37 +0900 |
| commit | eda4d612c2e64321766e1074a698caeae843102a (patch) | |
| tree | c492042ffd52930c8578884ec2800a25690bae3a /wl/conn.go | |
| parent | 2e7e16068372a0c0b42bd6b3da2433134c91a495 (diff) | |
fortify: keep external files alive
This should eliminate sporadic failures, like the known double close in "seccomp".
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'wl/conn.go')
| -rw-r--r-- | wl/conn.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -94,6 +94,7 @@ func bindRawConn(done chan struct{}, rc syscall.RawConn, p, appID, instanceID st // keep socket alive until done is requested <-done + runtime.KeepAlive(syncPipe[1].Fd()) }); err != nil { setupDone <- err } |
