[vbox-dev] [PATCH 2nd resend] VBoxServiceAutoMount: Change Linux mount code to use

Michael Thayer michael.thayer at oracle.com
Sat May 4 17:44:27 GMT 2019


04.05.19 16:44, Michael Thayer wrote:
> 03.05.19 23:40, Knut St. Osmundsen wrote:
> [...]
>> Finally, does the libc or kernel mount() implementation somehow invoke
>> the /sbin/mount.vboxsf helper tool?  Please point me to the code causing
>> this, because our vboxsf sources does not parse any parameter strings,
>> it is binary struct only.
> 
> The mount(8) manual page reads to me that the mount utility calls the
> mount helper (or skips it if you pass "-i").  Our mount helper calls
> mount(2) to perform the actual mount.  Hans modified the shared folder
> kernel code to do the parsing.  I suspect the version Sérgio is testing
> against has that change as a patch.  Sérgio, could you take a look at
> that, or point us to the sources you tested against?

Attaching Hans's patch to the kernel driver.  This version is from a
while back, don't know if it will still apply cleanly.

> Regards
> Michael
> 
>> Kind regards, bird.
>>
>>
>> On 2019-05-02 6:56 PM, Sérgio Basto wrote:
>>> Hi,
>>> Please accept this patch we are using on Fedora packages and it is
>>> working with in-kernel and not in-kernel (el7) modules
>>>
>>> I'm OK with MIT license for this patch
>>> Best regards
>>> _______________________________________________
>>> vbox-dev mailing list
>>> vbox-dev at virtualbox.org
>>> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>>
>>
>> _______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> https://www.virtualbox.org/mailman/listinfo/vbox-dev
>>
> 
> 
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev
> 

-- 
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vboxsf-Modify-vboxsf-to-use-text-only-mount-options.patch
Type: text/x-patch
Size: 13697 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20190504/692d611a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2468 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20190504/692d611a/attachment-0001.bin>


More information about the vbox-dev mailing list