xref: /linux/fs/nfsd/auth.h (revision 5afca7e996c42aed1b4a42d4712817601ba42aff)
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