qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file securi


From: Greg Kurz
Subject: [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode
Date: Fri, 05 May 2017 16:36:46 +0200
User-agent: StGit/0.17.1-20-gc0b1b-dirty

This series fixes two issues in the local backend when using the mapped-file
security mode:
- allow chmod and chown to succeed on the virtfs root (patch 4)
- completely hide the metadata files from the client (patch 5)

Patch 2 resolves '.' and '..' in paths, and patch 3 reworks the way we open
files accordingly. They could be squashed together in a single patch (this
was the case in earlier versions actually), but I decided to separate them
for easier review.

Léo,

I'd appreciate if you could test this series (especially patch 4) on your
setup.

Cheers.

--
Greg

---

Greg Kurz (5):
      9pfs: check return value of v9fs_co_name_to_path()
      9pfs: local: resolve special directories in paths
      9pfs: local: simplify file opening
      9pfs: local: metadata file for the VirtFS root
      9pfs: local: forbid client access to metadata


 hw/9pfs/9p-local.c |  164 ++++++++++++++++++++++++++++++++++++++++------------
 hw/9pfs/9p-util.c  |   26 +++-----
 hw/9pfs/9p.c       |   36 ++++++++---
 3 files changed, 160 insertions(+), 66 deletions(-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]