linux/include/uapi/linux/nfs_mount.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _LINUX_NFS_MOUNT_H
#define _LINUX_NFS_MOUNT_H

/*
 *  linux/include/linux/nfs_mount.h
 *
 *  Copyright (C) 1992  Rick Sladkey
 *
 *  structure passed from user-space to kernel-space during an nfs mount
 */
#include <linux/in.h>
#include <linux/nfs.h>
#include <linux/nfs2.h>
#include <linux/nfs3.h>

/*
 * WARNING!  Do not delete or change the order of these fields.  If
 * a new field is required then add it to the end.  The version field
 * tracks which fields are present.  This will ensure some measure of
 * mount-to-kernel version compatibility.  Some of these aren't used yet
 * but here they are anyway.
 */
#define NFS_MOUNT_VERSION
#define NFS_MAX_CONTEXT_LEN

struct nfs_mount_data {};

/* bits in the flags field visible to user space */

#define NFS_MOUNT_SOFT
#define NFS_MOUNT_INTR
#define NFS_MOUNT_SECURE
#define NFS_MOUNT_POSIX
#define NFS_MOUNT_NOCTO
#define NFS_MOUNT_NOAC
#define NFS_MOUNT_TCP
#define NFS_MOUNT_VER3
#define NFS_MOUNT_KERBEROS
#define NFS_MOUNT_NONLM
#define NFS_MOUNT_BROKEN_SUID
#define NFS_MOUNT_NOACL
#define NFS_MOUNT_STRICTLOCK
#define NFS_MOUNT_SECFLAVOUR
#define NFS_MOUNT_NORDIRPLUS
#define NFS_MOUNT_UNSHARED
#define NFS_MOUNT_FLAGMASK

#endif