VirtualBox

Ignore:
Timestamp:
Jun 28, 2023 10:34:21 AM (21 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
158032
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_mount.c

    r98103 r100317  
    4747#include <sys/mount.h>
    4848
     49#include <iprt/param.h> /* For PAGE_SIZE */
     50
    4951#include "vboxfs.h"
    5052
     
    5355*   Global Variables                                                                                                             *
    5456*********************************************************************************************************************************/
    55 static char g_achOptBuf[MAX_MNTOPT_STR] = { '\0', };
     57static char g_achOptBuf[PAGE_SIZE] = { '\0', };
    5658static const int g_RetErr = 33;
    5759static const int g_RetMagic = 2;
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