| nfs-ganesha 1.4 | 
#include "config.h"#include <stdlib.h>#include <stdio.h>#include <string.h>#include "nfs_exports.h"#include "config_parsing.h"#include "log.h"#include "nfs_core.h"#include "nfs_stat.h"#include "../MainNFSD/nfs_init.h"Go to the source code of this file.
| Defines | |
| #define | OP_MOUNT 0 | 
| #define | OP_READ 1 | 
| #define | OP_WRITE 2 | 
| #define | OP_MDONLY_READ 3 | 
| #define | OP_MDONLY_WRITE 4 | 
| #define | ROOT_UID 0 | 
| #define | ROOT_GID 0 | 
| #define | USER_UID 1000 | 
| #define | USER_GID 1000 | 
| #define | ANON_UID -234 | 
| #define | ANON_GID -782 | 
| #define | INVALID_UID -9999 | 
| #define | INVALID_GID -9999 | 
| Functions | |
| void | init_vars (hash_table_t **ht_ip_stats, pool_t *ip_stats_pool) | 
| struct user_cred | test_access (char *addr, char *hostname, hash_table_t *ht_ip_stats, pool_t *ip_stats_pool, exportlist_t *pexport, int uid, int gid, int operation) | 
| int | main (int argc, char *argv[]) | 
| Variables | |
| nfs_parameter_t | nfs_param | 
| char | ganesha_exec_path [MAXPATHLEN] = "/usr/bin/gpfs.ganesha.nfsd" | 
| const char * | opnames [] = {"MOUNT", "READ", "WRITE", "MDONLY_READ", "MDONLY_WRITE" } | 
| #define ANON_GID -782 | 
Definition at line 34 of file test_anon_support.c.
| #define ANON_UID -234 | 
Definition at line 33 of file test_anon_support.c.
| #define INVALID_GID -9999 | 
Definition at line 36 of file test_anon_support.c.
| #define INVALID_UID -9999 | 
Definition at line 35 of file test_anon_support.c.
| #define OP_MDONLY_READ 3 | 
Definition at line 24 of file test_anon_support.c.
| #define OP_MDONLY_WRITE 4 | 
Definition at line 25 of file test_anon_support.c.
| #define OP_MOUNT 0 | 
Definition at line 21 of file test_anon_support.c.
| #define OP_READ 1 | 
Definition at line 22 of file test_anon_support.c.
| #define OP_WRITE 2 | 
Definition at line 23 of file test_anon_support.c.
| #define ROOT_GID 0 | 
Definition at line 30 of file test_anon_support.c.
| #define ROOT_UID 0 | 
Definition at line 29 of file test_anon_support.c.
| #define USER_GID 1000 | 
Definition at line 32 of file test_anon_support.c.
| #define USER_UID 1000 | 
Definition at line 31 of file test_anon_support.c.
| void init_vars | ( | hash_table_t ** | ht_ip_stats, | 
| pool_t * | ip_stats_pool | ||
| ) | 
Definition at line 38 of file test_anon_support.c.
| int main | ( | int | argc, | 
| char * | argv[] | ||
| ) | 
Definition at line 146 of file test_anon_support.c.
| struct user_cred test_access | ( | char * | addr, | 
| char * | hostname, | ||
| hash_table_t * | ht_ip_stats, | ||
| pool_t * | ip_stats_pool, | ||
| exportlist_t * | pexport, | ||
| int | uid, | ||
| int | gid, | ||
| int | operation | ||
| ) |  [read] | 
Definition at line 78 of file test_anon_support.c.
| char ganesha_exec_path[MAXPATHLEN] = "/usr/bin/gpfs.ganesha.nfsd" | 
Definition at line 16 of file test_anon_support.c.
Definition at line 15 of file test_anon_support.c.
| const char* opnames[] = {"MOUNT", "READ", "WRITE", "MDONLY_READ", "MDONLY_WRITE" } | 
Definition at line 27 of file test_anon_support.c.
 1.7.3
 1.7.3