diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2014-08-03 17:02:55 +0530 |
---|---|---|
committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2014-09-02 16:02:33 -0500 |
commit | f8ad4a89e99848a554b0049d7a612f5a585b7231 (patch) | |
tree | 299afdbda123f887f91011eafae01253d3dfc946 /iothread.c | |
parent | 30eaca3acdf17d7bcbd1213eb149c02037edfb0b (diff) |
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>
Diffstat (limited to 'iothread.c')
0 files changed, 0 insertions, 0 deletions