hw/9pfs: Use O_NOFOLLOW when opening files on server
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Mon, 20 May 2013 14:13:15 +0000 (19:43 +0530)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Tue, 28 May 2013 09:53:12 +0000 (15:23 +0530)
commit0ceb092e35f9d8793d64d86194ec9463718dffa3
tree983262d0521c46cda9621151f41110df9b44d6d3
parentaed858ce10ef09c7bdf03f73e75e772f567c74cd
hw/9pfs: Use O_NOFOLLOW when opening files on server

9p server should never follow a symlink. So use O_NOFOLLOW with all open
syscall

Tested-by: "M. Mohan Kumar" <mohan@in.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
hw/9pfs/virtio-9p-local.c