Skip to contentSkip to conversation

fs: Add VirtualBox guest shared folder (vboxsf)

PATCH RESEND Superseded Hans de Goede 2 participants 8 messages Aug 11, 2019 VFS

v12 of 19 Superseded Latest is v19 →

lore
Share & tools
lore
#0 lore raw

v12 cover fs: Add VirtualBox guest shared folder (vboxsf)

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:
-Move make_kuid / make_kgid calls to option parsing time and add
uid_valid / gid_valid checks.
-In init_fs_context call current_uid_gid() to init uid and gid -Validate dmode, fmode, dmask and fmask options during option parsing -Use correct types for various mount option variables (kuid_t, kgid_t, umode_t) -Some small coding-style tweaks

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Regards,

Hans

#1 lore raw
Quoted 17 lines · Hans de Goede

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:

(quoted diff) +0 -5
-Move make_kuid / make_kgid calls to option parsing time and add
 uid_valid / gid_valid checks.
-In init_fs_context call current_uid_gid() to init uid and gid
-Validate dmode, fmode, dmask and fmask options during option parsing
-Use correct types for various mount option variables (kuid_t, kgid_t, umode_t)
-Some small coding-style tweaks
Quoted 4 lines

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Hi,
Still looks like patch 1/1 is not hitting the mailing list. How large is it?

Signature · 1 line
~Randy
#2 lore raw

Hi,

Quoted 18 lines · Randy Dunlap
Quoted 17 lines · Hans de Goede

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:

(quoted diff) +0 -5
-Move make_kuid / make_kgid calls to option parsing time and add
  uid_valid / gid_valid checks.
-In init_fs_context call current_uid_gid() to init uid and gid
-Validate dmode, fmode, dmask and fmask options during option parsing
-Use correct types for various mount option variables (kuid_t, kgid_t, umode_t)
-Some small coding-style tweaks
Quoted 8 lines
Quoted 4 lines

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Hi,
Still looks like patch 1/1 is not hitting the mailing list. How large is it?

Thank you for catching this:

[hans@dhcp-44-196 linux]$ wc 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch
3754 14479 100991 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch

Regards,

Hans

#3 lore raw
Quoted 30 lines · Hans de Goede

Hi,

Quoted 18 lines · Randy Dunlap
Quoted 17 lines · Hans de Goede

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:
-Move make_kuid / make_kgid calls to option parsing time and add uid_valid / gid_valid checks.

(quoted diff) +0 -4
-In init_fs_context call current_uid_gid() to init uid and gid
-Validate dmode, fmode, dmask and fmask options during option parsing
-Use correct types for various mount option variables (kuid_t, kgid_t, umode_t)
-Some small coding-style tweaks
Quoted 8 lines
Quoted 4 lines

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Hi,
Still looks like patch 1/1 is not hitting the mailing list. How large is it?

Quoted 4 lines

Thank you for catching this:

[hans@dhcp-44-196 linux]$ wc 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch 3754  14479 100991 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch

That size shouldn't be a problem AFAIK.
Maybe there is something else in the patch that vger doesn't like.

http://vger.kernel.org/majordomo-taboos.txt

Signature · 1 line
~Randy
#4 lore raw
Quoted 33 lines · Randy Dunlap
Quoted 32 lines · Hans de Goede

Hi,

Quoted 18 lines · Randy Dunlap
Quoted 17 lines · Hans de Goede

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:
-Move make_kuid / make_kgid calls to option parsing time and add uid_valid / gid_valid checks.

(quoted diff) +0 -4
-In init_fs_context call current_uid_gid() to init uid and gid
-Validate dmode, fmode, dmask and fmask options during option parsing
-Use correct types for various mount option variables (kuid_t, kgid_t, umode_t)
-Some small coding-style tweaks
Quoted 8 lines
Quoted 4 lines

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Hi,
Still looks like patch 1/1 is not hitting the mailing list. How large is it?

Thank you for catching this:

Quoted 8 lines
Quoted 2 lines

[hans@dhcp-44-196 linux]$ wc 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch 3754  14479 100991 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch

That size shouldn't be a problem AFAIK.
Maybe there is something else in the patch that vger doesn't like.

http://vger.kernel.org/majordomo-taboos.txt

"Message size exceeding 100 000 characters causes blocking."
from: http://vger.kernel.org/majordomo-info.html

I thought the limit was higher than that.

Signature · 1 line
~Randy
#5 lore raw
Quoted 40 lines · Randy Dunlap
Quoted 39 lines · Randy Dunlap
Quoted 30 lines · Hans de Goede

Hi,

