diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..46fd1cc0b2d31909344a6f839581c40b71c8f8a2
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,24 @@
+The xv6 software is:
+
+Copyright (c) 2006-2009 Frans Kaashoek, Robert Morris, Russ Cox,
+                        Massachusetts Institute of Technology
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/web/index.html b/web/index.html
index 4f8e84c7eb2f3779fbbd4fc0b6f57afc7e06a0fa..ea90263d6c1f6ef33475dffc07fa7b416b5cd482 100644
--- a/web/index.html
+++ b/web/index.html
@@ -95,6 +95,8 @@ We distribute the sources in electronic form but also as
 a printed booklet with line numbers that keep everyone
 together during lectures.  The booklet is available as
 <a href="xv6-rev2.pdf">xv6-rev2.pdf</a>.
+The xv6 source code is licensed under the traditional <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>;
+see the LICENSE file in the source distribution.
 <br><br>
 xv6 compiles using the GNU C compiler,
 targeted at the x86 using ELF binaries.
diff --git a/xv6-rev2.tar.gz b/xv6-rev2.tar.gz
index 8affba0d7f97978ceac5293bd61b4c5116c81646..c702cf20fe6f2afa9e4377139c8e31d944519368 100644
Binary files a/xv6-rev2.tar.gz and b/xv6-rev2.tar.gz differ