Re: [PATCH 2/3] 9pfs: capture root stat

2021-06-04 Thread Christian Schoenebeck
On Donnerstag, 27. Mai 2021 19:04:11 CEST Christian Schoenebeck wrote: > We already capture the QID of the exported 9p root path, i.e. to > prevent client access outside the defined, exported filesystem's tree. > This is currently checked by comparing the root QID with another FID's > QID. > > The

[PATCH 2/3] 9pfs: capture root stat

2021-05-27 Thread Christian Schoenebeck
We already capture the QID of the exported 9p root path, i.e. to prevent client access outside the defined, exported filesystem's tree. This is currently checked by comparing the root QID with another FID's QID. The problem with the latter is that resolving a QID of any given 9p path can only be d