blob: 53325a12ba62a05335c7989f658373ba41e18b0f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 * nfsd-specific authentication stuff.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
4 * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
5 */
6
7#ifndef LINUX_NFSD_AUTH_H
8#define LINUX_NFSD_AUTH_H
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010/*
11 * Set the current process's fsuid/fsgid etc to those of the NFS
12 * client user
13 */
14int nfsd_setuser(struct svc_rqst *, struct svc_export *);
15
Linus Torvalds1da177e2005-04-16 15:20:36 -070016#endif /* LINUX_NFSD_AUTH_H */