Files
davey e637d109f5 core signatures: trust the cores already installed, once
With the load check built in, the first run with a store that was never
seeded hashes every core in the platform's built-in cores folder, a
read or a folder entry at a time within the per-frame I/O window, and
trusts each one, up to the store's 256 trusted hashes. Only what
lstat() calls a regular file is seeded, so a symlink in the folder
can't bring in a file that lives elsewhere; a hardlink's bytes are the
folder's own. On Android the seed walks <ApplicationInfo.dataDir>/cores,
which no intent extra moves, rather than the default core folder, which
follows the DATADIR extra; when ApplicationInfo can't be read the seed
doesn't run that launch.

The store is marked seeded once the walk finishes or the folder doesn't
exist. A seed cut short at quit, or a folder that is there but can't be
opened, is seeded at a later start. If trust was recorded for at least
one core, a notice says once that cores are now checked.
2026-11-16 07:12:20 +01:00
..
2017-12-12 00:24:18 -08:00
2026-10-08 19:05:51 +03:00