726 karma · joined Aug 7, 2016 (10y ago) · 153 submissions
5.
Free-threaded Python: past, present, and future(lwn.net ↗)
5 points · by zorgmonkey · 5mo ago · discuss
comment 5mo ago · link · parent
9.
Version-controlled databases using Prolly trees(lwn.net ↗)
2 points · by zorgmonkey · 6mo ago · discuss
comment 10mo ago · link · parent
So yes incorporating a separate secure element\TPM chip into a design is probably more secure, but ultimately the right call will always depend on your threat model.
comment 10mo ago · link · parent
> By default, the boot ROM will only consider bootloader entries with a version field that matches the version field of the first entry, and will stop iterating through the entries is a mismatch is found. The intent is to ensure that if some subset of the bootloader entries are upgraded, and hence the version field of their entries is modified, then the boot ROM will only boot the most recent version of the bootloader. This prevents an accidental rollback to an earlier version of the bootloader in the face of boot memory read errors, corruption, or tampering. Observe that this relies on upgraded bootloader entries being placed contiguously at the start of the array.
[0] https://http.download.nvidia.com/tegra-public-appnotes/tegra...
comment 10mo ago · link · parent
[0]: https://www.chromium.org/developers/design-documents/tpm-usa...
comment 12mo ago · link · parent
comment 1y ago · link · parent
Also in case that link stops working I got it from this page https://www.ntsb.gov/investigations/Pages/DCA26MA024.aspx
EDIT: nevermind immediately after posting this comment it is now giving a 403 error
comment 1y ago · link · parent
This actually caused some issues with rust in the kernel because moving large structs could cause you to run out the small amount of stack space availabe on kernel threads (they only allocate 8-16KB of stack compared to a typical 8MB for a userspace thread). The pinned-init crate is how they ended solving this [1].
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent