[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66245: [PATCH] ; Silence macOS 14 warning
From: |
Gerd Möllmann |
Subject: |
bug#66245: [PATCH] ; Silence macOS 14 warning |
Date: |
Fri, 29 Sep 2023 12:11:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Kangas <stefankangas@gmail.com> writes:
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>
>>> Without this code, are we enabling malicious processes to escape the
>>> macOS sandbox, and gain the same privileges as the Emacs process?
>>
>> Well, not that drastically... From the release notes of macOS 12 Appkit
>> (we're now at 14).
>>
>> https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-12?changes=lat__5_3
>>
>> Restorable State
>>
>> To enable secure coding for a restorable state, implement
>> applicationSupportsSecureRestorableState(_:). When opted in:
>>
>> The system requires classes passed to restorationClass to
>> explicitly conform to NSWindowRestoration.
>>
>> ...
>>
>> I understand that as meaning that this switches on additional checks in
>> Appkit. That should be okay for Emacs because it doesn't use this
>> feature of Appkit, at least AFAIK.
>
> Thanks. IIUC, that seems to speak in favor of not making an emergency
> release of Emacs 29.2 at this point.
I agree. The new method would just enable "secure coding" for
restorable state on macOS < 14 (it's the default in 14), but since we're
not using this stuff to begin with, it's kind of pointless.
- bug#66245: [PATCH] ; Silence macOS 14 warning, (continued)
- bug#66245: [PATCH] ; Silence macOS 14 warning, Alan Third, 2023/09/28
- bug#66245: [PATCH] ; Silence macOS 14 warning, Eshel Yaron, 2023/09/28
- bug#66245: [PATCH] ; Silence macOS 14 warning, Alan Third, 2023/09/28
- bug#66245: [PATCH] ; Silence macOS 14 warning, Stefan Kangas, 2023/09/28
- bug#66245: [PATCH] ; Silence macOS 14 warning, Alan Third, 2023/09/28
- bug#66245: [PATCH] ; Silence macOS 14 warning, Yuan Fu, 2023/09/28
- bug#66245: [PATCH] ; Silence macOS 14 warning, Stefan Kangas, 2023/09/29
- bug#66245: [PATCH] ; Silence macOS 14 warning, Eli Zaretskii, 2023/09/29
- bug#66245: [PATCH] ; Silence macOS 14 warning, Gerd Möllmann, 2023/09/29
- bug#66245: [PATCH] ; Silence macOS 14 warning, Stefan Kangas, 2023/09/29
- bug#66245: [PATCH] ; Silence macOS 14 warning,
Gerd Möllmann <=
- bug#66245: [PATCH] ; Silence macOS 14 warning, Alan Third, 2023/09/29
- bug#66245: [PATCH] ; Silence macOS 14 warning, Eli Zaretskii, 2023/09/29
bug#66245: [PATCH] ; Silence macOS 14 warning, Stefan Kangas, 2023/09/29