[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when gett
From: |
Lars Ingebrigtsen |
Subject: |
bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal? |
Date: |
Tue, 05 Jun 2018 17:21:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@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
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Lars Ingebrigtsen, 2018/06/04
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Marcin Borkowski, 2018/06/04
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, João Távora, 2018/06/04
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Eli Zaretskii, 2018/06/04
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Lars Ingebrigtsen, 2018/06/05
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Phil Sainty, 2018/06/05
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Phil Sainty, 2018/06/05
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Robert Pluim, 2018/06/05
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Phil Sainty, 2018/06/05
- bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal?, Phil Sainty, 2018/06/05