summary refs log tree commit diff stats
path: root/hw/intc/apic.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2013-05-20 17:28:29 +0530
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2013-05-28 15:23:12 +0530
commitaed858ce10ef09c7bdf03f73e75e772f567c74cd (patch)
tree38a7c504f00d80e9182f3adacb5fd047cd885199 /hw/intc/apic.c
parentc7e587b73ebac05943df78f5f37d80d32ff47d3d (diff)
downloadfocaccia-qemu-aed858ce10ef09c7bdf03f73e75e772f567c74cd.tar.gz
focaccia-qemu-aed858ce10ef09c7bdf03f73e75e772f567c74cd.zip
hw/9pfs: use O_NOFOLLOW for mapped readlink operation
With mapped security models like mapped-xattr and mapped-file, we save the
symlink target as file contents. Now if we ever expose a normal directory
with mapped security model and find real symlinks in export path, never
follow them and return proper error.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'hw/intc/apic.c')
0 files changed, 0 insertions, 0 deletions