/** @file
* vboxsf -- VirtualBox Guest Additions for Linux: mount(2) parameter structure.
*/
/*
* Copyright (C) 2006-2010 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef VBFS_MOUNT_H
#define VBFS_MOUNT_H
/* Linux constraints the size of data mount argument to PAGE_SIZE - 1. */
struct vbsf_mount_info_old
{
int uid;
int gid;
int ttl;
};
struct vbsf_mount_info_new
{
to distinguish between the old structure
and the new structure */
};
struct vbsf_mount_opts
{
int uid;
int gid;
int ttl;
int dmode;
int fmode;
int dmask;
int fmask;
int ronly;
int noexec;
int nodev;
int nosuid;
int remount;
char *convertcp;
};
/** Completes the mount operation by adding the new mount point to mtab if required. */
#endif /* vbsfmount.h */