[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45198: 28.0.50; Sandbox mode
From: |
João Távora |
Subject: |
bug#45198: 28.0.50; Sandbox mode |
Date: |
Sat, 19 Dec 2020 19:48:18 +0000 |
On Sat, Dec 19, 2020 at 6:47 PM Mattias Engdegård <mattiase@acm.org> wrote:
>
> 19 dec. 2020 kl. 19.11 skrev Stefan Monnier <monnier@iro.umontreal.ca>:
>
> > I must say I don't know what's being discussed here.
> > What autoloads? Why do we care?
>
> If a user looks at elisp code that depends on autoloads and the checker
> process cannot load those for reasons of sandbox policy or whatnot, there
> will be false positives about missing functions. This is fine if we are
> phasing out autoloads but as far as I know we're not.
It would have to depend on autoloads at compilation time. As far as
I can tell, that's not extremely common. It's quite more common
that things are `require`d and thus `load`ed at compilation time,
so if we block that, the Flymake compilation output becomes quite
useless in most cases, producing big single error in that first require.
Such things can and already do happen with processes that
have non-standard load-paths mechanisms, such as one of mine.
The only load-path that the Flymake currently sees is the current
directory's. I suppose extending that is possible (and it's been in my
plans). It's also possibly another "hazard", though one incurred in
consciously by the user, whom we may warn via the usual "unsafe
local variables" machinery.
João
- bug#45198: 28.0.50; Sandbox mode, (continued)
- bug#45198: 28.0.50; Sandbox mode, Stefan Monnier, 2020/12/14
- bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/14
- bug#45198: 28.0.50; Sandbox mode, Philipp Stephani, 2020/12/17
- bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/17
- bug#45198: 28.0.50; Sandbox mode, Philipp Stephani, 2020/12/18
- bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/18
- bug#45198: 28.0.50; Sandbox mode, Philipp Stephani, 2020/12/19
- bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/19
- bug#45198: 28.0.50; Sandbox mode, Stefan Monnier, 2020/12/19
- bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/19
- bug#45198: 28.0.50; Sandbox mode,
João Távora <=
- bug#45198: 28.0.50; Sandbox mode, Stefan Monnier, 2020/12/19
- bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/20
- bug#45198: 28.0.50; Sandbox mode, Stefan Monnier, 2020/12/20
- bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/20
- bug#45198: 28.0.50; Sandbox mode, Stefan Monnier, 2020/12/20
- bug#45198: 28.0.50; Sandbox mode, Philipp Stephani, 2020/12/22
- bug#45198: 28.0.50; Sandbox mode, Stefan Kangas, 2020/12/28
- bug#45198: 28.0.50; Sandbox mode, Philipp Stephani, 2020/12/29
bug#45198: 28.0.50; Sandbox mode, Mattias Engdegård, 2020/12/30