virtio-9p: Security model for chown
commitf7613bee32ebd13ff4a8d721a59cf27b1fe5d94b
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Mon, 14 Jun 2010 20:34:43 +0000 (14 13:34 -0700)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 22 Jun 2010 20:15:50 +0000 (22 15:15 -0500)
treeb962e63109eb5776f8d1887ee74a73043c4ca8bc
parente95ead32efc48157de12e0a257ea1c52541a6ce1
virtio-9p: Security model for chown

mapped model changes the owner in the extended attributes.
passthrough model does the change through lchown() as the
server don't need to follow the link and client will send the
actual filesystem object.

Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/file-op-9p.h
hw/virtio-9p-local.c
hw/virtio-9p.c