diff options
author | Damien Miller <djm@mindrot.org> | 2003-06-02 18:59:08 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-06-02 18:59:08 +1000 |
commit | f46844214d5c902ef2e0302a4b691a7abfc35652 (patch) | |
tree | 7d910919c604d5aaacf8fe2dadb06bb82fd58a2a /openbsd-compat | |
parent | dcc8312a197384167ddf55741090b7bddf92d34e (diff) |
- (djm) Sync license on openbsd-compat/bindresvport.c with OpenBSD CVS
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bindresvport.c | 63 |
1 files changed, 26 insertions, 37 deletions
diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c index 620f980ed..8a273f9b5 100644 --- a/openbsd-compat/bindresvport.c +++ b/openbsd-compat/bindresvport.c | |||
@@ -1,48 +1,37 @@ | |||
1 | /* This file has be modified from the original OpenBSD source */ | 1 | /* This file has be substantially modified from the original OpenBSD source */ |
2 | |||
3 | /* $OpenBSD: bindresvport.c,v 1.15 2003/05/20 22:42:35 deraadt Exp $ */ | ||
2 | 4 | ||
3 | /* | 5 | /* |
4 | * Sun RPC is a product of Sun Microsystems, Inc. and is provided for | 6 | * Copyright 1996, Jason Downs. All rights reserved. |
5 | * unrestricted use provided that this legend is included on all tape | 7 | * Copyright 1998, Theo de Raadt. All rights reserved. |
6 | * media and as a part of the software program in whole or part. Users | 8 | * Copyright 2000, Damien Miller. All rights reserved. |
7 | * may copy or modify Sun RPC without charge, but are not authorized | 9 | * |
8 | * to license or distribute it to anyone else except as part of a product or | 10 | * Redistribution and use in source and binary forms, with or without |
9 | * program developed by the user. | 11 | * modification, are permitted provided that the following conditions |
10 | * | 12 | * are met: |
11 | * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE | 13 | * 1. Redistributions of source code must retain the above copyright |
12 | * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR | 14 | * notice, this list of conditions and the following disclaimer. |
13 | * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. | 15 | * 2. Redistributions in binary form must reproduce the above copyright |
14 | * | 16 | * notice, this list of conditions and the following disclaimer in the |
15 | * Sun RPC is provided with no support and without any obligation on the | 17 | * documentation and/or other materials provided with the distribution. |
16 | * part of Sun Microsystems, Inc. to assist in its use, correction, | 18 | * |
17 | * modification or enhancement. | 19 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
18 | * | 20 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
19 | * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE | 21 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
20 | * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC | 22 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
21 | * OR ANY PART THEREOF. | 23 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
22 | * | 24 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
23 | * In no event will Sun Microsystems, Inc. be liable for any lost revenue | 25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 | * or profits or other special, indirect and consequential damages, even if | 26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * Sun has been advised of the possibility of such damages. | 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * | 28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | * Sun Microsystems, Inc. | ||
28 | * 2550 Garcia Avenue | ||
29 | * Mountain View, California 94043 | ||
30 | */ | 29 | */ |
31 | 30 | ||
32 | #include "includes.h" | 31 | #include "includes.h" |
33 | 32 | ||
34 | #ifndef HAVE_BINDRESVPORT_SA | 33 | #ifndef HAVE_BINDRESVPORT_SA |
35 | 34 | ||
36 | #if defined(LIBC_SCCS) && !defined(lint) | ||
37 | static char *rcsid = "$OpenBSD: bindresvport.c,v 1.13 2000/01/26 03:43:21 deraadt Exp $"; | ||
38 | #endif /* LIBC_SCCS and not lint */ | ||
39 | |||
40 | /* | ||
41 | * Copyright (c) 1987 by Sun Microsystems, Inc. | ||
42 | * | ||
43 | * Portions Copyright(C) 1996, Jason Downs. All rights reserved. | ||
44 | */ | ||
45 | |||
46 | #include "includes.h" | 35 | #include "includes.h" |
47 | 36 | ||
48 | #define STARTPORT 600 | 37 | #define STARTPORT 600 |