Kconfig 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config NFSD
  3. tristate "NFS server support"
  4. depends on INET
  5. depends on FILE_LOCKING
  6. depends on FSNOTIFY
  7. select LOCKD
  8. select SUNRPC
  9. select EXPORTFS
  10. select NFS_ACL_SUPPORT if NFSD_V2_ACL
  11. depends on MULTIUSER
  12. help
  13. Choose Y here if you want to allow other computers to access
  14. files residing on this system using Sun's Network File System
  15. protocol. To compile the NFS server support as a module,
  16. choose M here: the module will be called nfsd.
  17. You may choose to use a user-space NFS server instead, in which
  18. case you can choose N here.
  19. To export local file systems using NFS, you also need to install
  20. user space programs which can be found in the Linux nfs-utils
  21. package, available from http://linux-nfs.org/. More detail about
  22. the Linux NFS server implementation is available via the
  23. exports(5) man page.
  24. Below you can choose which versions of the NFS protocol are
  25. available to clients mounting the NFS server on this system.
  26. Support for NFS version 2 (RFC 1094) is always available when
  27. CONFIG_NFSD is selected.
  28. If unsure, say N.
  29. config NFSD_V2_ACL
  30. bool
  31. depends on NFSD
  32. config NFSD_V3
  33. bool "NFS server support for NFS version 3"
  34. depends on NFSD
  35. help
  36. This option enables support in your system's NFS server for
  37. version 3 of the NFS protocol (RFC 1813).
  38. If unsure, say Y.
  39. config NFSD_V3_ACL
  40. bool "NFS server support for the NFSv3 ACL protocol extension"
  41. depends on NFSD_V3
  42. select NFSD_V2_ACL
  43. help
  44. Solaris NFS servers support an auxiliary NFSv3 ACL protocol that
  45. never became an official part of the NFS version 3 protocol.
  46. This protocol extension allows applications on NFS clients to
  47. manipulate POSIX Access Control Lists on files residing on NFS
  48. servers. NFS servers enforce POSIX ACLs on local files whether
  49. this protocol is available or not.
  50. This option enables support in your system's NFS server for the
  51. NFSv3 ACL protocol extension allowing NFS clients to manipulate
  52. POSIX ACLs on files exported by your system's NFS server. NFS
  53. clients which support the Solaris NFSv3 ACL protocol can then
  54. access and modify ACLs on your NFS server.
  55. To store ACLs on your NFS server, you also need to enable ACL-
  56. related CONFIG options for your local file systems of choice.
  57. If unsure, say N.
  58. config NFSD_V4
  59. bool "NFS server support for NFS version 4"
  60. depends on NFSD && PROC_FS
  61. select NFSD_V3
  62. select FS_POSIX_ACL
  63. select SUNRPC_GSS
  64. select CRYPTO
  65. select CRYPTO_MD5
  66. select CRYPTO_SHA256
  67. select GRACE_PERIOD
  68. help
  69. This option enables support in your system's NFS server for
  70. version 4 of the NFS protocol (RFC 3530).
  71. To export files using NFSv4, you need to install additional user
  72. space programs which can be found in the Linux nfs-utils package,
  73. available from http://linux-nfs.org/.
  74. If unsure, say N.
  75. config NFSD_PNFS
  76. bool
  77. config NFSD_BLOCKLAYOUT
  78. bool "NFSv4.1 server support for pNFS block layouts"
  79. depends on NFSD_V4 && BLOCK
  80. select NFSD_PNFS
  81. select EXPORTFS_BLOCK_OPS
  82. help
  83. This option enables support for the exporting pNFS block layouts
  84. in the kernel's NFS server. The pNFS block layout enables NFS
  85. clients to directly perform I/O to block devices accesible to both
  86. the server and the clients. See RFC 5663 for more details.
  87. If unsure, say N.
  88. config NFSD_SCSILAYOUT
  89. bool "NFSv4.1 server support for pNFS SCSI layouts"
  90. depends on NFSD_V4 && BLOCK
  91. select NFSD_PNFS
  92. select EXPORTFS_BLOCK_OPS
  93. select BLK_SCSI_REQUEST
  94. help
  95. This option enables support for the exporting pNFS SCSI layouts
  96. in the kernel's NFS server. The pNFS SCSI layout enables NFS
  97. clients to directly perform I/O to SCSI devices accesible to both
  98. the server and the clients. See draft-ietf-nfsv4-scsi-layout for
  99. more details.
  100. If unsure, say N.
  101. config NFSD_FLEXFILELAYOUT
  102. bool "NFSv4.1 server support for pNFS Flex File layouts"
  103. depends on NFSD_V4
  104. select NFSD_PNFS
  105. help
  106. This option enables support for the exporting pNFS Flex File
  107. layouts in the kernel's NFS server. The pNFS Flex File layout
  108. enables NFS clients to directly perform I/O to NFSv3 devices
  109. accesible to both the server and the clients. See
  110. draft-ietf-nfsv4-flex-files for more details.
  111. Warning, this server implements the bare minimum functionality
  112. to be a flex file server - it is for testing the client,
  113. not for use in production.
  114. If unsure, say N.
  115. config NFSD_V4_2_INTER_SSC
  116. bool "NFSv4.2 inter server to server COPY"
  117. depends on NFSD_V4 && NFS_V4_1 && NFS_V4_2
  118. help
  119. This option enables support for NFSv4.2 inter server to
  120. server copy where the destination server calls the NFSv4.2
  121. client to read the data to copy from the source server.
  122. If unsure, say N.
  123. config NFSD_V4_SECURITY_LABEL
  124. bool "Provide Security Label support for NFSv4 server"
  125. depends on NFSD_V4 && SECURITY
  126. help
  127. Say Y here if you want enable fine-grained security label attribute
  128. support for NFS version 4. Security labels allow security modules like
  129. SELinux and Smack to label files to facilitate enforcement of their policies.
  130. Without this an NFSv4 mount will have the same label on each file.
  131. If you do not wish to enable fine-grained security labels SELinux or
  132. Smack policies on NFSv4 files, say N.