]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Add support for access to files using provided uid/gid
authorPeter Krempa <pkrempa@redhat.com>
Fri, 25 Apr 2014 11:45:48 +0000 (13:45 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 23 May 2014 08:48:48 +0000 (10:48 +0200)
commitae26731e1fcd4591b1be6b165ec8cc76bd0e1877
treedac15ccea8839d1ec6c19652f59abefeb84dd3a1
parenta01d93579ee793a0f5afb6e86e7be627a2a4a4a5
storage: Add support for access to files using provided uid/gid

To allow using the storage driver APIs to access files on various
storage sources in a universal fashion possibly on storage such as nfs
with root squash we'll need to store the desired uid/gid in the
metadata.

Add new initialisation API that will store the desired uid/gid and a
wrapper for the current use. Additionally add docs for the two APIs.
src/storage/storage_backend.h
src/storage/storage_driver.c
src/storage/storage_driver.h