WEFT_OS/crates/weft-pack
Marco Allegretti 181aa0fefa
fix(pack): copy packages by directory descriptor so swapped links cannot redirect the copy
Checking each file's device and inode against a path-based listing still
followed a directory replaced by a link after it was listed. The copy now
holds each source directory open and opens its entries relative to it
with O_NOFOLLOW, checking type, device and inode against the listing.
Only real packages in other stores keep an owner record, the store list
is deduplicated, archive names must be valid app IDs, and the help text
is wrapped.
2026-10-09 14:17:09 +00:00
..
src fix(pack): copy packages by directory descriptor so swapped links cannot redirect the copy 2026-10-09 14:17:09 +00:00
Cargo.toml fix(pack): copy packages by directory descriptor so swapped links cannot redirect the copy 2026-10-09 14:17:09 +00:00