Aneesh Kumar K.V aed858ce10 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>
2013-05-28 15:23:12 +05:30
..
2012-10-05 16:07:49 -05:00
2013-04-08 18:13:10 +02:00
2012-01-04 20:20:55 +05:30
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2013-04-23 10:37:49 -05:00