Compare commits

..

2 Commits

Author SHA1 Message Date
ff68d4f36b
helper/bwrap: append --sync-fd before --
All checks were successful
Build / Create distribution (push) Successful in 1m24s
Test / Run NixOS test (push) Successful in 3m27s
Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-01-18 12:30:03 +09:00
e2048547f6
proc/priv/init: early init check
All checks were successful
Build / Create distribution (push) Successful in 1m24s
Test / Run NixOS test (push) Successful in 3m28s
Signed-off-by: Ophestra <cat@gensokyo.uk>
2025-01-18 12:23:07 +09:00

View File

@ -131,7 +131,7 @@ func Main() {
innerInit = path.Join(innerSbin, "init") innerInit = path.Join(innerSbin, "init")
) )
conf.Bind(proc.MustExecutable(), innerFortify) conf.Bind(proc.MustExecutable(), innerFortify)
conf.Symlink("fortify", innerInit) conf.Symlink(innerFortify, innerInit)
helper.BubblewrapName = payload.Exec[0] // resolved bwrap path by parent helper.BubblewrapName = payload.Exec[0] // resolved bwrap path by parent
if b, err := helper.NewBwrap(conf, nil, innerInit, if b, err := helper.NewBwrap(conf, nil, innerInit,