summaryrefslogtreecommitdiffstats
path: root/meta-poky
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-09-22 14:07:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-03 14:13:52 +0000
commitb0c9032431facf60751286cdaac943dfb2dc445a (patch)
tree5236b72d200445ff426a2458a9caebfedf5538c1 /meta-poky
parent1a71eed4c64815b710ca45b1584ef60ba5ba9893 (diff)
downloadpoky-b0c9032431facf60751286cdaac943dfb2dc445a.tar.gz
pseudo: Ignore mismatched inodes from the db
Currently, where pseudo finds a database entry for an inode but the path doesn't match, it reuses that database entry metadata. This is causing real world "corruption" of file attributes. See [YOCTO #14057] for an example of this. This can happen when files are deleted outside of pseudo context and the inode is reused by a new file which pseduo then "sees". Its possible the opposite could happen, it needs to reuse attributes but this change would prevent it. As far as I can tell, we don't want pseuo to reuse these attributes though so this code should be safer and avoid bugs like the above. (From OE-Core rev: 064eb959c38ae10dcb99b750c6bf6112de6c29d5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1c13149b81e03a1ac48b27a208a139d5493c3ce7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
0 files changed, 0 insertions, 0 deletions