lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 1994-2000 Eric Youngdale, Peter MacDonald, David Engel, |
| 3 | * Hongjiu Lu and Mitch D'Souza |
| 4 | * |
| 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. The name of the above contributors may not be |
| 13 | * used to endorse or promote products derived from this software |
| 14 | * without specific prior written permission. |
| 15 | * |
| 16 | * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND |
| 17 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 18 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 19 | * ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE |
| 20 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 21 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 22 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 23 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 24 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 25 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 26 | * SUCH DAMAGE. |
| 27 | */ |
| 28 | |
| 29 | /* Notice of general intent: |
| 30 | * |
| 31 | * The linux operating system generally contains large amounts of code |
| 32 | * that fall under the GNU General Public License, or GPL for short. |
| 33 | * This file contains source code that by it's very nature would always |
| 34 | * be linked with an application program, and because of this a GPL |
| 35 | * type of copyright on this file would place restrictions upon the |
| 36 | * distribution of binary-only commercial software. Since the goal of |
| 37 | * the Linux project as a whole is not to discourage the development and |
| 38 | * distribution of commercial software for Linux, this file has been |
| 39 | * placed under a more relaxed BSD-style of copyright. |
| 40 | * |
| 41 | * It is the general understanding of the above contributors that a |
| 42 | * program executable linked to a library containing code that falls |
| 43 | * under the GPL or GLPL style of license is not subject to the terms of |
| 44 | * the GPL or GLPL license if the program executable(s) that are supplied |
| 45 | * are linked to a shared library form of the GPL or GLPL library, and as |
| 46 | * long as the form of the shared library is such that it is possible for |
| 47 | * the end user to modify and rebuild the library and use it in |
| 48 | * conjunction with the program executable. |
| 49 | */ |