You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ba75d01
Browse filesBrowse the repository at this point in the historyBrowse files
[Conflicts of the v6.1 rebase](#conflicts-of-the-v61-rebase), and
@@ -1954,6 +1956,7 @@ whose first 220 commits are those of `feature/microvm/release/v6.0`, and a v4.0
1954
1956
| 349 |`2a483a06f`| - | - | - | - | - | - | virtiofs: keep node names when renaming one hard link onto another (microsoft/openvmm#5215); fold into 048, its test into 166 |
1955
1957
| 350 |`189dc519f`| - | - | - | - | - | - | virtiofs: fail a synthetic root read too small for its next entry (microsoft/openvmm#5216) |
1956
1958
| 351 |`8bea555db`| - | - | - | - | - | - | virtiofs: skip gone or hidden entries in microVM READDIRPLUS (microsoft/openvmm#5217); fold into 083, its policy test into 160 |
1959
+
| 352 |`3aefff9ba`| - | - | - | - | - | - | virtiofs: refuse to link a node whose last name is gone (microsoft/openvmm#5218) |
1957
1960
1958
1961
The remarks that say whether commits apply to upstream main record what was found on upstream main
1959
1962
when each commit was mapped: the v3.0 reorganization's base, `b2676222b`, for the commits that it
@@ -1964,7 +1967,7 @@ and `c0694c4da`, upstream main on 2026-11-16, for positions 297-306, `c4419be15`
1964
1967
main on 2026-11-19, for positions 321-324, `78af54a51`, upstream main on 2026-11-20, for position
1965
1968
325, `d83f87209`, upstream main later that day, for position 326, `265f0a73f`, upstream main
1966
1969
later still, for positions 327 and 328, and `bf353460f`, upstream main on 2026-11-21 and the v7.2
1967
-
fork base, for positions 329-334 and 340-351.
1970
+
fork base, for positions 329-334 and 340-352.
1968
1971
They name the positions that the commits have now, but neither the v7.2 rebase on `bf353460f`, the
1969
1972
v7.1 rebase on `9a875b563`, nor the v7.0 reorganization on `e6b458cc0` checked them again, nor did
1970
1973
the v6.1 rebase check the earlier ones on `7d90c4104`.
@@ -4705,6 +4708,35 @@ its `read_dir_with` already skips such entries. Replaying the commit there confl
4705
4708
microVM's `file.rs`, `fs_tests.rs`, and `policy_tests.rs`, which upstream main lacks, so it follows
4706
4709
PR18 upstream.
4707
4710
4711
+
Position 352 has `FUSE_LINK` to a node whose names the guest has all removed fail with `ENOENT`, as
4712
+
Linux's `linkat` fails for an unlinked file, rather than link whatever object has since appeared at
4713
+
the node's last name (microsoft/nvx#1608). PR13's position 048 records the names through which the
4714
+
guest reaches each node and drops them when the guest removes them or renames another entry over
4715
+
them, and a node whose last name it drops keeps that name, which upstream's `VirtioFsInode::link`
4716
+
linked: a guest that unlinked a file, or renamed another entry over it, and then put another object
4717
+
at its name linked that object, recorded the new name for the stale node, and got the stale node's
4718
+
ID with the other object's attributes. Since position 160's access policy, a link through a
4719
+
read-only file's own node fails with `EXDEV`, so that the file gets no name in a writable path, but
4720
+
through a stale node whose last name the file had taken, the guest could give it one. A new
4721
+
`VirtioFsInode::object_path` returns a node's path only while the guest still knows a name for its
4722
+
object, and `link` takes the target's path from it. The saved state keeps its format. It changes the
4723
+
path that upstream's `VirtioFsInode::link` links in `inode.rs`, a line that no chain commit
4724
+
changes, after the confinement checks that PR18's position 081 adds and PR27's position 126
4725
+
changes, and adds `object_path` after upstream's `get_path`, which PR18's position 083 makes
4726
+
`pub(crate)`, reading the names that position 048 adds; PR06's position 010, PR22's position 102,
4727
+
positions 160, 165, 322, 331, 332, and 334, and PR13's fixup at position 349 also change the file.
4728
+
It adds a test to the microVM's policy tests, which position 160 adds and positions 164, 194, 344,
4729
+
and 346 and PR18's fixup at position 351 also change. It changes nothing that a mapped PR adds, and
4730
+
it fixes no defect of position 048, whose names it reads: the defect is upstream's `link`, which
4731
+
links the object at the target's last name; the names of position 048 only make it record the new
4732
+
name for the target too, and the policy of position 160 only makes it a way to give a read-only
4733
+
file a writable name, so it is not a PR13 fixup. Upstream main has the defect, in the same `link`,
4734
+
since its nodes keep the name of their last lookup through removals, though without the names of
4735
+
position 048, which tell that a node's names are gone, or a write policy. Replaying the commit
4736
+
there conflicts in the microVM's `policy_tests.rs`, which upstream main lacks, and its
4737
+
`object_path` reads the names that position 048 adds, which upstream main lacks too, so it cannot
4738
+
go upstream on its own.
4739
+
4708
4740
## PR summary
4709
4741
4710
4742
Each count is of v7.2 commits, which include the fixups that the v3.0, v4.0, v5.0, v6.0, and v7.0
0 commit comments