summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host/BUILD
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2018-10-15 17:41:34 -0700
committerShentubot <shentubot@google.com>2018-10-15 17:42:30 -0700
commitecd94ea7a693d49a0edce8607241a8e2ac22bfe0 (patch)
treeda07122898da0d3770f8cdbfdf967b1a3242db3d /pkg/sentry/fs/host/BUILD
parent3f0532595679c388362203bbce1d4b6c4d2e336b (diff)
Clean up Rename and Unlink checks for EBUSY.
- Change Dirent.Busy => Dirent.isMountPoint. The function body is unchanged, and it is no longer exported. - fs.MayDelete now checks that the victim is not the process root. This aligns with Linux's namei.c:may_delete(). - Fix "is-ancestor" checks to actually compare all ancestors, not just the parents. - Fix handling of paths that end in dots, which are handled differently in Rename vs. Unlink. PiperOrigin-RevId: 217239274 Change-Id: I7a0eb768e70a1b2915017ce54f7f95cbf8edf1fb
Diffstat (limited to 'pkg/sentry/fs/host/BUILD')
0 files changed, 0 insertions, 0 deletions