[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finalizing 'inhibit-automatic-native-compilation'
From: |
Andrea Corallo |
Subject: |
Re: Finalizing 'inhibit-automatic-native-compilation' |
Date: |
Tue, 14 Feb 2023 08:56:05 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Mmmh, we already use the `make-temp-file' machinery anyway for every
>> compilation, but to understand if this is sufficient or doesn't help at
>> all, I should understand more on why using `temporary-file-directory' is
>> dangerous and in which context.
>
> `temporary-file-directory' may point to a world-writable directory, so
> it's vulnerable to the usual race condition where someone manages to
> predict the name of the file you're going to write and places there
> a symlink to some "interesting" place, so you end up overwriting some
> other file unwittingly.
Okay thanks for the explaination, should be easy to handle then, I'll
try to implement it as soon as I've a bit of time.
Andrea
- Re: Finalizing 'inhibit-automatic-native-compilation', (continued)
- Re: Finalizing 'inhibit-automatic-native-compilation', Stefan Monnier, 2023/02/13
- Re: Finalizing 'inhibit-automatic-native-compilation', Andrea Corallo, 2023/02/13
- Re: Finalizing 'inhibit-automatic-native-compilation', Stefan Monnier, 2023/02/13
- Re: Finalizing 'inhibit-automatic-native-compilation', Andrea Corallo, 2023/02/13
- Re: Finalizing 'inhibit-automatic-native-compilation', Stefan Monnier, 2023/02/13
- Re: Finalizing 'inhibit-automatic-native-compilation',
Andrea Corallo <=
- Re: Finalizing 'inhibit-automatic-native-compilation', Andrea Corallo, 2023/02/14
- Re: Finalizing 'inhibit-automatic-native-compilation', Eli Zaretskii, 2023/02/13
- Re: Finalizing 'inhibit-automatic-native-compilation', Stefan Monnier, 2023/02/13
- Re: Finalizing 'inhibit-automatic-native-compilation', Andrea Corallo, 2023/02/14
- Re: Finalizing 'inhibit-automatic-native-compilation', Eli Zaretskii, 2023/02/14
- Re: Finalizing 'inhibit-automatic-native-compilation', Stefan Monnier, 2023/02/14