xref: /openbmc/linux/fs/nfsd/auth.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
22e8138a2SJ. Bruce Fields /*
32e8138a2SJ. Bruce Fields  * nfsd-specific authentication stuff.
42e8138a2SJ. Bruce Fields  *
52e8138a2SJ. Bruce Fields  * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
62e8138a2SJ. Bruce Fields  */
72e8138a2SJ. Bruce Fields 
82e8138a2SJ. Bruce Fields #ifndef LINUX_NFSD_AUTH_H
92e8138a2SJ. Bruce Fields #define LINUX_NFSD_AUTH_H
102e8138a2SJ. Bruce Fields 
112e8138a2SJ. Bruce Fields /*
122e8138a2SJ. Bruce Fields  * Set the current process's fsuid/fsgid etc to those of the NFS
132e8138a2SJ. Bruce Fields  * client user
142e8138a2SJ. Bruce Fields  */
152e8138a2SJ. Bruce Fields int nfsd_setuser(struct svc_rqst *, struct svc_export *);
162e8138a2SJ. Bruce Fields 
172e8138a2SJ. Bruce Fields #endif /* LINUX_NFSD_AUTH_H */
18