virtio-9p: Security model for mkdir
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
virtio-9p: Security model for symlink and readlink
Mapped mode stores extended attributes in the user space of the extendedattributes. Given that the user space extended attributes are availableto regular files only, special files are created as regular files on the...
virtio-9p: Implement Security model for mknod
virtio-9p: Implement Security model for mksock using mknod.
This patch uses mknod to create socket.
On Host/Fileserver:rw------. 1 virfsuid virtfsgid 0 2010-05-11 09:57 asocket1
On Guest/Client:srwxr-xr-x 1 guestuser guestuser 0 2010-05-11 12:57 asocket1...
virtio-9p: Make infrastructure for the new security model.
This patch adds required infrastructure for the new security model.
- A new configure option for attr/xattr.- if CONFIG_VIRTFS will be defined if both CONFIG_LINUX and CONFIG_ATTR defined.- Defines routines related to both security models....
virtio-9p: Security model for chmod
virtio-9p: Security model for chown
mapped model changes the owner in the extended attributes.passthrough model does the change through lchown() as theserver don't need to follow the link and client will send theactual filesystem object.
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>...
virtio-9p: Implemented Security model for lstat and fstat
virtio-9p: Security model for create/open2
In the mapped security model, VirtFS server intercepts and mapsthe file object create and get/set attribute requests. Files on the fileserverwill be created with VirtFS servers (QEMU) user credentials and theclient-users credentials are stored in extended attributes. On the request...
virtio-9p: Introduces an option to specify the security model.
The new option is:
-fsdev fstype,id=myid,path=/share_path/,security_model=[mapped|passthrough]-virtfs fstype,path=/share_path/,security_model=[mapped|passthrough],mnt_tag=tag
In the case of mapped security model, files are created with QEMU user...
View all revisions | View revisions
Also available in: Atom