summaryrefslogblamecommitdiff
path: root/fs/nfsd/auth.h
blob: 8c5031bbbcee2f5176cf9cad20d54687bb9c5352 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                      
  
                                      





                                                          


                                                                
                                                                
 
                              
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * nfsd-specific authentication stuff.
 *
 * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
 */

#ifndef LINUX_NFSD_AUTH_H
#define LINUX_NFSD_AUTH_H

/*
 * Set the current process's fsuid/fsgid etc to those of the NFS
 * client user
 */
int nfsd_setuser(struct svc_cred *cred, struct svc_export *exp);

#endif /* LINUX_NFSD_AUTH_H */