Deleted Added
full compact
nfsargs.h (22975) nfsargs.h (24330)
1/*
2 * Copyright (c) 1989, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs.h 8.4 (Berkeley) 5/1/95
1/*
2 * Copyright (c) 1989, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs.h 8.4 (Berkeley) 5/1/95
37 * $Id$
37 * $Id: nfs.h,v 1.22 1997/02/22 09:42:34 peter Exp $
38 */
39
40#ifndef _NFS_NFS_H_
41#define _NFS_NFS_H_
42
43/*
44 * Tunable constants for nfs
45 */

--- 273 unchanged lines hidden (view full) ---

319#define NFSSVC_GOTAUTH 0x040
320#define NFSSVC_AUTHINFAIL 0x080
321#define NFSSVC_MNTD 0x100
322
323/*
324 * fs.nfs sysctl(3) identifiers
325 */
326#define NFS_NFSSTATS 1 /* struct: struct nfsstats */
38 */
39
40#ifndef _NFS_NFS_H_
41#define _NFS_NFS_H_
42
43/*
44 * Tunable constants for nfs
45 */

--- 273 unchanged lines hidden (view full) ---

319#define NFSSVC_GOTAUTH 0x040
320#define NFSSVC_AUTHINFAIL 0x080
321#define NFSSVC_MNTD 0x100
322
323/*
324 * fs.nfs sysctl(3) identifiers
325 */
326#define NFS_NFSSTATS 1 /* struct: struct nfsstats */
327#define NFS_NFSPRIVPORT 2 /* int: prohibit nfs to resvports */
327
328#define FS_NFS_NAMES { \
329 { 0, 0 }, \
330 { "nfsstats", CTLTYPE_STRUCT }, \
328
329#define FS_NFS_NAMES { \
330 { 0, 0 }, \
331 { "nfsstats", CTLTYPE_STRUCT }, \
332 { "nfsprivport", CTLTYPE_INT }, \
331}
332
333/*
334 * The set of signals the interrupt an I/O in progress for NFSMNT_INT mounts.
335 * What should be in this set is open to debate, but I believe that since
336 * I/O system calls on ufs are never interrupted by signals the set should
337 * be minimal. My reasoning is that many current programs that use signals
338 * such as SIGALRM will not expect file I/O system calls to be interrupted

--- 333 unchanged lines hidden ---
333}
334
335/*
336 * The set of signals the interrupt an I/O in progress for NFSMNT_INT mounts.
337 * What should be in this set is open to debate, but I believe that since
338 * I/O system calls on ufs are never interrupted by signals the set should
339 * be minimal. My reasoning is that many current programs that use signals
340 * such as SIGALRM will not expect file I/O system calls to be interrupted

--- 333 unchanged lines hidden ---