mountd.c (241568) | mountd.c (244538) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Herb Hasler and Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 29 unchanged lines hidden (view full) --- 38 39#if 0 40#ifndef lint 41static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95"; 42#endif /*not lint*/ 43#endif 44 45#include <sys/cdefs.h> | 1/* 2 * Copyright (c) 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Herb Hasler and Rick Macklem at The University of Guelph. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 29 unchanged lines hidden (view full) --- 38 39#if 0 40#ifndef lint 41static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95"; 42#endif /*not lint*/ 43#endif 44 45#include <sys/cdefs.h> |
46__FBSDID("$FreeBSD: head/usr.sbin/mountd/mountd.c 241568 2012-10-15 00:17:16Z rmacklem $"); | 46__FBSDID("$FreeBSD: head/usr.sbin/mountd/mountd.c 244538 2012-12-21 15:54:13Z kevlo $"); |
47 48#include <sys/param.h> 49#include <sys/fcntl.h> 50#include <sys/linker.h> 51#include <sys/module.h> 52#include <sys/mount.h> 53#include <sys/stat.h> 54#include <sys/sysctl.h> --- 589 unchanged lines hidden (view full) --- 644 sock_fd[sock_fdcnt++] = -1; /* Set invalid for now. */ 645 mallocd_res = 0; 646 647 /* 648 * XXX - using RPC library internal functions. 649 */ 650 if ((fd = __rpc_nconf2fd(nconf)) < 0) { 651 int non_fatal = 0; | 47 48#include <sys/param.h> 49#include <sys/fcntl.h> 50#include <sys/linker.h> 51#include <sys/module.h> 52#include <sys/mount.h> 53#include <sys/stat.h> 54#include <sys/sysctl.h> --- 589 unchanged lines hidden (view full) --- 644 sock_fd[sock_fdcnt++] = -1; /* Set invalid for now. */ 645 mallocd_res = 0; 646 647 /* 648 * XXX - using RPC library internal functions. 649 */ 650 if ((fd = __rpc_nconf2fd(nconf)) < 0) { 651 int non_fatal = 0; |
652 if (errno == EPROTONOSUPPORT && | 652 if (errno == EAFNOSUPPORT && |
653 nconf->nc_semantics != NC_TPI_CLTS) 654 non_fatal = 1; 655 656 syslog(non_fatal ? LOG_DEBUG : LOG_ERR, 657 "cannot create socket for %s", nconf->nc_netid); 658 if (non_fatal != 0) 659 continue; 660 exit(1); --- 2562 unchanged lines hidden --- | 653 nconf->nc_semantics != NC_TPI_CLTS) 654 non_fatal = 1; 655 656 syslog(non_fatal ? LOG_DEBUG : LOG_ERR, 657 "cannot create socket for %s", nconf->nc_netid); 658 if (non_fatal != 0) 659 continue; 660 exit(1); --- 2562 unchanged lines hidden --- |