- 07 Nov, 2015 1 commit
-
-
grub-devel@iam.tj authored
It is not possible to configure encrypted containers on multiple partitions of the same disk; after the first one all subsequent fail with disk/cryptodisk.c:978: already mounted as crypto0 Store partition offset in cryptomount descriptor to distinguish between them.
-
- 13 Sep, 2015 1 commit
-
-
Andrei Borzenkov authored
Otherwise subsequent disk open fails. Reported-By:
Klemens Nanni <contact@autoboot.org>
-
- 27 Feb, 2015 1 commit
-
-
Vladimir Serbinenko authored
All current ciphers have blocks which are power of 2 and it's unlikely to change. Other block length would be tricky to handle anyway. This restriction allows avoiding extra divisions.
-
- 25 Jan, 2015 1 commit
-
-
Vladimir Serbinenko authored
Found by: Coverity scan.
-
- 31 Mar, 2014 1 commit
-
-
Colin Watson authored
Commit 588744d0 caused grub-mkconfig no longer to be forgiving of trailing spaces on grub-probe output lines, which among other things means that util/grub.d/10_linux.in no longer detects LVM. To fix this, make grub-probe's output delimiting more consistent. As a bonus, this improves the coverage of the -0 option. Fixes Debian bug #735935. * grub-core/disk/cryptodisk.c (grub_util_cryptodisk_get_abstraction): Add a user-data argument. * grub-core/disk/diskfilter.c (grub_diskfilter_get_partmap): Likewise. * include/grub/cryptodisk.h (grub_util_cryptodisk_get_abstraction): Update prototype. * include/grub/diskfilter.h (grub_diskfilter_get_partmap): Likewise. * util/grub-install.c (push_partmap_module, push_cryptodisk_module, probe_mods): Adjust for extra user-data arguments. * util/grub-probe.c (do_print, probe_partmap, probe_cryptodisk_uuid, probe_abstraction): Use configured delimiter. Update callers.
-
- 15 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 12 Nov, 2013 2 commits
-
-
Vladimir Serbinenko authored
API.
-
Vladimir Serbinenko authored
* grub-core/disk/cryptodisk.c: Likewise. * grub-core/disk/geli.c: Likewise. * grub-core/disk/luks.c: Likewise.
-
- 02 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
reading large extents and decrease amount of blocklist hook calls.
-
- 27 Oct, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 15 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
of strerror.
-
- 14 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
fseeko.
-
Vladimir 'phcoder' Serbinenko authored
-
- 04 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
and not just printable.
-
- 23 Sep, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
for cheat_fd. * grub-core/disk/cryptodisk.c (grub_cryptodisk_open): Use grub_util_* functions. (grub_cryptodisk_cheat_insert): Likewise. (grub_cryptodisk_close): Likewise.
-
- 12 Aug, 2013 1 commit
-
-
Grégoire Sutre authored
-
- 05 Apr, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
grub-core/disk/geli.c.
-
Vladimir 'phcoder' Serbinenko authored
-
- 24 Mar, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 04 Feb, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
on first error.
-
- 20 Jan, 2013 1 commit
-
-
Colin Watson authored
* include/grub/arc/arc.h (grub_arc_iterate_devs_hook_t): New type. (grub_arc_iterate_devs): Add hook_data argument. * include/grub/ata.h (grub_ata_dev_iterate_hook_t): New type. (struct grub_ata_dev.iterate): Add hook_data argument. * include/grub/device.h (grub_device_iterate_hook_t): New type. (grub_device_iterate): Add hook_data argument. * include/grub/disk.h (grub_disk_dev_iterate_hook_t): New type. (struct grub_disk_dev.iterate): Add hook_data argument. (grub_disk_dev_iterate): Likewise. * include/grub/gpt_partition.h (grub_gpt_partition_map_iterate): Likewise. * include/grub/msdos_partition.h (grub_partition_msdos_iterate): Likewise. * include/grub/partition.h (grub_partition_iterate_hook_t): New type. (struct grub_partition_map.iterate): Add hook_data argument. (grub_partition_iterate): Likewise. * include/grub/scsi.h (grub_scsi_dev_iterate_hook_t): New type. (struct grub_scsi_dev.iterate): Add hook_data argument. Update all callers.
-
- 10 Dec, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
around device name if necessarry.
-
- 03 Mar, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/commands/keystatus.c: Likewise. * grub-core/commands/loadenv.c: Likewise. * grub-core/commands/probe.c: Likewise. * grub-core/commands/regexp.c: Likewise. * grub-core/commands/true.c: Likewise. * grub-core/commands/videoinfo.c: Likewise. * grub-core/disk/cryptodisk.c: Likewise. * grub-core/disk/ldm.c: Likewise. * grub-core/disk/loopback.c: Likewise. * grub-core/disk/luks.c: Likewise. * grub-core/fs/zfs/zfsinfo.c: Likewise. * grub-core/kern/disk.c: Likewise. * grub-core/kern/emu/hostdisk.c: Likewise.
-
- 10 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
argument from encrypt to do_encrypt to avoid shadowing.
-
- 08 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
on it.
-
- 30 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/disk/cryptodisk.c (cryptodisk_cleanup): Disable for now to avoid double free. * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_dev): Rename to hostdisk. * include/grub/disk.h (grub_disk_dev_id): New id HOSTDISK. * util/grub-probe.c (escape_of_path): Always return a new copy. (print_full_name): Escape path. (probe): Don't call grub_util_devname_to_ofpath on NULL. Fix hints on abstractions.
-
- 29 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/disk/cryptodisk.c (grub_crypto_pcbc_encrypt): New function. (grub_cryptodisk_decrypt): Moved logic to ... (grub_cryptodisk_endecrypt): ...this. New argument "encrypt". (grub_cryptodisk_write): Implement. * grub-core/kern/emu/hostdisk.c (nwrite): Rename to ... (grub_util_fd_write): ... this. Make global. * include/grub/emu/hostdisk.h (grub_util_fd_write): New proto.
-
- 08 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/kern/emu/getroot.c (grub_util_pull_device) [!FreeBSD]: Disable geli. (grub_util_get_grub_dev) [!FreeBSD]: Likewise. (grub_util_pull_device) [HAVE_DEVICE_MAPPER]: Fix const and func name. * grub-core/disk/cryptodisk.c (grub_cryptodisk_open): Fix proto.
-
- 25 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 24 Apr, 2011 5 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-