VirtualBox

Changeset 100331 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Jun 29, 2023 12:11:23 PM (23 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158046
Message:

Additions: Get rid of MAX_MNTOPT_STR and replace with RTSystemGetPageSize() in the shared folders mounting tools, bugref:10476 [Solaris build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp

    r100317 r100331  
    395395# ifdef RT_OS_SOLARIS
    396396        int const fFlags = MS_OPTIONSTR;
    397         RTStrPrintf(pszOptBuf, sizeof(szOptBuf), "uid=0,gid=%d,dmode=0770,fmode=0770,dmask=0000,fmask=0000", grp_vboxsf->gr_gid);
     397        RTStrPrintf(pszOpts, cbOpts, "uid=0,gid=%d,dmode=0770,fmode=0770,dmask=0000,fmask=0000", grp_vboxsf->gr_gid);
    398398        int r = mount(pszShareName,
    399399                      pszMountPoint,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette