"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "utils/mountd/auth.c" between
nfs-utils-2.5.2.tar.xz and nfs-utils-2.5.3.tar.xz

About: nfs-utils is a Linux NFS utility package.

auth.c  (nfs-utils-2.5.2.tar.xz):auth.c  (nfs-utils-2.5.3.tar.xz)
skipping to change at line 25 skipping to change at line 25
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include "sockaddr.h" #include "sockaddr.h"
#include "misc.h" #include "misc.h"
#include "nfslib.h" #include "nfslib.h"
#include "exportfs.h" #include "exportfs.h"
#include "mountd.h" #include "export.h"
#include "v4root.h" #include "v4root.h"
enum auth_error enum auth_error
{ {
bad_path, bad_path,
unknown_host, unknown_host,
no_entry, no_entry,
not_exported, not_exported,
illegal_port, illegal_port,
success success
}; };
static void auth_fixpath(char *path); static void auth_fixpath(char *path);
static nfs_export my_exp; static nfs_export my_exp;
static nfs_client my_client; static nfs_client my_client;
extern int use_ipaddr; extern int use_ipaddr;
extern struct state_paths etab; extern struct state_paths etab;
/*
void void
auth_init(void) auth_init(void)
{ {
auth_reload(); auth_reload();
} }
*/
/* /*
* A client can match many different netgroups and it's tough to know * A client can match many different netgroups and it's tough to know
* beforehand whether it will. If the concatenated string of netgroup * beforehand whether it will. If the concatenated string of netgroup
* m_hostnames is >512 bytes, then enable the "use_ipaddr" mode. This * m_hostnames is >512 bytes, then enable the "use_ipaddr" mode. This
* makes mountd change how it matches a client ip address when a mount * makes mountd change how it matches a client ip address when a mount
* request comes in. It's more efficient at handling netgroups at the * request comes in. It's more efficient at handling netgroups at the
* expense of larger kernel caches. * expense of larger kernel caches.
*/ */
static void static void
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)