Skip to content

Commit

Permalink
CP-45981: Use pass_fds when calling clipboardd
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Cheng <stephen.cheng@cloud.com>
  • Loading branch information
stephenchengCloud committed Dec 11, 2023
1 parent 3249c59 commit 44b3c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xenopsd/scripts/qemu-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def main(argv):

clipboardd = '/opt/xensource/libexec/xs-clipboardd'
subprocess.call([clipboardd, "-d", str(domid), "-s", str(s2.fileno())],
preexec_fn=close_fds)
pass_fds=[s2.fileno()])

s2.close()

Expand Down

0 comments on commit 44b3c0c

Please sign in to comment.