]> git.eshelyaron.com Git - emacs.git/commit
Fix some more problems with running Emacs as untrusted
authorPo Lu <luangruo@yahoo.com>
Wed, 7 Dec 2022 11:19:34 +0000 (19:19 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 7 Dec 2022 11:19:46 +0000 (19:19 +0800)
commit78efe08c0706c2719cb12c7fcd1c8f47386d7b15
tree6b986396ed9a664dfc72a5ebf9f77e5d20bb9073
parent82849f9a20bcc043b23c59905044b7f69d8f54a1
Fix some more problems with running Emacs as untrusted

* etc/PROBLEMS (X security problems): Describe new variable.
* src/xfns.c (append_wm_protocols): Don't support ping when it
does not work.
* src/xterm.c (x_wm_supports_1): Don't support anything when
untrusted.
(x_term_init): Implement Vx_detect_server_trust.
(syms_of_xterm): New variable `x-detect-server-trust'.
* src/xterm.h (struct x_display_info): New field `untrusted'.
etc/PROBLEMS
src/xfns.c
src/xterm.c
src/xterm.h