Kconfig 5.0 KB

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