diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2005-06-22 13:16:26 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-06-22 16:07:23 -0400 |
commit | a257cdd0e2179630d3201c32ba14d7fcb3c3a055 (patch) | |
tree | accf4139050690a65f3f2600355cbcd1a602663b /fs/Kconfig | |
parent | 9ba02638e4be28dd4ff724202a640264427c62d1 (diff) |
[PATCH] NFSD: Add server support for NFSv3 ACLs.
This adds functions for encoding and decoding POSIX ACLs for the NFSACL
protocol extension, and the GETACL and SETACL RPCs. The implementation is
compatible with NFSACL in Solaris.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Acked-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 178e27494b74..d44b04d9b0a9 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1353,6 +1353,7 @@ config NFSD | |||
1353 | select LOCKD | 1353 | select LOCKD |
1354 | select SUNRPC | 1354 | select SUNRPC |
1355 | select EXPORTFS | 1355 | select EXPORTFS |
1356 | select NFS_ACL_SUPPORT if NFSD_V3_ACL || NFSD_V2_ACL | ||
1356 | help | 1357 | help |
1357 | If you want your Linux box to act as an NFS *server*, so that other | 1358 | If you want your Linux box to act as an NFS *server*, so that other |
1358 | computers on your local network which support NFS can access certain | 1359 | computers on your local network which support NFS can access certain |
@@ -1376,6 +1377,10 @@ config NFSD | |||
1376 | To compile the NFS server support as a module, choose M here: the | 1377 | To compile the NFS server support as a module, choose M here: the |
1377 | module will be called nfsd. If unsure, say N. | 1378 | module will be called nfsd. If unsure, say N. |
1378 | 1379 | ||
1380 | config NFSD_V2_ACL | ||
1381 | bool | ||
1382 | depends on NFSD | ||
1383 | |||
1379 | config NFSD_V3 | 1384 | config NFSD_V3 |
1380 | bool "Provide NFSv3 server support" | 1385 | bool "Provide NFSv3 server support" |
1381 | depends on NFSD | 1386 | depends on NFSD |
@@ -1383,6 +1388,16 @@ config NFSD_V3 | |||
1383 | If you would like to include the NFSv3 server as well as the NFSv2 | 1388 | If you would like to include the NFSv3 server as well as the NFSv2 |
1384 | server, say Y here. If unsure, say Y. | 1389 | server, say Y here. If unsure, say Y. |
1385 | 1390 | ||
1391 | config NFSD_V3_ACL | ||
1392 | bool "Provide server support for the NFSv3 ACL protocol extension" | ||
1393 | depends on NFSD_V3 | ||
1394 | select NFSD_V2_ACL | ||
1395 | help | ||
1396 | Implement the NFSv3 ACL protocol extension for manipulating POSIX | ||
1397 | Access Control Lists on exported file systems. NFS clients should | ||
1398 | be compiled with the NFSv3 ACL protocol extension; see the | ||
1399 | CONFIG_NFS_V3_ACL option. If unsure, say N. | ||
1400 | |||
1386 | config NFSD_V4 | 1401 | config NFSD_V4 |
1387 | bool "Provide NFSv4 server support (EXPERIMENTAL)" | 1402 | bool "Provide NFSv4 server support (EXPERIMENTAL)" |
1388 | depends on NFSD_V3 && EXPERIMENTAL | 1403 | depends on NFSD_V3 && EXPERIMENTAL |
@@ -1427,6 +1442,15 @@ config LOCKD_V4 | |||
1427 | config EXPORTFS | 1442 | config EXPORTFS |
1428 | tristate | 1443 | tristate |
1429 | 1444 | ||
1445 | config NFS_ACL_SUPPORT | ||
1446 | tristate | ||
1447 | select FS_POSIX_ACL | ||
1448 | |||
1449 | config NFS_COMMON | ||
1450 | bool | ||
1451 | depends on NFSD || NFS_FS | ||
1452 | default y | ||
1453 | |||
1430 | config SUNRPC | 1454 | config SUNRPC |
1431 | tristate | 1455 | tristate |
1432 | 1456 | ||