Re: [PATCH v5 2/3] virfile: Introduce internal API for managing ACL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 21, 2013 at 05:50:48PM +0100, Michal Privoznik wrote:
> For now, only three APIs are implemented:
> virFileGetACL to retrieve permission for a specific user
> virFileSetACL for setting requested permissions for a specific user,
> virFileRemoveACL to remove those permissions.
> ---
> diff to v4:
> -drop errno setting
> 
> diff to v3:
> -set errno=ENOSYS when building without WITH_ATTR for easier check within callee.
> -ACL mask is deleted prior recalc as after removing our entry, mask may be not
>  required anymore.
> 
> diff to v2:
> -Introduced m4 macro to check for libacl
> -new virFileGetACL API
> -ACL mask recalc offloaded to libacl 
>  configure.ac             |   2 +
>  libvirt.spec.in          |   1 +
>  m4/virt-acl.m4           |   9 +++
>  src/Makefile.am          |   4 +-
>  src/libvirt_private.syms |   3 +
>  src/util/virfile.c       | 190 +++++++++++++++++++++++++++++++++++++++++++++++
>  src/util/virfile.h       |  14 ++++
>  7 files changed, 221 insertions(+), 2 deletions(-)
>  create mode 100644 m4/virt-acl.m4

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]