<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/isofs, branch linux-2.6.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2005-08-06T16:42:06Z</updated>
<entry>
<title>Check input buffer size in zisofs</title>
<updated>2005-08-06T16:42:06Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2005-08-06T16:42:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fab5a60a29f98f17256a4183e34a414f6db67569'/>
<id>urn:sha1:fab5a60a29f98f17256a4183e34a414f6db67569</id>
<content type='text'>
This uses the new deflateBound() thing to sanity-check the input to the
zlib decompressor before we even bother to start reading in the blocks.

Problem noted by Tim Yamin &lt;plasmaroo@gentoo.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] isofs: show hidden files, add granularity for assoc/hidden files flags</title>
<updated>2005-06-22T02:07:38Z</updated>
<author>
<name>Jeremy White</name>
</author>
<published>2005-06-22T00:16:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9769f4eb3fad2dd53a5d24c81ee5f7f05450742b'/>
<id>urn:sha1:9769f4eb3fad2dd53a5d24c81ee5f7f05450742b</id>
<content type='text'>
The current isofs treatment of hidden files is flawed in two ways.  First,
it does not provide sufficient granularity; it hides both 'hidden' files
and 'associated' files (resource fork for Mac files).  Second, the default
behavior to completely strip hidden files, while an admirable
implementation of the spec, is a poor choice given the real world use of
hidden files as a poor mans copy protection scheme for MSDOS and Windows
based systems.  A longer description of this is available here:

   http://www.uwsg.iu.edu/hypermail/linux/kernel/0205.3/0267.html

This patch was originally built after a few private conversations with Alan
Cox; I shamefully failed to persist in seeing it go forward, I hope to make
amends now.

This patch introduces granularity by allowing explicit control for both
hidden and associated files.  It also reverses the default so that by
default, hidden files are treated as regular files on the iso9660 file
system.

This allow Wine to process Windows CDs, including those that are hybrid
Mac/Windows CDs properly and completely, without our having to go muck up
peoples fstabs as we do now.  (I have tested this with such a hybrid +
hidden CD and have verified that this patch works as claimed).

Signed-off-by: Jeremy White &lt;jwhite@codeweavers.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] rock: handle directory overflows</title>
<updated>2005-06-22T02:07:38Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2966632a134e865db3c819346a1dc7d96e05309'/>
<id>urn:sha1:f2966632a134e865db3c819346a1dc7d96e05309</id>
<content type='text'>
Handle the case where the variable-sized part of a rock-ridge directory entry
overhangs the end of the buffer which we allocated for it.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] rock: rename union members</title>
<updated>2005-06-22T02:07:38Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=642217c17b9a56c7e4cf48f6a13dfd5e4a4c2e10'/>
<id>urn:sha1:642217c17b9a56c7e4cf48f6a13dfd5e4a4c2e10</id>
<content type='text'>
The silly thing does:

	struct foo { ... };
	...
	#define foo 42

so you can no longer refer to `struct foo' in C code.

Rename the structures.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] rock.c: handle corrupted directories</title>
<updated>2005-06-22T02:07:38Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e595447e177b39aa6c96baaa57b30cde2d8b9df7'/>
<id>urn:sha1:e595447e177b39aa6c96baaa57b30cde2d8b9df7</id>
<content type='text'>
The bug in rock.c is that it's totally trusting of the contents of the
directories.  If the directory says there's a continuation 10000 bytes into
this 4k block then we cheerily poke around in memory we don't own and oops.

So change rock_continue() to apply various sanity checks, at least ensuring
that the offset+length remain within the bounds for the header part of a
struct rock_ridge directory entry.

Note that the kernel can still overindex the buffer due to the variable size
of the rock-ridge directory entries.  We cannot check that in rock_continue()
unless we go parse the directory entry's signature and work out its size.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] isofs: remove debug stuff</title>
<updated>2005-06-22T02:07:38Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eb7f2c67c41d2cd730aedcd23e5baca09211d03'/>
<id>urn:sha1:9eb7f2c67c41d2cd730aedcd23e5baca09211d03</id>
<content type='text'>
isofs/inode.c:

- Remove some crufty leak detection code

- coding style cleanups

- kfree(NULL) is permitted.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] rock: lindent rock.h</title>
<updated>2005-06-22T02:07:37Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a089221c5e8a5ae8d74a919c8c7a4d2f68bd59e5'/>
<id>urn:sha1:a089221c5e8a5ae8d74a919c8c7a4d2f68bd59e5</id>
<content type='text'>
So we have a couple of rock-ridge bugs.  First up, rotoroot the poor thing
into something which it is possible to work on.

Feed rock.h through Lindent, tidy a couple of things by hand.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] rock: comment tidies</title>
<updated>2005-06-22T02:07:37Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7373909de403d229979842081c63917452e39402'/>
<id>urn:sha1:7373909de403d229979842081c63917452e39402</id>
<content type='text'>
Be a bit more standard in comment layout.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] rock: remove MAYBE_CONTINUE</title>
<updated>2005-06-22T02:07:37Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba40aaf04314ec5efd090e69518033fc55f450fa'/>
<id>urn:sha1:ba40aaf04314ec5efd090e69518033fc55f450fa</id>
<content type='text'>
- remove the MAYBE_CONTINUE macro

- kfree(NULL) is OK.

Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] rock: remove SETUP_ROCK_RIDGE</title>
<updated>2005-06-22T02:07:37Z</updated>
<author>
<name>Andrew Morton</name>
</author>
<published>2005-06-22T00:16:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76ab07ebc3ca69e2f14ccbed0de3a9dda9adc6da'/>
<id>urn:sha1:76ab07ebc3ca69e2f14ccbed0de3a9dda9adc6da</id>
<content type='text'>
- Remove the SETUP_ROCK_RIDGE macro.

- In rock_ridge_symlink_readpage(), rename raw_inode to raw_de.  It points
  at a directory entry, not an inode.

Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
