diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..46fd1cc
--- /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 4f8e84c..ea90263 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
xv6-rev2.pdf.
+The xv6 source code is licensed under the traditional MIT license;
+see the LICENSE file in the source distribution.
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 8affba0..c702cf2 100644
Binary files a/xv6-rev2.tar.gz and b/xv6-rev2.tar.gz differ