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