WEFT_OS/crates/weft-pack
Marco Allegretti c64ee531ee
fix(pack): take the app ID from the staged copy and check copied file identity
The app ID now comes from the staged copy, so a source changed after
validation cannot steer paths outside the store or the owners directory,
and lock_owner refuses invalid IDs. Copied files must keep the device and
inode they were listed with, and are opened without following links or
blocking on FIFOs, which no longer depends on /proc. Uninstall keeps an
owner record while another known store holds the package, and a failure
to inspect app data refuses rather than counting as no data.
2026-10-09 14:13:18 +00:00
..
src fix(pack): take the app ID from the staged copy and check copied file identity 2026-10-09 14:13:18 +00:00
Cargo.toml fix(pack): take the app ID from the staged copy and check copied file identity 2026-10-09 14:13:18 +00:00