Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Squashfs: handle corruption of directory structure | Phillip Lougher | 2011-03-16 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | Handle the rare case where a directory metadata block is uncompressed and corrupted, leading to a kernel oops in directory scanning (memcpy). Normally corruption is detected at the decompression stage and dealt with then, however, this will not happen if: - metadata isn't compressed (users can optionally request no metadata compression), or - the compressed metadata block was larger than the original, in which case the uncompressed version was used, or - the data was corrupt after decompression This patch fixes this by adding some sanity checks against known maximum values. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> | ||||
* | squashfs: add xattr support configure option | Phillip Lougher | 2010-05-17 | 1 | -0/+1 |
| | | | | Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> | ||||
* | squashfs: add new extended inode types | Phillip Lougher | 2010-05-17 | 1 | -1/+4 |
| | | | | | | | Add new extended inode types that store the xattr_id field. Also add the necessary code changes to make xattrs visibile. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> | ||||
* | Squashfs: factor out remaining zlib dependencies into separate wrapper file | Phillip Lougher | 2010-01-20 | 1 | -1/+0 |
| | | | | | | | | Move zlib buffer init/destroy code into separate wrapper file. Also make zlib z_stream field a void * removing the need to include zlib.h for most files. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> | ||||
* | Squashfs: directory lookup operations | Phillip Lougher | 2009-01-05 | 1 | -0/+242 |
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> |