diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 19:39:25 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-12-18 19:39:25 +0900 |
| commit | 52f21a19f3230e62387bebb88d45d51b6375ac8d (patch) | |
| tree | 1f01bbab001c62ec3b2e1047ef9dbe2a072ea568 /internal | |
| parent | 7be53a24382fd8168da0bad34274343de0bfe76b (diff) | |
cmd/fshim: switch to setup pipe
The socket-based approach is no longer necessary as fsu allows extra files and sudo compatibility is no longer relevant.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/app/start.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/app/start.go b/internal/app/start.go index 91864510..1ebc94f8 100644 --- a/internal/app/start.go +++ b/internal/app/start.go @@ -4,7 +4,6 @@ import ( "errors" "fmt" "os/exec" - "path" "path/filepath" "strings" @@ -46,7 +45,6 @@ func (a *app) Start() error { uint32(a.seal.sys.UID()), a.seal.sys.user.as, a.seal.sys.user.supp, - path.Join(a.seal.share, "shim"), &shim0.Payload{ Argv: a.seal.command, Exec: shimExec, @@ -252,12 +250,6 @@ func (a *app) Wait() (int, error) { } } - if a.shim.Unwrap() == nil { - fmsg.VPrintln("fault before shim start") - } else { - a.shim.AbortWait(errors.New("shim exited")) - } - if a.seal.sys.needRevert { if err := a.seal.sys.Revert(ec); err != nil { return err.(RevertCompoundError) |
