| 1 | Userspace RCU library licensing |
| 2 | Mathieu Desnoyers |
| 3 | September 3, 2012 |
| 4 | |
| 5 | |
| 6 | * LGPLv2.1 |
| 7 | |
| 8 | The library part is distributed under LGPLv2.1 or later. See lgpl-2.1.txt for |
| 9 | license details. Refer to the individual file headers for details. |
| 10 | |
| 11 | LGPL-compatible source code can statically use the library header using : |
| 12 | |
| 13 | #define _LGPL_SOURCE |
| 14 | #include <urcu.h> |
| 15 | |
| 16 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not |
| 17 | defined. It permits relinking with newer versions of the library, which is |
| 18 | required by the LGPL license. |
| 19 | |
| 20 | See lgpl-relicensing.txt for details. |
| 21 | |
| 22 | |
| 23 | * MIT-style license : |
| 24 | |
| 25 | xchg() primitive has been rewritten from scratch starting from atomic_ops 1.2 |
| 26 | which has a MIT-style license that is intended to allow use in both free and |
| 27 | proprietary software: |
| 28 | http://www.hpl.hp.com/research/linux/atomic_ops/LICENSING.txt |
| 29 | http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ |
| 30 | |
| 31 | This MIT-style license (BSD like) apply to: |
| 32 | |
| 33 | uatomic/gcc.h |
| 34 | uatomic/unknown.h |
| 35 | uatomic/generic.h |
| 36 | uatomic/sparc64.h |
| 37 | uatomic/arm.h |
| 38 | uatomic/ppc.h |
| 39 | uatomic/x86.h |
| 40 | uatomic.h |
| 41 | |
| 42 | MIT/X11 (BSD like) license apply to: |
| 43 | |
| 44 | compiler.h |
| 45 | arch/s390.h |
| 46 | uatomic/alpha.h |
| 47 | uatomic/mips.h |
| 48 | uatomic/s390.h |
| 49 | system.h |
| 50 | |
| 51 | |
| 52 | * GPLv2 |
| 53 | |
| 54 | Library test code is distributed under the GPLv2 license. See gpl-2.0.txt for |
| 55 | license details. See headers of individual files under tests/ for details. |
| 56 | |
| 57 | |
| 58 | * GPLv3 (or later) |
| 59 | |
| 60 | The following build-related macro is under GPLv3 (or later): |
| 61 | |
| 62 | m4/ax_tls.m4 |