Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | |
michael@0 | 2 | Copyright (C) 2006, Network Resonance, Inc. |
michael@0 | 3 | All Rights Reserved |
michael@0 | 4 | |
michael@0 | 5 | Redistribution and use in source and binary forms, with or without |
michael@0 | 6 | modification, are permitted provided that the following conditions |
michael@0 | 7 | are met: |
michael@0 | 8 | |
michael@0 | 9 | 1. Redistributions of source code must retain the above copyright |
michael@0 | 10 | notice, this list of conditions and the following disclaimer. |
michael@0 | 11 | 2. Redistributions in binary form must reproduce the above copyright |
michael@0 | 12 | notice, this list of conditions and the following disclaimer in the |
michael@0 | 13 | documentation and/or other materials provided with the distribution. |
michael@0 | 14 | 3. Neither the name of Network Resonance, Inc. nor the name of any |
michael@0 | 15 | contributors to this software may be used to endorse or promote |
michael@0 | 16 | products derived from this software without specific prior written |
michael@0 | 17 | permission. |
michael@0 | 18 | |
michael@0 | 19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' |
michael@0 | 20 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
michael@0 | 21 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
michael@0 | 22 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
michael@0 | 23 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
michael@0 | 24 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
michael@0 | 25 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
michael@0 | 26 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
michael@0 | 27 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
michael@0 | 28 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
michael@0 | 29 | POSSIBILITY OF SUCH DAMAGE. |
michael@0 | 30 | |
michael@0 | 31 | |
michael@0 | 32 | This distribution also contains material from ssldump, tcpdump, and |
michael@0 | 33 | FreeBSD. The licenses are on the individual source files but follow |
michael@0 | 34 | here as well. |
michael@0 | 35 | |
michael@0 | 36 | SSLDUMP LICENSE |
michael@0 | 37 | Copyright (C) 1999-2001 RTFM, Inc. |
michael@0 | 38 | All Rights Reserved |
michael@0 | 39 | |
michael@0 | 40 | This package is a SSLv3/TLS protocol analyzer written by Eric Rescorla |
michael@0 | 41 | <ekr@rtfm.com> and licensed by RTFM, Inc. |
michael@0 | 42 | |
michael@0 | 43 | Redistribution and use in source and binary forms, with or without |
michael@0 | 44 | modification, are permitted provided that the following conditions |
michael@0 | 45 | are met: |
michael@0 | 46 | 1. Redistributions of source code must retain the above copyright |
michael@0 | 47 | notice, this list of conditions and the following disclaimer. |
michael@0 | 48 | 2. Redistributions in binary form must reproduce the above copyright |
michael@0 | 49 | notice, this list of conditions and the following disclaimer in the |
michael@0 | 50 | documentation and/or other materials provided with the distribution. |
michael@0 | 51 | 3. All advertising materials mentioning features or use of this software |
michael@0 | 52 | must display the following acknowledgement: |
michael@0 | 53 | |
michael@0 | 54 | This product includes software developed by Eric Rescorla for |
michael@0 | 55 | RTFM, Inc. |
michael@0 | 56 | |
michael@0 | 57 | 4. Neither the name of RTFM, Inc. nor the name of Eric Rescorla may be |
michael@0 | 58 | used to endorse or promote products derived from this |
michael@0 | 59 | software without specific prior written permission. |
michael@0 | 60 | |
michael@0 | 61 | THIS SOFTWARE IS PROVIDED BY THE ERIC RESCORLA AND RTFM ``AS IS'' AND |
michael@0 | 62 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
michael@0 | 63 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
michael@0 | 64 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
michael@0 | 65 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
michael@0 | 66 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
michael@0 | 67 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
michael@0 | 68 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
michael@0 | 69 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
michael@0 | 70 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
michael@0 | 71 | SUCH DAMAGE. |
michael@0 | 72 | |
michael@0 | 73 | TCPDUMP LICENSE |
michael@0 | 74 | The manual page for this software is partially excerpted from |
michael@0 | 75 | the tcpdump manual page, which is subject to the following license: |
michael@0 | 76 | Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997 |
michael@0 | 77 | The Regents of the University of California. All rights reserved. |
michael@0 | 78 | All rights reserved. |
michael@0 | 79 | |
michael@0 | 80 | Redistribution and use in source and binary forms, with or without |
michael@0 | 81 | modification, are permitted provided that: (1) source code distributions |
michael@0 | 82 | retain the above copyright notice and this paragraph in its entirety, (2) |
michael@0 | 83 | distributions including binary code include the above copyright notice and |
michael@0 | 84 | this paragraph in its entirety in the documentation or other materials |
michael@0 | 85 | provided with the distribution, and (3) all advertising materials mentioning |
michael@0 | 86 | features or use of this software display the following acknowledgement: |
michael@0 | 87 | ``This product includes software developed by the University of California, |
michael@0 | 88 | Lawrence Berkeley Laboratory and its contributors.'' Neither the name of |
michael@0 | 89 | the University nor the names of its contributors may be used to endorse |
michael@0 | 90 | or promote products derived from this software without specific prior |
michael@0 | 91 | written permission. |
michael@0 | 92 | THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED |
michael@0 | 93 | WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
michael@0 | 94 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
michael@0 | 95 | |
michael@0 | 96 | |
michael@0 | 97 | The compilation of software known as FreeBSD is distributed under the |
michael@0 | 98 | following terms: |
michael@0 | 99 | |
michael@0 | 100 | Copyright (C) 1992-2004 The FreeBSD Project. All rights reserved. |
michael@0 | 101 | |
michael@0 | 102 | Redistribution and use in source and binary forms, with or without |
michael@0 | 103 | modification, are permitted provided that the following conditions |
michael@0 | 104 | are met: |
michael@0 | 105 | 1. Redistributions of source code must retain the above copyright |
michael@0 | 106 | notice, this list of conditions and the following disclaimer. |
michael@0 | 107 | 2. Redistributions in binary form must reproduce the above copyright |
michael@0 | 108 | notice, this list of conditions and the following disclaimer in the |
michael@0 | 109 | documentation and/or other materials provided with the distribution. |
michael@0 | 110 | |
michael@0 | 111 | THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
michael@0 | 112 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
michael@0 | 113 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
michael@0 | 114 | ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE |
michael@0 | 115 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
michael@0 | 116 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
michael@0 | 117 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
michael@0 | 118 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
michael@0 | 119 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
michael@0 | 120 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
michael@0 | 121 | SUCH DAMAGE. |
michael@0 | 122 | |
michael@0 | 123 | The 4.4BSD and 4.4BSD-Lite software is distributed under the following |
michael@0 | 124 | terms: |
michael@0 | 125 | |
michael@0 | 126 | All of the documentation and software included in the 4.4BSD and 4.4BSD-Lite |
michael@0 | 127 | Releases is copyrighted by The Regents of the University of California. |
michael@0 | 128 | |
michael@0 | 129 | Copyright 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 |
michael@0 | 130 | The Regents of the University of California. All rights reserved. |
michael@0 | 131 | |
michael@0 | 132 | Redistribution and use in source and binary forms, with or without |
michael@0 | 133 | modification, are permitted provided that the following conditions |
michael@0 | 134 | are met: |
michael@0 | 135 | 1. Redistributions of source code must retain the above copyright |
michael@0 | 136 | notice, this list of conditions and the following disclaimer. |
michael@0 | 137 | 2. Redistributions in binary form must reproduce the above copyright |
michael@0 | 138 | notice, this list of conditions and the following disclaimer in the |
michael@0 | 139 | documentation and/or other materials provided with the distribution. |
michael@0 | 140 | 3. All advertising materials mentioning features or use of this software |
michael@0 | 141 | must display the following acknowledgement: |
michael@0 | 142 | This product includes software developed by the University of |
michael@0 | 143 | California, Berkeley and its contributors. |
michael@0 | 144 | 4. Neither the name of the University nor the names of its contributors |
michael@0 | 145 | may be used to endorse or promote products derived from this software |
michael@0 | 146 | without specific prior written permission. |
michael@0 | 147 | |
michael@0 | 148 | THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND |
michael@0 | 149 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
michael@0 | 150 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
michael@0 | 151 | ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
michael@0 | 152 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
michael@0 | 153 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
michael@0 | 154 | OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
michael@0 | 155 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
michael@0 | 156 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
michael@0 | 157 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
michael@0 | 158 | SUCH DAMAGE. |
michael@0 | 159 |