#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/sunrpc/svc_xprt.h>
#include <net/net_namespace.h>
#include "idmap.h"
#include "nfsd.h"
#include "netns.h"
Go to the source code of this file.
|
| | module_param (nfs4_disable_idmapping, bool, 0644) |
| |
| | MODULE_PARM_DESC (nfs4_disable_idmapping,"Turn off server's NFSv4 idmapping when using 'sec=sys'") |
| |
| int | nfsd_idmap_init (struct net *net) |
| |
| void | nfsd_idmap_shutdown (struct net *net) |
| |
| __be32 | nfsd_map_name_to_uid (struct svc_rqst *rqstp, const char *name, size_t namelen, __u32 *id) |
| |
| __be32 | nfsd_map_name_to_gid (struct svc_rqst *rqstp, const char *name, size_t namelen, __u32 *id) |
| |
| int | nfsd_map_uid_to_name (struct svc_rqst *rqstp, __u32 id, char *name) |
| |
| int | nfsd_map_gid_to_name (struct svc_rqst *rqstp, __u32 id, char *name) |
| |
| #define IDMAP_TYPE_GROUP 1 |
| #define IDMAP_TYPE_USER 0 |
| module_param |
( |
nfs4_disable_idmapping |
, |
|
|
bool |
, |
|
|
0644 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
nfs4_disable_idmapping |
| ) |
|