blob: dbd66424f600be9faff713408c12eb6499194e06 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 * nfsd-specific authentication stuff.
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 *
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070011/*
12 * Set the current process's fsuid/fsgid etc to those of the NFS
13 * client user
14 */
15int nfsd_setuser(struct svc_rqst *, struct svc_export *);
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#endif /* LINUX_NFSD_AUTH_H */