diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-25 18:12:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-25 18:12:41 +0900 |
| commit | 39dc8e7bd8b07d1549185cc178fd3723797d3c74 (patch) | |
| tree | ae7b1efc842dfe563221b6c1dd59d54a4c95a215 /ldd/exec.go | |
| parent | 5a732d153efdcb77919e913384e72b1333e28597 (diff) | |
dbus: set process group id
This stops signals sent by the TTY driver from propagating to the xdg-dbus-proxy process.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'ldd/exec.go')
| -rw-r--r-- | ldd/exec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldd/exec.go b/ldd/exec.go index 4e5de479..3eb94931 100644 --- a/ldd/exec.go +++ b/ldd/exec.go @@ -29,7 +29,7 @@ func Exec(ctx context.Context, p string) ([]*Entry, error) { Syscall: &bwrap.SyscallPolicy{DenyDevel: true, Multiarch: true}, NewSession: true, DieWithParent: true, - }).Bind("/", "/").DevTmpfs("/dev"), toolPath, + }).Bind("/", "/").DevTmpfs("/dev"), toolPath, false, nil, func(_, _ int) []string { return []string{p} }, nil, nil, ); err != nil { |
