lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 30 Mar 2010 15:32:46 +0200 From: Ferenc Wagner <wferi@...f.hu> To: Phillip Lougher <phillip@...gher.demon.co.uk>, Phillip Lougher <phillip.lougher@...il.com>, linux-fsdevel@...r.kernel.org, linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org, linux-embedded@...r.kernel.org Cc: Ferenc Wagner <wferi@...f.hu> Subject: [PATCH 0/3] RFC: direct MTD support for SquashFS Hi, Here is another, very different take on the subject. It isn't a real plugin system, but touches as little existing code as possible, and still quite easy to extend if needed. The MTD with LZMA case is somewhat challenged, as the current interface mismatch requires extra copying. It seems fairly easy to change the kernel decompressor interface to scatter/gather operation in the future, to do away with this. This patch does not consider SQUASHFS_METADATA_SIZE during buffer_head allocation in block.c, on the principle of hands-off. Extra question: does squashfs_put_super require BKL protection? Comments welcome. Regards, Feri. Ferenc Wagner (3): squashfs: parametrize decompressors on buffer_head operations squashfs: gather everything block device specific into block.c squashfs: add MTD backend fs/squashfs/Kconfig | 2 +- fs/squashfs/Makefile | 6 +- fs/squashfs/backend.c | 63 +++++++++++++++ fs/squashfs/backend.h | 12 +++ fs/squashfs/block.c | 42 +++++++--- fs/squashfs/decompressor.h | 8 +- fs/squashfs/lzma_wrapper.c | 11 ++- fs/squashfs/mtd.c | 179 ++++++++++++++++++++++++++++++++++++++++++++ fs/squashfs/squashfs.h | 22 +++++- fs/squashfs/super.c | 45 +++--------- fs/squashfs/zlib_wrapper.c | 13 ++-- 11 files changed, 337 insertions(+), 66 deletions(-) create mode 100644 fs/squashfs/backend.c create mode 100644 fs/squashfs/backend.h create mode 100644 fs/squashfs/mtd.c -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists