From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- fs/nfsd/auth.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 fs/nfsd/auth.h (limited to 'fs/nfsd/auth.h') diff --git a/fs/nfsd/auth.h b/fs/nfsd/auth.h new file mode 100644 index 00000000..53325a12 --- /dev/null +++ b/fs/nfsd/auth.h @@ -0,0 +1,16 @@ +/* + * nfsd-specific authentication stuff. + * + * Copyright (C) 1995, 1996 Olaf Kirch + */ + +#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_rqst *, struct svc_export *); + +#endif /* LINUX_NFSD_AUTH_H */ -- cgit v1.3.1