defaults.h (davfs2-1.6.1) | : | defaults.h (davfs2-1.7.0) | ||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
You should have received a copy of the GNU General Public License | You should have received a copy of the GNU General Public License | |||
along with davfs2; if not, write to the Free Software Foundation, | along with davfs2; if not, write to the Free Software Foundation, | |||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ | |||
#ifndef DAV_DEFAULTS_H | #ifndef DAV_DEFAULTS_H | |||
#define DAV_DEFAULTS_H | #define DAV_DEFAULTS_H | |||
/* Misc. */ | /* Misc. */ | |||
/*=======*/ | /*=======*/ | |||
#ifdef __FreeBSD__ | ||||
#define MS_NOSUID MNT_NOSUID | ||||
#define MS_NOEXEC MNT_NOEXEC | ||||
#define MS_RDONLY MNT_RDONLY | ||||
#define MS_MGC_VAL 0 | ||||
#define MS_NODEV 0 | ||||
#endif | ||||
/* File system type to be used with 'mount -t' and fstab. */ | /* File system type to be used with 'mount -t' and fstab. */ | |||
#define DAV_FS_TYPE "davfs" | #define DAV_FS_TYPE "davfs" | |||
/* Mount options set by mount program in case of mounting by an | /* Mount options set by mount program in case of mounting by an | |||
ordinary user. */ | ordinary user. */ | |||
#define DAV_USER_MOPTS (MS_MGC_VAL | MS_NOSUID | MS_NOEXEC | MS_NODEV) | #define DAV_USER_MOPTS (MS_MGC_VAL | MS_NOSUID | MS_NOEXEC | MS_NODEV) | |||
/* This mount options will allways be set by davfs2. Different values from | /* This mount options will allways be set by davfs2. Different values from | |||
command line and even fstab will be silently ignored. */ | command line and even fstab will be silently ignored. */ | |||
#define DAV_MOPTS (MS_MGC_VAL | MS_NOSUID | MS_NODEV) | #define DAV_MOPTS (MS_MGC_VAL | MS_NOSUID | MS_NODEV) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added |