Unix CM: Use macros for process name and id access
[openafs.git] / src / LICENSE
1    IBM Public License Version 1.0
2    
3    THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM
4    PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF
5    THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
6    
7    1. DEFINITIONS
8    
9    "Contribution" means:
10    a) in the case of International Business Machines Corporation ("IBM"),
11        the Original Program, and
12        
13    b) in the case of each Contributor,
14        
15    i) changes to the Program, and
16        
17    ii) additions to the Program;
18        
19    where such changes and/or additions to the Program originate from and
20        are distributed by that particular Contributor. A Contribution
21        'originates' from a Contributor if it was added to the Program by
22        such Contributor itself or anyone acting on such Contributor's
23        behalf. Contributions do not include additions to the Program
24        which: (i) are separate modules of software distributed in
25        conjunction with the Program under their own license agreement,
26        and (ii) are not derivative works of the Program.
27        
28    "Contributor" means IBM and any other entity that distributes the
29    Program.
30    
31    "Licensed Patents " mean patent claims licensable by a Contributor
32    which are necessarily infringed by the use or sale of its Contribution
33    alone or when combined with the Program.
34    
35    "Original Program" means the original version of the software
36    accompanying this Agreement as released by IBM, including source code,
37    object code and documentation, if any.
38    
39    "Program" means the Original Program and Contributions.
40    
41    "Recipient" means anyone who receives the Program under this
42    Agreement, including all Contributors.
43    
44    2. GRANT OF RIGHTS
45    a) Subject to the terms of this Agreement, each Contributor hereby
46        grants Recipient a non-exclusive, worldwide, royalty-free
47        copyright license to reproduce, prepare derivative works of,
48        publicly display, publicly perform, distribute and sublicense the
49        Contribution of such Contributor, if any, and such derivative
50        works, in source code and object code form.
51        
52    b) Subject to the terms of this Agreement, each Contributor hereby
53        grants Recipient a non-exclusive, worldwide, royalty-free patent
54        license under Licensed Patents to make, use, sell, offer to sell,
55        import and otherwise transfer the Contribution of such
56        Contributor, if any, in source code and object code form. This
57        patent license shall apply to the combination of the Contribution
58        and the Program if, at the time the Contribution is added by the
59        Contributor, such addition of the Contribution causes such
60        combination to be covered by the Licensed Patents. The patent
61        license shall not apply to any other combinations which include
62        the Contribution. No hardware per se is licensed hereunder.
63        
64    c) Recipient understands that although each Contributor grants the
65        licenses to its Contributions set forth herein, no assurances are
66        provided by any Contributor that the Program does not infringe the
67        patent or other intellectual property rights of any other entity.
68        Each Contributor disclaims any liability to Recipient for claims
69        brought by any other entity based on infringement of intellectual
70        property rights or otherwise. As a condition to exercising the
71        rights and licenses granted hereunder, each Recipient hereby
72        assumes sole responsibility to secure any other intellectual
73        property rights needed, if any. For example, if a third party
74        patent license is required to allow Recipient to distribute the
75        Program, it is Recipient's responsibility to acquire that license
76        before distributing the Program.
77        
78    d) Each Contributor represents that to its knowledge it has sufficient
79        copyright rights in its Contribution, if any, to grant the
80        copyright license set forth in this Agreement.
81        
82    3. REQUIREMENTS
83    
84    A Contributor may choose to distribute the Program in object code form
85    under its own license agreement, provided that:
86    a) it complies with the terms and conditions of this Agreement; and
87        
88    b) its license agreement:
89        
90    i) effectively disclaims on behalf of all Contributors all warranties
91        and conditions, express and implied, including warranties or
92        conditions of title and non-infringement, and implied warranties
93        or conditions of merchantability and fitness for a particular
94        purpose;
95        
96    ii) effectively excludes on behalf of all Contributors all liability
97        for damages, including direct, indirect, special, incidental and
98        consequential damages, such as lost profits;
99        
100    iii) states that any provisions which differ from this Agreement are
101        offered by that Contributor alone and not by any other party; and
102        
103    iv) states that source code for the Program is available from such
104        Contributor, and informs licensees how to obtain it in a
105        reasonable manner on or through a medium customarily used for
106        software exchange.
107        
108    When the Program is made available in source code form:
109    a) it must be made available under this Agreement; and
110        
111    b) a copy of this Agreement must be included with each copy of the
112        Program.
113        
114    Each Contributor must include the following in a conspicuous location
115    in the Program:
116    
117    Copyright © {date here}, International Business Machines Corporation
118        and others. All Rights Reserved.
119        
120    In addition, each Contributor must identify itself as the originator
121    of its Contribution, if any, in a manner that reasonably allows
122    subsequent Recipients to identify the originator of the Contribution.
123    
124    4. COMMERCIAL DISTRIBUTION
125    
126    Commercial distributors of software may accept certain
127    responsibilities with respect to end users, business partners and the
128    like. While this license is intended to facilitate the commercial use
129    of the Program, the Contributor who includes the Program in a
130    commercial product offering should do so in a manner which does not
131    create potential liability for other Contributors. Therefore, if a
132    Contributor includes the Program in a commercial product offering,
133    such Contributor ("Commercial Contributor") hereby agrees to defend
134    and indemnify every other Contributor ("Indemnified Contributor")
135    against any losses, damages and costs (collectively "Losses") arising
136    from claims, lawsuits and other legal actions brought by a third party
137    against the Indemnified Contributor to the extent caused by the acts
138    or omissions of such Commercial Contributor in connection with its
139    distribution of the Program in a commercial product offering. The
140    obligations in this section do not apply to any claims or Losses
141    relating to any actual or alleged intellectual property infringement.
142    In order to qualify, an Indemnified Contributor must: a) promptly
143    notify the Commercial Contributor in writing of such claim, and b)
144    allow the Commercial Contributor to control, and cooperate with the
145    Commercial Contributor in, the defense and any related settlement
146    negotiations. The Indemnified Contributor may participate in any such
147    claim at its own expense.
148    
149    For example, a Contributor might include the Program in a commercial
150    product offering, Product X. That Contributor is then a Commercial
151    Contributor. If that Commercial Contributor then makes performance
152    claims, or offers warranties related to Product X, those performance
153    claims and warranties are such Commercial Contributor's responsibility
154    alone. Under this section, the Commercial Contributor would have to
155    defend claims against the other Contributors related to those
156    performance claims and warranties, and if a court requires any other
157    Contributor to pay any damages as a result, the Commercial Contributor
158    must pay those damages.
159    
160    5. NO WARRANTY
161    
162    EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
163    PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
164    KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
165    WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
166    OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
167    responsible for determining the appropriateness of using and
168    distributing the Program and assumes all risks associated with its
169    exercise of rights under this Agreement, including but not limited to
170    the risks and costs of program errors, compliance with applicable
171    laws, damage to or loss of data, programs or equipment, and
172    unavailability or interruption of operations.
173    
174    6. DISCLAIMER OF LIABILITY
175    
176    EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR
177    ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT,
178    INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING
179    WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF
180    LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
181    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR
182    DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
183    HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
184    
185    7. GENERAL
186    
187    If any provision of this Agreement is invalid or unenforceable under
188    applicable law, it shall not affect the validity or enforceability of
189    the remainder of the terms of this Agreement, and without further
190    action by the parties hereto, such provision shall be reformed to the
191    minimum extent necessary to make such provision valid and enforceable.
192    
193    If Recipient institutes patent litigation against a Contributor with
194    respect to a patent applicable to software (including a cross-claim or
195    counterclaim in a lawsuit), then any patent licenses granted by that
196    Contributor to such Recipient under this Agreement shall terminate as
197    of the date such litigation is filed. In addition, If Recipient
198    institutes patent litigation against any entity (including a
199    cross-claim or counterclaim in a lawsuit) alleging that the Program
200    itself (excluding combinations of the Program with other software or
201    hardware) infringes such Recipient's patent(s), then such Recipient's
202    rights granted under Section 2(b) shall terminate as of the date such
203    litigation is filed.
204    
205    All Recipient's rights under this Agreement shall terminate if it
206    fails to comply with any of the material terms or conditions of this
207    Agreement and does not cure such failure in a reasonable period of
208    time after becoming aware of such noncompliance. If all Recipient's
209    rights under this Agreement terminate, Recipient agrees to cease use
210    and distribution of the Program as soon as reasonably practicable.
211    However, Recipient's obligations under this Agreement and any licenses
212    granted by Recipient relating to the Program shall continue and
213    survive.
214    
215    IBM may publish new versions (including revisions) of this Agreement
216    from time to time. Each new version of the Agreement will be given a
217    distinguishing version number. The Program (including Contributions)
218    may always be distributed subject to the version of the Agreement
219    under which it was received. In addition, after a new version of the
220    Agreement is published, Contributor may elect to distribute the
221    Program (including its Contributions) under the new version. No one
222    other than IBM has the right to modify this Agreement. Except as
223    expressly stated in Sections 2(a) and 2(b) above, Recipient receives
224    no rights or licenses to the intellectual property of any Contributor
225    under this Agreement, whether expressly, by implication, estoppel or
226    otherwise. All rights in the Program not expressly granted under this
227    Agreement are reserved.
228    
229    This Agreement is governed by the laws of the State of New York and
230    the intellectual property laws of the United States of America. No
231    party to this Agreement will bring a legal action under this Agreement
232    more than one year after the cause of action arose. Each party waives
233    its rights to a jury trial in any resulting litigation.
234
235 OpenAFS contains code licensed under a standard 3-term BSD license with
236 the following names as copyright holders:
237
238 Kungliga Tekniska Högskolan (Royal Institute of Technology, Stockholm, Sweden)
239 Sine Nomine Associates
240
241  * Redistribution and use in source and binary forms, with or without
242  * modification, are permitted provided that the following conditions
243  * are met:
244  *
245  * 1. Redistributions of source code must retain the above copyright
246  *    notice, this list of conditions and the following disclaimer.
247  *
248  * 2. Redistributions in binary form must reproduce the above copyright
249  *    notice, this list of conditions and the following disclaimer in the
250  *    documentation and/or other materials provided with the distribution.
251  *
252  * 3. Neither the name of the copyright holder nor the names of its
253  *    contributors may be used to endorse or promote products derived from
254  *    this software without specific prior written permission.
255  * 
256  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
257  * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
258  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
259  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
260  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
261  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
262  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
263  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
264  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
265  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
266  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
267
268 Some code in rxkad/ticket5.c is subject to the following copyright:
269 /*
270  * Copyright 1992, 2002 by the Massachusetts Institute of Technology.
271  * All Rights Reserved.
272  *
273  * Export of this software from the United States of America may
274  *   require a specific license from the United States Government.
275  *   It is the responsibility of any person or organization contemplating
276  *   export to obtain such a license before exporting.
277  * 
278  * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
279  * distribute this software and its documentation for any purpose and
280  * without fee is hereby granted, provided that the above copyright
281  * notice appear in all copies and that both that copyright notice and
282  * this permission notice appear in supporting documentation, and that
283  * the name of M.I.T. not be used in advertising or publicity pertaining
284  * to distribution of the software without specific, written prior
285  * permission.  Furthermore if you modify this software you must label
286  * your software as modified software and not distribute it in such a
287  * fashion that it might be confused with the original M.I.T. software.
288  * M.I.T. makes no representations about the suitability of
289  * this software for any purpose.  It is provided "as is" without express
290  * or implied warranty.
291  */
292
293 aklog/ka-forwarder.c is subject to the following copyright:
294 /*
295  * Copyright (c) 1993 Carnegie Mellon University
296  * All Rights Reserved.
297  * 
298  * Permission to use, copy, modify and distribute this software and its
299  * documentation is hereby granted, provided that both the copyright
300  * notice and this permission notice appear in all copies of the
301  * software, derivative works or modified versions, and any portions
302  * thereof, and that both notices appear in supporting documentation.
303  *
304  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
305  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
306  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
307  *
308  * Carnegie Mellon requests users of this software to return to
309  *
310  *  Software Distribution Coordinator  or  Software_Distribution@CS.CMU.EDU
311  *  School of Computer Science
312  *  Carnegie Mellon University
313  *  Pittsburgh PA 15213-3890
314  *
315  * any improvements or extensions that they make and grant Carnegie Mellon
316  * the rights to redistribute these changes.
317  */
318
319 afssettings is subject to the following license:
320 APPLE PUBLIC SOURCE LICENSE
321 Version 2.0 - August 6, 2003
322
323 Please read this License carefully before downloading this software.
324 By downloading or using this software, you are agreeing to be bound by
325 the terms of this License. If you do not or cannot agree to the terms
326 of this License, please do not download or use the software.
327
328 1. General; Definitions. This License applies to any program or other
329 work which Apple Computer, Inc. ("Apple") makes publicly available and
330 which contains a notice placed by Apple identifying such program or
331 work as "Original Code" and stating that it is subject to the terms of
332 this Apple Public Source License version 2.0 ("License"). As used in
333 this License:
334
335 1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is
336 the grantor of rights, (i) claims of patents that are now or hereafter
337 acquired, owned by or assigned to Apple and (ii) that cover subject
338 matter contained in the Original Code, but only to the extent
339 necessary to use, reproduce and/or distribute the Original Code
340 without infringement; and (b) in the case where You are the grantor of
341 rights, (i) claims of patents that are now or hereafter acquired,
342 owned by or assigned to You and (ii) that cover subject matter in Your
343 Modifications, taken alone or in combination with Original Code.
344
345 1.2 "Contributor" means any person or entity that creates or
346 contributes to the creation of Modifications.
347
348 1.3 "Covered Code" means the Original Code, Modifications, the
349 combination of Original Code and any Modifications, and/or any
350 respective portions thereof.
351
352 1.4 "Externally Deploy" means: (a) to sublicense, distribute or
353 otherwise make Covered Code available, directly or indirectly, to
354 anyone other than You; and/or (b) to use Covered Code, alone or as
355 part of a Larger Work, in any way to provide a service, including but
356 not limited to delivery of content, through electronic communication
357 with a client other than You.
358
359 1.5 "Larger Work" means a work which combines Covered Code or portions
360 thereof with code not governed by the terms of this License.
361
362 1.6 "Modifications" mean any addition to, deletion from, and/or change
363 to, the substance and/or structure of the Original Code, any previous
364 Modifications, the combination of Original Code and any previous
365 Modifications, and/or any respective portions thereof. When code is
366 released as a series of files, a Modification is: (a) any addition to
367 or deletion from the contents of a file containing Covered Code;
368 and/or (b) any new file or other representation of computer program
369 statements that contains any part of Covered Code.
370
371 1.7 "Original Code" means (a) the Source Code of a program or other
372 work as originally made available by Apple under this License,
373 including the Source Code of any updates or upgrades to such programs
374 or works made available by Apple under this License, and that has been
375 expressly identified by Apple as such in the header file(s) of such
376 work; and (b) the object code compiled from such Source Code and
377 originally made available by Apple under this License.
378
379 1.8 "Source Code" means the human readable form of a program or other
380 work that is suitable for making modifications to it, including all
381 modules it contains, plus any associated interface definition files,
382 scripts used to control compilation and installation of an executable
383 (object code).
384
385 1.9 "You" or "Your" means an individual or a legal entity exercising
386 rights under this License. For legal entities, "You" or "Your"
387 includes any entity which controls, is controlled by, or is under
388 common control with, You, where "control" means (a) the power, direct
389 or indirect, to cause the direction or management of such entity,
390 whether by contract or otherwise, or (b) ownership of fifty percent
391 (50%) or more of the outstanding shares or beneficial ownership of
392 such entity.
393
394 2. Permitted Uses; Conditions & Restrictions. Subject to the terms
395 and conditions of this License, Apple hereby grants You, effective on
396 the date You accept this License and download the Original Code, a
397 world-wide, royalty-free, non-exclusive license, to the extent of
398 Apple's Applicable Patent Rights and copyrights covering the Original
399 Code, to do the following:
400
401 2.1 Unmodified Code. You may use, reproduce, display, perform,
402 internally distribute within Your organization, and Externally Deploy
403 verbatim, unmodified copies of the Original Code, for commercial or
404 non-commercial purposes, provided that in each instance:
405
406 (a) You must retain and reproduce in all copies of Original Code the
407 copyright and other proprietary notices and disclaimers of Apple as
408 they appear in the Original Code, and keep intact all notices in the
409 Original Code that refer to this License; and
410
411 (b) You must include a copy of this License with every copy of Source
412 Code of Covered Code and documentation You distribute or Externally
413 Deploy, and You may not offer or impose any terms on such Source Code
414 that alter or restrict this License or the recipients' rights
415 hereunder, except as permitted under Section 6.
416
417 2.2 Modified Code. You may modify Covered Code and use, reproduce,
418 display, perform, internally distribute within Your organization, and
419 Externally Deploy Your Modifications and Covered Code, for commercial
420 or non-commercial purposes, provided that in each instance You also
421 meet all of these conditions:
422
423 (a) You must satisfy all the conditions of Section 2.1 with respect to
424 the Source Code of the Covered Code;
425
426 (b) You must duplicate, to the extent it does not already exist, the
427 notice in Exhibit A in each file of the Source Code of all Your
428 Modifications, and cause the modified files to carry prominent notices
429 stating that You changed the files and the date of any change; and
430
431 (c) If You Externally Deploy Your Modifications, You must make
432 Source Code of all Your Externally Deployed Modifications either
433 available to those to whom You have Externally Deployed Your
434 Modifications, or publicly available. Source Code of Your Externally
435 Deployed Modifications must be released under the terms set forth in
436 this License, including the license grants set forth in Section 3
437 below, for as long as you Externally Deploy the Covered Code or twelve
438 (12) months from the date of initial External Deployment, whichever is
439 longer. You should preferably distribute the Source Code of Your
440 Externally Deployed Modifications electronically (e.g. download from a
441 web site).
442
443 2.3 Distribution of Executable Versions. In addition, if You
444 Externally Deploy Covered Code (Original Code and/or Modifications) in
445 object code, executable form only, You must include a prominent
446 notice, in the code itself as well as in related documentation,
447 stating that Source Code of the Covered Code is available under the
448 terms of this License with information on how and where to obtain such
449 Source Code.
450
451 2.4 Third Party Rights. You expressly acknowledge and agree that
452 although Apple and each Contributor grants the licenses to their
453 respective portions of the Covered Code set forth herein, no
454 assurances are provided by Apple or any Contributor that the Covered
455 Code does not infringe the patent or other intellectual property
456 rights of any other entity. Apple and each Contributor disclaim any
457 liability to You for claims brought by any other entity based on
458 infringement of intellectual property rights or otherwise. As a
459 condition to exercising the rights and licenses granted hereunder, You
460 hereby assume sole responsibility to secure any other intellectual
461 property rights needed, if any. For example, if a third party patent
462 license is required to allow You to distribute the Covered Code, it is
463 Your responsibility to acquire that license before distributing the
464 Covered Code.
465
466 3. Your Grants. In consideration of, and as a condition to, the
467 licenses granted to You under this License, You hereby grant to any
468 person or entity receiving or distributing Covered Code under this
469 License a non-exclusive, royalty-free, perpetual, irrevocable license,
470 under Your Applicable Patent Rights and other intellectual property
471 rights (other than patent) owned or controlled by You, to use,
472 reproduce, display, perform, modify, sublicense, distribute and
473 Externally Deploy Your Modifications of the same scope and extent as
474 Apple's licenses under Sections 2.1 and 2.2 above.
475
476 4. Larger Works. You may create a Larger Work by combining Covered
477 Code with other code not governed by the terms of this License and
478 distribute the Larger Work as a single product. In each such instance,
479 You must make sure the requirements of this License are fulfilled for
480 the Covered Code or any portion thereof.
481
482 5. Limitations on Patent License. Except as expressly stated in
483 Section 2, no other patent rights, express or implied, are granted by
484 Apple herein. Modifications and/or Larger Works may require additional
485 patent licenses from Apple which Apple may grant in its sole
486 discretion.
487
488 6. Additional Terms. You may choose to offer, and to charge a fee for,
489 warranty, support, indemnity or liability obligations and/or other
490 rights consistent with the scope of the license granted herein
491 ("Additional Terms") to one or more recipients of Covered Code.
492 However, You may do so only on Your own behalf and as Your sole
493 responsibility, and not on behalf of Apple or any Contributor. You
494 must obtain the recipient's agreement that any such Additional Terms
495 are offered by You alone, and You hereby agree to indemnify, defend
496 and hold Apple and every Contributor harmless for any liability
497 incurred by or claims asserted against Apple or such Contributor by
498 reason of any such Additional Terms.
499
500 7. Versions of the License. Apple may publish revised and/or new
501 versions of this License from time to time. Each version will be given
502 a distinguishing version number. Once Original Code has been published
503 under a particular version of this License, You may continue to use it
504 under the terms of that version. You may also choose to use such
505 Original Code under the terms of any subsequent version of this
506 License published by Apple. No one other than Apple has the right to
507 modify the terms applicable to Covered Code created under this
508 License.
509
510 8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in
511 part pre-release, untested, or not fully tested works. The Covered
512 Code may contain errors that could cause failures or loss of data, and
513 may be incomplete or contain inaccuracies. You expressly acknowledge
514 and agree that use of the Covered Code, or any portion thereof, is at
515 Your sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND
516 WITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND
517 APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE
518 PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM
519 ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT
520 NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF
521 MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR
522 PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD
523 PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST
524 INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE
525 FUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS,
526 THAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR
527 ERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO
528 ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE
529 AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY.
530 You acknowledge that the Covered Code is not intended for use in the
531 operation of nuclear facilities, aircraft navigation, communication
532 systems, or air traffic control machines in which case the failure of
533 the Covered Code could lead to death, personal injury, or severe
534 physical or environmental damage.
535
536 9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO
537 EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,
538 SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING
539 TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR
540 ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,
541 TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF
542 APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
543 DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY
544 REMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF
545 INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY
546 TO YOU. In no event shall Apple's total liability to You for all
547 damages (other than as may be required by applicable law) under this
548 License exceed the amount of fifty dollars ($50.00).
549
550 10. Trademarks. This License does not grant any rights to use the
551 trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",
552 "QuickTime", "QuickTime Streaming Server" or any other trademarks,
553 service marks, logos or trade names belonging to Apple (collectively
554 "Apple Marks") or to any trademark, service mark, logo or trade name
555 belonging to any Contributor. You agree not to use any Apple Marks in
556 or as part of the name of products derived from the Original Code or
557 to endorse or promote products derived from the Original Code other
558 than as expressly permitted by and in strict compliance at all times
559 with Apple's third party trademark usage guidelines which are posted
560 at http://www.apple.com/legal/guidelinesfor3rdparties.html.
561
562 11. Ownership. Subject to the licenses granted under this License,
563 each Contributor retains all rights, title and interest in and to any
564 Modifications made by such Contributor. Apple retains all rights,
565 title and interest in and to the Original Code and any Modifications
566 made by or on behalf of Apple ("Apple Modifications"), and such Apple
567 Modifications will not be automatically subject to this License. Apple
568 may, at its sole discretion, choose to license such Apple
569 Modifications under this License, or on different terms from those
570 contained in this License or may choose not to license them at all.
571
572 12. Termination.
573
574 12.1 Termination. This License and the rights granted hereunder will
575 terminate:
576
577 (a) automatically without notice from Apple if You fail to comply with
578 any term(s) of this License and fail to cure such breach within 30
579 days of becoming aware of such breach;
580
581 (b) immediately in the event of the circumstances described in Section
582 13.5(b); or
583
584 (c) automatically without notice from Apple if You, at any time during
585 the term of this License, commence an action for patent infringement
586 against Apple; provided that Apple did not first commence
587 an action for patent infringement against You in that instance.
588
589 12.2 Effect of Termination. Upon termination, You agree to immediately
590 stop any further use, reproduction, modification, sublicensing and
591 distribution of the Covered Code. All sublicenses to the Covered Code
592 which have been properly granted prior to termination shall survive
593 any termination of this License. Provisions which, by their nature,
594 should remain in effect beyond the termination of this License shall
595 survive, including but not limited to Sections 3, 5, 8, 9, 10, 11,
596 12.2 and 13. No party will be liable to any other for compensation,
597 indemnity or damages of any sort solely as a result of terminating
598 this License in accordance with its terms, and termination of this
599 License will be without prejudice to any other right or remedy of
600 any party.
601
602 13. Miscellaneous.
603
604 13.1 Government End Users. The Covered Code is a "commercial item" as
605 defined in FAR 2.101. Government software and technical data rights in
606 the Covered Code include only those rights customarily provided to the
607 public as defined in this License. This customary commercial license
608 in technical data and software is provided in accordance with FAR
609 12.211 (Technical Data) and 12.212 (Computer Software) and, for
610 Department of Defense purchases, DFAR 252.227-7015 (Technical Data --
611 Commercial Items) and 227.7202-3 (Rights in Commercial Computer
612 Software or Computer Software Documentation). Accordingly, all U.S.
613 Government End Users acquire Covered Code with only those rights set
614 forth herein.
615
616 13.2 Relationship of Parties. This License will not be construed as
617 creating an agency, partnership, joint venture or any other form of
618 legal association between or among You, Apple or any Contributor, and
619 You will not represent to the contrary, whether expressly, by
620 implication, appearance or otherwise.
621
622 13.3 Independent Development. Nothing in this License will impair
623 Apple's right to acquire, license, develop, have others develop for
624 it, market and/or distribute technology or products that perform the
625 same or similar functions as, or otherwise compete with,
626 Modifications, Larger Works, technology or products that You may
627 develop, produce, market or distribute.
628
629 13.4 Waiver; Construction. Failure by Apple or any Contributor to
630 enforce any provision of this License will not be deemed a waiver of
631 future enforcement of that or any other provision. Any law or
632 regulation which provides that the language of a contract shall be
633 construed against the drafter will not apply to this License.
634
635 13.5 Severability. (a) If for any reason a court of competent
636 jurisdiction finds any provision of this License, or portion thereof,
637 to be unenforceable, that provision of the License will be enforced to
638 the maximum extent permissible so as to effect the economic benefits
639 and intent of the parties, and the remainder of this License will
640 continue in full force and effect. (b) Notwithstanding the foregoing,
641 if applicable law prohibits or restricts You from fully and/or
642 specifically complying with Sections 2 and/or 3 or prevents the
643 enforceability of either of those Sections, this License will
644 immediately terminate and You must immediately discontinue any use of
645 the Covered Code and destroy all copies of it that are in your
646 possession or control.
647
648 13.6 Dispute Resolution. Any litigation or other dispute resolution
649 between You and Apple relating to this License shall take place in the
650 Northern District of California, and You and Apple hereby consent to
651 the personal jurisdiction of, and venue in, the state and federal
652 courts within that District with respect to this License. The
653 application of the United Nations Convention on Contracts for the
654 International Sale of Goods is expressly excluded.
655
656 13.7 Entire Agreement; Governing Law. This License constitutes the
657 entire agreement between the parties with respect to the subject
658 matter hereof. This License shall be governed by the laws of the
659 United States and the State of California, except that body of
660 California law concerning conflicts of law.
661
662 Where You are located in the province of Quebec, Canada, the following
663 clause applies: The parties hereby confirm that they have requested
664 that this License and all related documents be drafted in English. Les
665 parties ont exige que le present contrat et tous les documents
666 connexes soient rediges en anglais.
667
668 EXHIBIT A.
669
670 "Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights
671 Reserved.
672
673 This file contains Original Code and/or Modifications of Original Code
674 as defined in and that are subject to the Apple Public Source License
675 Version 2.0 (the 'License'). You may not use this file except in
676 compliance with the License. Please obtain a copy of the License at
677 http://www.opensource.apple.com/apsl/ and read it before using this
678 file.
679
680 The Original Code and all software distributed under the License are
681 distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
682 EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
683 INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
684 FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
685 Please see the License for the specific language governing rights and
686 limitations under the License."
687
688 Some portions of Rx are subject to the following license:
689 /*
690  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
691  * unrestricted use provided that this legend is included on all tape
692  * media and as a part of the software program in whole or part.  Users
693  * may copy or modify Sun RPC without charge, but are not authorized
694  * to license or distribute it to anyone else except as part of a product or
695  * program developed by the user or with the express written consent of
696  * Sun Microsystems, Inc.
697  *
698  * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
699  * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
700  * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
701  *
702  * Sun RPC is provided with no support and without any obligation on the
703  * part of Sun Microsystems, Inc. to assist in its use, correction,
704  * modification or enhancement.
705  *
706  * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
707  * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
708  * OR ANY PART THEREOF.
709  *
710  * In no event will Sun Microsystems, Inc. be liable for any lost revenue
711  * or profits or other special, indirect and consequential damages, even if
712  * Sun has been advised of the possibility of such damages.
713  *
714  * Sun Microsystems, Inc.
715  * 2550 Garcia Avenue
716  * Mountain View, California  94043
717  */
718
719 src/afs/LINUX/osi_flush.s included code under IBM Public License with
720 permission of the author, Paul MacKerras.