summaryrefslogtreecommitdiffstats
path: root/authz/Makefile.objs
diff options
context:
space:
mode:
authorDaniel P. Berrange2015-10-21 14:16:21 +0200
committerDaniel P. Berrangé2019-02-26 16:25:58 +0100
commit5b76dd132c5346f335a85161dddaae022b47ccf9 (patch)
treea70db32658b4db23007e0fa19e3e3b3992ba45cf /authz/Makefile.objs
parenthw/usb: switch MTP to use new inotify APIs (diff)
downloadqemu-5b76dd132c5346f335a85161dddaae022b47ccf9.tar.gz
qemu-5b76dd132c5346f335a85161dddaae022b47ccf9.tar.xz
qemu-5b76dd132c5346f335a85161dddaae022b47ccf9.zip
authz: add QAuthZ object as an authorization base class
The current qemu_acl module provides a simple access control list facility inside QEMU, which is used via a set of monitor commands acl_show, acl_policy, acl_add, acl_remove & acl_reset. Note there is no ability to create ACLs - the network services (eg VNC server) were expected to create ACLs that they want to check. There is also no way to define ACLs on the command line, nor potentially integrate with external authorization systems like polkit, pam, ldap lookup, etc. The QAuthZ object defines a minimal abstract QOM class that can be subclassed for creating different authorization providers. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'authz/Makefile.objs')
-rw-r--r--authz/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/authz/Makefile.objs b/authz/Makefile.objs
new file mode 100644
index 0000000000..12597c9528
--- /dev/null
+++ b/authz/Makefile.objs
@@ -0,0 +1 @@
+authz-obj-y += base.o