qemu-patch-raspberry4/hw/9pfs
Aneesh Kumar K.V f8ad4a89e9 hw/9pfs: Use little-endian format for xattr values
With security_model=mapped-xattr, we encode the uid,gid and other file
attributes as extended attributes of the file. We save them under
user.virtfs.* namespace.

Use little-endian encoding for on-disk values. This enables us to export
the same directory from both little-endian and big-endian hosts.

NOTE: This will break big-endian host that have virtFS exports
using security model mapped-xattr. They will have to use external tools
to convert the xattr to little-endian format.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
2014-09-02 16:02:33 -05:00
..
codir.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
cofile.c hw/9pfs: fix P9_STATS_GEN handling 2014-02-02 22:09:16 +05:30
cofs.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
coxattr.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
Makefile.objs Remove libhw 2012-10-05 16:07:49 -05:00
virtio-9p-coth.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-coth.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
virtio-9p-device.c virtio-9p: use virtio wrappers to access headers 2014-06-29 19:39:43 +03:00
virtio-9p-handle.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-local.c hw/9pfs: Use little-endian format for xattr values 2014-09-02 16:02:33 -05:00
virtio-9p-posix-acl.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-proxy.c hw/9pfs: make get_st_gen() return ENOTTY error on special files 2014-02-02 22:09:04 +05:30
virtio-9p-proxy.h hw/9pfs: Proxy getversion 2012-01-04 20:20:55 +05:30
virtio-9p-synth.c hw/9pfs: Add missing 'static' attributes 2014-05-07 21:00:43 +04:00
virtio-9p-synth.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
virtio-9p-xattr-user.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-xattr.c hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p-xattr.h hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30
virtio-9p.c virtio: Drop superfluous conditionals around g_free() 2014-06-19 16:41:53 +03:00
virtio-9p.h hw/9pfs: use g_strdup_printf() instead of PATH_MAX limitation 2014-03-04 00:57:57 +05:30