All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode
@ 2017-05-05 14:36 Greg Kurz
  2017-05-05 14:37 ` [Qemu-devel] [PATCH 1/5] 9pfs: check return value of v9fs_co_name_to_path() Greg Kurz
                   ` (6 more replies)
  0 siblings, 7 replies; 24+ messages in thread
From: Greg Kurz @ 2017-05-05 14:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: Léo Gaspard, Eric Blake, Greg Kurz

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(-)

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2017-05-18 15:52 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-05 14:36 [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode Greg Kurz
2017-05-05 14:37 ` [Qemu-devel] [PATCH 1/5] 9pfs: check return value of v9fs_co_name_to_path() Greg Kurz
2017-05-05 16:55   ` Eric Blake
2017-05-05 17:30     ` Greg Kurz
2017-05-05 14:37 ` [Qemu-devel] [PATCH 2/5] 9pfs: local: resolve special directories in paths Greg Kurz
2017-05-05 16:59   ` Eric Blake
2017-05-09  9:12     ` Greg Kurz
2017-05-18  8:41       ` Greg Kurz
2017-05-18 14:19         ` Eric Blake
2017-05-05 14:37 ` [Qemu-devel] [PATCH 3/5] 9pfs: local: simplify file opening Greg Kurz
2017-05-05 17:01   ` Eric Blake
2017-05-09  9:23     ` Greg Kurz
2017-05-18  8:42       ` Greg Kurz
2017-05-18 14:23       ` Eric Blake
2017-05-18 15:51         ` Greg Kurz
2017-05-05 14:37 ` [Qemu-devel] [PATCH 4/5] 9pfs: local: metadata file for the VirtFS root Greg Kurz
2017-05-05 17:11   ` Eric Blake
2017-05-09  9:31     ` Greg Kurz
2017-05-05 14:37 ` [Qemu-devel] [PATCH 5/5] 9pfs: local: forbid client access to metadata Greg Kurz
2017-05-05 17:13   ` Eric Blake
2017-05-09  9:39     ` Greg Kurz
2017-05-05 15:25 ` [Qemu-devel] [PATCH 0/5] 9pfs: local: fix metadata of mapped-file security mode no-reply
2017-05-08 15:33 ` Leo Gaspard
2017-05-09  9:42   ` Greg Kurz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.