But a prctl like NO_NEW_PRIVS would be better, since it could avoid an intermediary namespace that is needed for the namespace-aware sysctl.
18 karma · joined August 1, 2024
But a prctl like NO_NEW_PRIVS would be better, since it could avoid an intermediary namespace that is needed for the namespace-aware sysctl.
More performant would be a noMMU variant of UML for Windows, supporting only PIE executables, similar to nabla-linux [1]. This is also quite similar to how mssql for Linux works NT kernel+Win32 in a single usermode process (single address space) [2]. Interestingly, mssql also uses memory protection keys to recover a bit of fault tolerance but last time I checked Win32 does not have an API for MPKs.
However, this may still be constrained by OEMs restricting access to AVF or by battery enhancements that make it virtually unusable.
Complying with this new regulation and bumping the Linux kernel version during the device life cycle was also a topic at this year's Linux Plumbers Android MC. [2][3]. This is necessary because the Linux LTS support timeframe is shorter than the by law mandated minimum support period of 5 years.
[0] https://news.ycombinator.com/item?id=41128358
[1] https://eur-lex.europa.eu/eli/reg/2023/1670/oj
[2] https://youtu.be/b9xXCNYMWjY?si=yxDJUbJHko8HvFTA&t=458
[3] https://lpc.events/event/18/contributions/1740/attachments/1...
IANAL but my interpretation of rule is: if you buy from a first-party seller, you should receive an update for at least five years, starting on the day you bought the device.
From 20 June 2025, de jure all smartphones sold in the EU must come with at least *five years* of updates.
Also the security updates must be made available to users within four months of them being fixed by the upstream project:
>security updates or corrective updates mentioned under point (a) need to be available to the user at the latest 4 months after the public release of the source code of an update of the underlying operating system or, if the source code is not publicly released, after an update of the same operating system is released by the operating system provider or on any other product of the same brand https://eur-lex.europa.eu/eli/reg/2023/1670/oj