summaryrefslogtreecommitdiff
path: root/x11-wm/xpra/files/xpra-4.2-suid-warning.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /x11-wm/xpra/files/xpra-4.2-suid-warning.patch
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'x11-wm/xpra/files/xpra-4.2-suid-warning.patch')
-rw-r--r--x11-wm/xpra/files/xpra-4.2-suid-warning.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/xpra/files/xpra-4.2-suid-warning.patch b/x11-wm/xpra/files/xpra-4.2-suid-warning.patch
new file mode 100644
index 000000000000..b1b2afb4e18b
--- /dev/null
+++ b/x11-wm/xpra/files/xpra-4.2-suid-warning.patch
@@ -0,0 +1,12 @@
+diff --color -Naur a/xpra/scripts/config.py b/xpra/scripts/config.py
+--- a/xpra/scripts/config.py 2021-05-19 16:18:30.475153200 +0100
++++ b/xpra/scripts/config.py 2021-05-30 08:50:42.326953006 +0100
+@@ -159,7 +159,7 @@
+ if (xorg_stat.st_mode & stat.S_ISUID)!=0:
+ if (xorg_stat.st_mode & stat.S_IROTH)==0:
+ if warn_fn:
+- warn_fn("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
++ debug("%s is suid and not readable, Xdummy support unavailable" % xorg_bin)
+ return get_Xvfb_command()
+ debug("%s is suid and readable, using the xpra_Xdummy wrapper" % xorg_bin)
+ use_wrapper = True