GNU bug report logs -
#31709
27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Mon, 4 Jun 2018 11:31:02 UTC
Severity: wishlist
Tags: wontfix
Found in version 27.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 31709 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> Which functionality? to load a file whose name is fixed in the
> sources?
Yes.
> Having a fixed file name in Emacs that is loaded by an external signal
> would be a terrible security risk, no?
Well... Would it? I mean, the file would be something like
~/.emacs.d/sigusr1.el or something. To send a signal to the Emacs
process you either have to be the user or root, and if you're the user
or root, you already have all the access to the process that you need to
do, well, anything. Like it was pointed out here earlier, doing the
"make a running Emacs without a server do something" can be achieved
through gdb magic.
It's just something that's very finicky, and loading a file instead
would be something that a normal user could do.
So: The same attack surface that we already have, but a feature that
would be usable for a normal user.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 5 years and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.