vfs_export.c (297223) | vfs_export.c (298069) |
---|---|
1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 35 */ 36 37#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 21 unchanged lines hidden (view full) --- 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/kern/vfs_export.c 297223 2016-03-24 04:40:07Z bdrewery $"); | 38__FBSDID("$FreeBSD: head/sys/kern/vfs_export.c 298069 2016-04-15 16:10:11Z pfg $"); |
39 40#include "opt_inet.h" 41#include "opt_inet6.h" 42 43#include <sys/param.h> 44#include <sys/dirent.h> 45#include <sys/jail.h> 46#include <sys/kernel.h> --- 50 unchanged lines hidden (view full) --- 97static int 98vfs_hang_addrlist(struct mount *mp, struct netexport *nep, 99 struct export_args *argp) 100{ 101 register struct netcred *np; 102 register struct radix_node_head *rnh; 103 register int i; 104 struct radix_node *rn; | 39 40#include "opt_inet.h" 41#include "opt_inet6.h" 42 43#include <sys/param.h> 44#include <sys/dirent.h> 45#include <sys/jail.h> 46#include <sys/kernel.h> --- 50 unchanged lines hidden (view full) --- 97static int 98vfs_hang_addrlist(struct mount *mp, struct netexport *nep, 99 struct export_args *argp) 100{ 101 register struct netcred *np; 102 register struct radix_node_head *rnh; 103 register int i; 104 struct radix_node *rn; |
105 struct sockaddr *saddr, *smask = 0; | 105 struct sockaddr *saddr, *smask = NULL; |
106#if defined(INET6) || defined(INET) 107 int off; 108#endif 109 int error; 110 111 /* 112 * XXX: This routine converts from a `struct xucred' 113 * (argp->ex_anon) to a `struct ucred' (np->netc_anon). This --- 407 unchanged lines hidden --- | 106#if defined(INET6) || defined(INET) 107 int off; 108#endif 109 int error; 110 111 /* 112 * XXX: This routine converts from a `struct xucred' 113 * (argp->ex_anon) to a `struct ucred' (np->netc_anon). This --- 407 unchanged lines hidden --- |