mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 16:15:23 +00:00
15f5eaa098
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
23 lines
607 B
C
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 */
|