Quoted 18 lines · Randy Dunlap
Quoted 17 lines · Hans de Goede

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:
-Move make_kuid / make_kgid calls to option parsing time and add uid_valid / gid_valid checks.

(quoted diff) +0 -4
-In init_fs_context call current_uid_gid() to init uid and gid
-Validate dmode, fmode, dmask and fmask options during option parsing
-Use correct types for various mount option variables (kuid_t, kgid_t, umode_t)
-Some small coding-style tweaks
Quoted 8 lines
Quoted 4 lines

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Hi,
Still looks like patch 1/1 is not hitting the mailing list. How large is it?

Quoted 4 lines

Thank you for catching this:

[hans@dhcp-44-196 linux]$ wc 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch 3754  14479 100991 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch

That size shouldn't be a problem AFAIK.
Maybe there is something else in the patch that vger doesn't like.

Quoted 8 lines
Quoted 2 lines

http://vger.kernel.org/majordomo-taboos.txt

"Message size exceeding 100 000 characters causes blocking."
from: http://vger.kernel.org/majordomo-info.html

I thought the limit was higher than that.

Looks like it is higher for [email protected] but maybe not for other mailing lists.
I certainly see larger messages on lkml.

Signature · 1 line
~Randy
#6 lore raw
In reply to Randy Dunlap

Hi,

Quoted 40 lines · Randy Dunlap
Quoted 39 lines · Randy Dunlap
Quoted 30 lines · Hans de Goede

Hi,

Quoted 18 lines · Randy Dunlap
Quoted 17 lines · Hans de Goede

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:

(quoted diff) +0 -5
-Move make_kuid / make_kgid calls to option parsing time and add
   uid_valid / gid_valid checks.
-In init_fs_context call current_uid_gid() to init uid and gid
-Validate dmode, fmode, dmask and fmask options during option parsing
-Use correct types for various mount option variables (kuid_t, kgid_t, umode_t)
-Some small coding-style tweaks
Quoted 8 lines
Quoted 4 lines

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Hi,
Still looks like patch 1/1 is not hitting the mailing list. How large is it?

Quoted 4 lines

Thank you for catching this:

[hans@dhcp-44-196 linux]$ wc 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch
  3754  14479 100991 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch

That size shouldn't be a problem AFAIK.
Maybe there is something else in the patch that vger doesn't like.

Quoted 7 lines
Quoted 2 lines

http://vger.kernel.org/majordomo-taboos.txt

"Message size exceeding 100 000 characters causes blocking."
from: http://vger.kernel.org/majordomo-info.html

I thought the limit was higher than that.

Thank you for this info. I've trimmed the changelog below the --- in the commit messages, moving it to the coverletter, this brings the size down to aprox. 96000 chars and I've done another resend. Can you please let me know (offlist) if this one has successfully made it to the list?

Regards,

Hans

#7 lore raw
In reply to Randy Dunlap

Hi,

Quoted 33 lines · Randy Dunlap
Quoted 32 lines · Hans de Goede

Hi,

Quoted 18 lines · Randy Dunlap
Quoted 17 lines · Hans de Goede

Hello Everyone,

Here is a resend of the 12th version of my cleaned-up / refactored version of the VirtualBox shared-folder VFS driver. It seems that for some reason only the cover letter of my initial-posting of v12 has made it to the list.

This version hopefully addresses all issues pointed out in David Howell's review of v11 (thank you for the review David):

Changes in v12:

(quoted diff) +0 -5
-Move make_kuid / make_kgid calls to option parsing time and add
   uid_valid / gid_valid checks.
-In init_fs_context call current_uid_gid() to init uid and gid
-Validate dmode, fmode, dmask and fmask options during option parsing
-Use correct types for various mount option variables (kuid_t, kgid_t, umode_t)
-Some small coding-style tweaks
Quoted 8 lines
Quoted 4 lines

For changes in older versions see the change log in the patch.

This version has been used by several distributions (arch, Fedora) for a while now, so hopefully we can get this upstream soonish, please review.

Hi,
Still looks like patch 1/1 is not hitting the mailing list. How large is it?

Thank you for catching this:

Quoted 7 lines
Quoted 2 lines

[hans@dhcp-44-196 linux]$ wc 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch
  3754  14479 100991 0001-fs-Add-VirtualBox-guest-shared-folder-vboxsf-support.patch

That size shouldn't be a problem AFAIK.
Maybe there is something else in the patch that vger doesn't like.

http://vger.kernel.org/majordomo-taboos.txt

I don't see anything there which is in the patch AFAICT :|

Regards,

Hans