1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
27 lines
615 B
C
27 lines
615 B
C
/*
|
|
* include/linux/nfsd/auth.h
|
|
*
|
|
* nfsd-specific authentication stuff.
|
|
* uid/gid mapping not yet implemented.
|
|
*
|
|
* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
|
|
*/
|
|
|
|
#ifndef LINUX_NFSD_AUTH_H
|
|
#define LINUX_NFSD_AUTH_H
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
#define nfsd_luid(rq, uid) ((u32)(uid))
|
|
#define nfsd_lgid(rq, gid) ((u32)(gid))
|
|
#define nfsd_ruid(rq, uid) ((u32)(uid))
|
|
#define nfsd_rgid(rq, gid) ((u32)(gid))
|
|
|
|
/*
|
|
* 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 /* __KERNEL__ */
|
|
#endif /* LINUX_NFSD_AUTH_H */
|