| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
|---|---|
| 2 | /* |
| 3 | * nfsd-specific authentication stuff. |
| 4 | * |
| 5 | * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> |
| 6 | */ |
| 7 | |
| 8 | #ifndef LINUX_NFSD_AUTH_H |
| 9 | #define LINUX_NFSD_AUTH_H |
| 10 | |
| 11 | /* |
| 12 | * Set the current process's fsuid/fsgid etc to those of the NFS |
| 13 | * client user |
| 14 | */ |
| 15 | int nfsd_setuser(struct svc_cred *cred, struct svc_export *exp); |
| 16 | |
| 17 | #endif /* LINUX_NFSD_AUTH_H */ |
| 18 |
