summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormillert <>2002-03-12 00:05:44 +0000
committermillert <>2002-03-12 00:05:44 +0000
commitf39945c2b3b0f9e4950384bdb8effdac6eed9199 (patch)
tree4a1f7858c9d95a79f450660a17e290f8a17d8f74
parent615f8c2ed7f780a7d7b9e1387bde138159a2e973 (diff)
downloadopenbsd-f39945c2b3b0f9e4950384bdb8effdac6eed9199.tar.gz
openbsd-f39945c2b3b0f9e4950384bdb8effdac6eed9199.tar.bz2
openbsd-f39945c2b3b0f9e4950384bdb8effdac6eed9199.zip
Tack on MagniComp (BSD) license since this originally came from rdist.
-rw-r--r--src/lib/libc/net/rcmdsh.c32
1 files changed, 30 insertions, 2 deletions
diff --git a/src/lib/libc/net/rcmdsh.c b/src/lib/libc/net/rcmdsh.c
index 5ce3ec0fef..a1c7e7d6b8 100644
--- a/src/lib/libc/net/rcmdsh.c
+++ b/src/lib/libc/net/rcmdsh.c
@@ -1,4 +1,32 @@
1/* $OpenBSD: rcmdsh.c,v 1.6 2002/01/02 20:18:32 deraadt Exp $ */ 1/* $OpenBSD: rcmdsh.c,v 1.7 2002/03/12 00:05:44 millert Exp $ */
2
3/*
4 * Copyright (c) 2001, MagniComp
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the distribution.
15 * 3. Neither the name of the MagniComp nor the names of its contributors may
16 * be used to endorse or promote products derived from this software
17 * without specific prior written permission.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
28 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
2 30
3/* 31/*
4 * This is an rcmd() replacement originally by 32 * This is an rcmd() replacement originally by
@@ -6,7 +34,7 @@
6 */ 34 */
7 35
8#if defined(LIBC_SCCS) && !defined(lint) 36#if defined(LIBC_SCCS) && !defined(lint)
9static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.6 2002/01/02 20:18:32 deraadt Exp $"; 37static char *rcsid = "$OpenBSD: rcmdsh.c,v 1.7 2002/03/12 00:05:44 millert Exp $";
10#endif /* LIBC_SCCS and not lint */ 38#endif /* LIBC_SCCS and not lint */
11 39
12#include <sys/types.h> 40#include <sys/types.h>