22.0.0: Difference between revisions

No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The Switch 22.0.0 system update was released on March 17, 2026 (UTC). This Switch update was released for the following regions: ALL.
The Switch 22.0.0 system update was released on March 17, 2026 (UTC). This Switch update was released for the following regions: ALL.


Security flaws fixed: <fill this in manually>.
Security flaws fixed: yes.
 
As of roughly March 31 - April 2, 2026 (UTC), this sysupdate is now required by dauth.  


==Change-log==
==Change-log==
Line 209: Line 211:


==== Kernel ====
==== Kernel ====
* Compiler update (Clang 20?)
* KProcess::Run() and CreateThread() SVC now write the current thread handle to [[Thread_Local_Region|TLS+0x110]]
* Changes in and surrounding page table logic:
* Changes in and surrounding page table logic:
** KPageTableBase::LockForMapDeviceAddressSpace now checks for a new KPageTableBase boolean, m_allowed_exec_device_mapping, and decides between KMemoryPermission_None and KMemoryPermission_UserExecute for the permission mask value if the boolean is, respectively, set or not.
** KPageTableBase::LockForMapDeviceAddressSpace now checks for a new KPageTableBase boolean, m_allowed_exec_device_mapping, and decides between KMemoryPermission_None and KMemoryPermission_UserExecute for the permission mask value if the boolean is, respectively, set or not.
Line 217: Line 221:
A new NSO compression method was introduced.
A new NSO compression method was introduced.


This appears to be a custom variant of zstd and is used when NSO [[NSO0#Flags|flags]] have bit 7 set.
This is a customized variant of zstd and is used when NSO [[NSO0#Flags|flags]] have bit 7 set.
* ZSTD_MAGICNUMBER is set to 0x4349425A (b'ZBIC') instead of standard 0xFD2FB528
* ZSTD_LEGACY_SUPPORT is set to 0
* ZSTD_TRACE is set to 1, the version of zstd used is 1.5.7 (ZSTD_VERSION_NUMBER = 10507)
* FSE_readNCount is replaced with a BIC (Binary Interpolative Coding) version which improves compression of entropy tables significantly


=== [[NFC_services|nfc]] ===
=== [[NFC_services|nfc]] ===