linux/virt/kvm
Roland Dreier 628ff7c1d8 anonfd: Allow making anon files read-only
It seems a couple places such as arch/ia64/kernel/perfmon.c and
drivers/infiniband/core/uverbs_main.c could use anon_inode_getfile()
instead of a private pseudo-fs + alloc_file(), if only there were a way
to get a read-only file.  So provide this by having anon_inode_getfile()
create a read-only file if we pass O_RDONLY in flags.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-12-22 12:27:34 -05:00
..
assigned-dev.c KVM: Move assigned device code to own file 2009-12-03 09:32:09 +02:00
coalesced_mmio.c KVM: make io_bus interface more robust 2009-09-10 08:33:12 +03:00
coalesced_mmio.h
eventfd.c KVM: Drop kvm->irq_lock lock from irq injection path 2009-12-03 09:32:08 +02:00
ioapic.c KVM: Move IO APIC to its own lock 2009-12-03 09:32:08 +02:00
ioapic.h KVM: Move IO APIC to its own lock 2009-12-03 09:32:08 +02:00
iodev.h KVM: remove in_range from io devices 2009-09-10 08:33:05 +03:00
iommu.c
irq_comm.c KVM: only clear irq_source_id if irqchip is present 2009-12-03 09:32:23 +02:00
Kconfig
kvm_main.c anonfd: Allow making anon files read-only 2009-12-22 12:27:34 -05:00