aboutsummaryrefslogtreecommitdiffhomepage
path: root/dbus
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2024-12-26 16:36:03 +0900
committerOphestra <cat@gensokyo.uk>2024-12-26 16:36:03 +0900
commitdc579dc610e484e40b57951e8f82580c8b711eca (patch)
tree990bf3ae00c5e71ad180b7beecdf111fbed5f983 /dbus
parentade57c39af9895ccf4a2a47e6346bb0d6f3e81b1 (diff)
dbus/run: bind ldd entry absolute name
The ld.so entry has an absolute name. They are usually symlinks so binding path does not guarantee ld.so availability under its expected path in the mount namespace. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'dbus')
-rw-r--r--dbus/run.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/run.go b/dbus/run.go
index f648f008..1b85b12d 100644
--- a/dbus/run.go
+++ b/dbus/run.go
@@ -93,6 +93,9 @@ func (p *Proxy) Start(ready chan error, output io.Writer, sandbox bool) error {
if path.IsAbs(ent.Path) {
roBindTarget[path.Dir(ent.Path)] = struct{}{}
}
+ if path.IsAbs(ent.Name) {
+ roBindTarget[path.Dir(ent.Name)] = struct{}{}
+ }
}
// resolve upstream bus directories