- 15 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
Just "packed" doesn't always pack the way we expect.
-
- 21 Jan, 2013 1 commit
-
-
Colin Watson authored
* include/grub/fs.h (grub_fs_dir_hook_t): New type. (struct grub_fs.dir): Add hook_data argument. Update all implementations and callers.
-
- 27 May, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/squash4.c (grub_fshelp_node): New field stsize. Make inode numbers into stack. (grub_squash_read_symlink): Use stack. (grub_squash_iterate_dir): Use stack. Create "." and ".." nodes. (make_root_node): Fill stack. (grub_squash_open): Use stack.
-
- 22 May, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 04 May, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
(grub_squash_read_data): Fix offset byte-swapping.
-
- 26 Apr, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
Allocate at lest 8192 for temporary buffer as required for lzo.
-
- 28 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
Fix source dir check.
-
- 10 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
avoid shadowing.
-
- 27 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
(direct_read): Use correct compressed size. (grub_squash_read_data): Likewise.
-
- 11 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
case statements as compile-time one. (direct_read): Prevent spurious warnings. (grub_squash_read_data): Likewise.
-
- 26 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* Makefile.util.def (libgrubmods.a): Add xzembed directory to cppflags. Add xzembed source files. * grub-core/Makefile.core.def (squash4): Add xzembed and minilzo flags. * grub-core/fs/squash4.c (grub_squash_super): New field compression. (grub_squash_inode): New subtype long_dir. (SQUASH_TYPE_LONG_DIR): New inode type. (COMPRESSION): New enum. (XZBUFSIZ): New const. (grub_squash_data): New fields blksz, decompress, xzdec, xzbuf. (read_chunk): Use data->decompress. (zlib_decompress): New function. (lzo_decompress): Likewise. (xz_decompress): Likewise. (squash_mount): Set new data fields. (grub_squash_iterate_dir): Handle long dir. (squash_unmount): Free xzdec and xzbuf. (grub_squash_open): Check ino type. (direct_read): Stylistic fixes. Use data->decompress. (grub_squash_read_data): Likewise. * grub-core/io/gzio.c (grub_gzio): Remove disk_input. (get_byte): Likewise. (grub_zlib_disk_read): Removed. * grub-core/lib/posix_wrap/sys/types.h (ssize_t): New type. (GRUB_POSIX_BOOL_DEFINED): New define. * grub-core/lib/posix_wrap/unistd.h: Include sys/types.h. * grub-core/lib/xzembed/xz.h: Addmissing includes. [!GRUB_POSIX_BOOL_DEFINED]: Define bool. * include/grub/deflate.h (grub_zlib_disk_read): Removed.
-
- 14 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
(grub_squash_dirent_header): Likewise. (read_chunk): Don't double swap. (grub_squash_iterate_dir): Fix swap sizes.
-
- 09 Nov, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/btrfs.c (grub_btrfs_dir): Fix memory leak. * grub-core/fs/cpio.c (grub_cpio_find_file): Likewise. (grub_cpio_dir): Likewise. * grub-core/fs/fat.c (grub_fat_label): Likewise. * grub-core/fs/jfs.c (grub_jfs_label): Likewise. * grub-core/fs/romfs.c (grub_romfs_close): Likewise. (grub_romfs_label): Likewise. * grub-core/fs/squash4.c (squash_mount): Use zalloc for safety. (squash_unmount): New function. (grub_squash_dir): Fix memory leak. (grub_squash_open): Likewise. (grub_squash_read): Likewise. (grub_squash_mtime): Likewise. * grub-core/fs/xfs.c (grub_xfs_open): Likewise. * grub-core/fs/zfs/zfs.c (check_pool_label): Likewise. * util/grub-fstest.c (fstest): Likewise.
-
- 28 Oct, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/squash4.c (grub_squash_data): New field log2_blksz. (squash_mount): Check block size and take logarithm. (direct_read): Use shifts.
-
- 25 Oct, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/squash4.c (grub_squash_super): Add block_size. Remove unused flags. (grub_squash_inode): Add long_file and block_size. (grub_squash_cache_inode): New struct. (grub_squash_dirent): Make types into enum. (SQUASH_TYPE_LONG_REGULAR): New type. (grub_squash_frag_desc): Add field size. (SQUASH_BLOCK_FLAGS): New enum. (grub_squash_data): Use grub_squash_cache_inode. (grub_fshelp_node): Make ino_chunk 64-bit. (read_chunk): Minor argument change. All users updated. (squash_mount): Use correct le_to_cpu. (grub_squash_open): Handle LONG_REGULAR. (direct_read): New function. (grub_squash_read_data): Handle blocks correctly.
-
- 21 Apr, 2011 1 commit
-
-
Colin Watson authored
-
- 11 Dec, 2010 4 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 10 Dec, 2010 6 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 09 Dec, 2010 7 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-