libvirt/src/qemu/qemu_security_dac.h
Daniel P. Berrange 15f5eaa098 Introduce a new DAC security driver for QEMU
This new security driver is responsible for managing UID/GID changes
to the QEMU process, and any files/disks/devices assigned to it.

* qemu/qemu_conf.h: Add flag for disabling automatic file permission
  changes
* qemu/qemu_security_dac.h, qemu/qemu_security_dac.c: New DAC driver
  for QEMU guests
* Makefile.am: Add new files
2010-01-21 14:00:16 +00:00

23 lines
607 B
C

/*
* Copyright (C) 2010 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* QEMU POSIX DAC security driver
*/
#include "security/security_driver.h"
#include "qemu_conf.h"
#ifndef __QEMU_SECURITY_DAC
#define __QEMU_SECURITY_DAC
extern virSecurityDriver qemuDACSecurityDriver;
void qemuSecurityDACSetDriver(struct qemud_driver *driver);
#endif /* __QEMU_SECURITY_DAC */