forked from security/hakurei
helper/bwrap: ordered filesystem args
The argument builder was written based on the incorrect assumption that bwrap arguments are unordered. The argument builder is replaced in this commit to correct that mistake. Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
@@ -65,7 +65,7 @@ func (seal *appSeal) sharePulse() error {
|
||||
psi := path.Join(seal.shareLocal, "pulse")
|
||||
p := path.Join(seal.sys.runtime, "pulse", "native")
|
||||
seal.sys.link(ps, psi)
|
||||
seal.sys.bind(psi, p, true)
|
||||
seal.sys.bwrap.Bind(psi, p)
|
||||
seal.sys.setEnv(pulseServer, "unix:"+p)
|
||||
|
||||
// publish current user's pulse cookie for target user
|
||||
|
||||
Reference in New Issue
Block a user