- 19 Nov, 2015 1 commit
-
-
Andrei Borzenkov authored
This makes it impossible to read from stdin without controlling tty: 10:/mnt # echo -e passwd\\npasswd | setsid ./grub-mkpasswd-pbkdf2 Enter password: Reenter password: ./grub-mkpasswd-pbkdf2: error: failure to read password. 10:/mnt
-
- 07 Nov, 2015 1 commit
-
-
Andrei Borzenkov authored
We use major() everywhere, these definitions just add to confusion.
-
- 19 Jun, 2015 2 commits
-
-
Andrei Borzenkov authored
Found by Coverity scan. CID: 96605
-
Andrei Borzenkov authored
Found by Coverity scan. CID: 96606
-
- 13 Apr, 2015 1 commit
-
-
Toomas Soome authored
Solaris (like) systems need to include sys/mkdev.h for makedev() function.
-
- 04 Mar, 2015 1 commit
-
-
Vladimir Serbinenko authored
canonicalize_file_name clashed with gnulib function. Additionally it was declared in 2 places: emu/misc.h and util/misc.h. Added grub_ prefix and removed second declaration.
-
- 27 Jan, 2015 1 commit
-
-
Andrei Borzenkov authored
Found by: Coverity scan.
-
- 26 Jan, 2015 1 commit
-
-
Vladimir Serbinenko authored
Found by: Coverity scan.
-
- 23 Jan, 2015 1 commit
-
-
Felix Janda authored
-
- 21 Jan, 2015 1 commit
-
-
Vladimir Serbinenko authored
-
- 21 Sep, 2014 1 commit
-
-
Michael Chang authored
-
- 24 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 21 Dec, 2013 3 commits
-
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
Vladimir Serbinenko authored
-
- 20 Dec, 2013 1 commit
-
-
Colin Watson authored
* grub-core/osdep/unix/getroot.c (strip_extra_slashes): Move inside !defined (__GNU__). (xgetcwd): Likewise. * include/grub/emu/hostdisk.h (grub_util_hurd_get_disk_info) [__GNU__]: Add prototype. * util/getroot.c (grub_util_biosdisk_get_grub_dev) [__GNU__]: Format long int using %ld rather than %d.
-
- 18 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 17 Dec, 2013 1 commit
-
-
Andrey Borzenkov authored
We need to hide "modprobe efivars" error output to avoid confusion. So consolidate grub_util_exec_* into single function that can optionally redirect all three standard descriptors and make all other functions compatibility wrappers. Also remove include/grub/osdep/exec_unix.h which does not appear to be used anywhere.
-
- 16 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 15 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
This allows grub_install_register_efi to request partition info directly.
-
- 08 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
and implement windows variant.
-
- 29 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
fgets succeeded.
-
- 27 Nov, 2013 3 commits
-
-
Vladimir Serbinenko authored
Fixes build for windows.
-
Colin Watson authored
references to mdadm from otherwise generic code. (grub_util_exec_pipe): Likewise. (grub_util_exec_pipe_stderr): Likewise. * grub-core/osdep/unix/getroot.c (grub_util_pull_lvm_by_command): This function calls vgs, not mdadm; adjust variable names accordingly.
-
Colin Watson authored
Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into no-ops, and use it in programs that copy files but do not need to take special care to sync writes (grub-mknetdir, grub-rescue, grub-mkstandalone). On my laptop, this reduces partmap_test's runtime from 1236 seconds to 204 seconds.
-
- 25 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
Don't rely on PATH_MAX.
-
- 18 Nov, 2013 1 commit
-
-
Colin Watson authored
Handle errors from mkstemp. (grub_util_make_temporary_dir): Handle errors from mkdtemp.
-
- 17 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
the function of these files exceeds what can be sanely handled in shell in posix-comaptible way. Also writing it in C extends the functionality to non-UNIX-like OS and minimal environments.
-
- 13 Nov, 2013 1 commit
-
-
Colin Watson authored
systems that require checking the return value of write.
-
- 12 Nov, 2013 1 commit
-
-
Vladimir Serbinenko authored
&& HAVE_STRUCT_STATFS_F_MNTFROMNAME]: Include sys/param.h and sys/mount.h.
-
- 28 Oct, 2013 1 commit
-
-
Vladimir Serbinenko authored
Modify mkrelpath to work even if device is mounted with subvolid option.
-
- 23 Oct, 2013 1 commit
-
-
Paulo Flabiano Smorigo authored
* grub-core/lib/progress.c: New file. * grub-core/Makefile.core.def (progress): New module. * grub-core/kern/file.c (grub_file_open): File name added. * (grub_file_read): Progress hook added. * grub-core/fs/cbfs.c (grub_cbfs_read): Likewise. * grub-core/fs/cpio_common.c (grub_cpio_read): Likewise. * grub-core/net/net.c (grub_net_fs_read_real): Likewise. * include/grub/file.h (struct grub_file): Add progress module * members. * include/grub/term.h (struct grub_term_output): Likewise. * grub-core/osdep/unix/emuconsole.c (grub_console_term_output): Terminal velocity added. * grub-core/osdep/windows/emuconsole.c (grub_console_term_output): * Likewise. * grub-core/term/arc/console.c (grub_console_term_output): Likewise. * grub-core/term/efi/console.c (grub_console_term_output): Likewise. * grub-core/term/gfxterm.c (grub_video_term): Likewise. * grub-core/term/i386/coreboot/cbmemc.c (grub_cbmemc_term_output): * Likewise. * grub-core/term/i386/pc/console.c (grub_console_term_output): * Likewise. * grub-core/term/i386/pc/vga_text.c (grub_vga_text_term): Likewise. * grub-core/term/ieee1275/console.c (grub_console_term_output): * Likewise. * grub-core/term/morse.c (grub_audio_term_output): Likewise. * grub-core/term/serial.c (grub_serial_term_output): Likewise. * grub-core/term/spkmodem.c (grub_spkmodem_term_output): Likewise. * grub-core/term/uboot/console.c (uboot_console_term_output): * Likewise.
-
- 20 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
bitmasks to small structures of size chosen to fit in registers.
-
Vladimir 'phcoder' Serbinenko authored
-
- 19 Oct, 2013 4 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
relpath.c from getroot.c as it's common between unix and haiku but otherwise haiku doesn't use any functions from unix getroot.c.
-
Vladimir 'phcoder' Serbinenko authored
* osdep/unix/exec.c: ... here. Add few additional exec_* variants.
-
Vladimir 'phcoder' Serbinenko authored
(grub_util_check_char_device): Likewise. * include/grub/emu/getroot.h: Likewise.
-
- 16 Oct, 2013 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
value in case of incomplete read. (grub_util_fd_write): Likewise.
-
Vladimir 'phcoder' Serbinenko authored
canonicalize file name before doing the rest.
-