Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame^] | 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_rqst *, struct svc_export *); | ||||
16 | |||||
17 | #endif /* LINUX_NFSD_AUTH_H */ |