virtio-9p: Hide user.virtfs xattr in case of mapped security.
With mapped security mode we use "user.virtfs" namespace is usedto store the virtFs related attributes. So hide it from user.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
virtio-9p: Add SM_NONE security model
This is equivalent to SM_PASSTHROUGH security model.The only exception is, failure of privilige operation like chownare ignored. This makes a passthrough like security model usablefor people who runs kvm as non root...
virtio-9p: Use lchown which won't follow symlink
We should always use functions which don't followsymlink on the server
virtio-9p: Fix the memset usage
The arguments are wrong. Use qemu_mallocz directly
rename - change name of file or directory
size4 Trename tag2 fid4 newdirfid4 name[s]size4 Rrename tag2
Implement the 2000.L rename operation. A new functionv9fs_complete_rename is introduced that acts as a common entry pointfor 2000.L rename operation and 2000.U rename opearation (via wstat)....
[virtio-9p] qemu: virtio-9p: Implement LOPEN
Implement 9p2000.L version of open(LOPEN) interface in qemu 9p server.
For LOPEN, no need to convert the flags to and from 9p mode to VFS mode.
Synopsis:
size[4] Tlopen tag[2] fid[4] mode[4]
size[4] Rlopen tag[2] qid[13] iounit[4]...
virtio-9p: Add fidtype so that we can do type specific operation
We want to add type specific operation during read/write
virtio-9p: Implement TXATTRWALK
TXATTRWALK: Descend a ATTR namespace
size[4] TXATTRWALK tag[2] fid[4] newfid[4] name[s] size[4] RXATTRWALK tag[2] size[8]
txattrwalk gets a fid pointing to xattr. This fid can later beused to get read the xattr value. If name is NULL the fid returned...
virtio-9p: Implement TXATTRCREATE
TXATTRCREATE: Prepare a fid for setting xattr value on a file system object.
size[4] TXATTRCREATE tag[2] fid[4] name[s] attr_size[8] flags[4] size[4] RXATTRWALK tag[2]
txattrcreate gets a fid pointing to xattr. This fid can later be...
qemu: virtio-9p: Implement TMKDIR
Synopsis
size[4] Tmkdir tag[2] fid[4] name[s] mode[4] gid[4]
size[4] Rmkdir tag[2] qid[13]
Description
mkdir asks the file server to create a directory with given name, mode and gid. The qid for the new directory is returned with...
View revisions
Also available in: Atom