Linux system calls mmap and mmap2 fail on shared folders
Posted: 31. Mar 2013, 04:12
Hi people,
This is my first post, so I hope this post is appropriate and not an already known issue.
I am running VirtualBox 4.2.10 on a Windows 7 Home Premium x64 Guest. I am running the latest version of the guest add-ins.
I am finding with my Ubuntu 11.10 i386 guest that 2 system calls fail with files on shared folders. Specifically the calls are:
mmap (90) and mmap(192).
Using the same code on the same files, in a directory local to the Linux installation, things work.
Is it possible this is happening because the file are trying to be mapped including write access (PROT_READ+PROT_WRITE)?
If this is the case, will there ever be support for writable mem-mapped files on shared folders in Linux guests?
Thank you,
AVD.79
This is my first post, so I hope this post is appropriate and not an already known issue.
I am running VirtualBox 4.2.10 on a Windows 7 Home Premium x64 Guest. I am running the latest version of the guest add-ins.
I am finding with my Ubuntu 11.10 i386 guest that 2 system calls fail with files on shared folders. Specifically the calls are:
mmap (90) and mmap(192).
Using the same code on the same files, in a directory local to the Linux installation, things work.
Is it possible this is happening because the file are trying to be mapped including write access (PROT_READ+PROT_WRITE)?
If this is the case, will there ever be support for writable mem-mapped files on shared folders in Linux guests?
Thank you,
AVD.79