On Wed, Sep 19, 2018 at 08:40:40PM +0200, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli
>
> Add the RAID 6 recovery, in order to use a RAID 6 filesystem even if some
> disks (up to two) are missing. This code use the md RAID 6 code already
> present in grub.
>
> Signed-off-by: Goffredo Ba
On Wed, Sep 26, 2018 at 10:40:32PM +0200, Goffredo Baroncelli wrote:
> On 25/09/2018 17.31, Daniel Kiper wrote:
> > On Wed, Sep 19, 2018 at 08:40:32PM +0200, Goffredo Baroncelli wrote:
> >> From: Goffredo Baroncelli
> >>
> >> Signed-off-by: Goffredo Baroncelli
On Wed, Sep 26, 2018 at 09:55:54PM +0200, Goffredo Baroncelli wrote:
> On 25/09/2018 19.29, Daniel Kiper wrote:
> > On Wed, Sep 19, 2018 at 08:40:35PM +0200, Goffredo Baroncelli wrote:
> >> From: Goffredo Baroncelli
> >>
> >> If a device is not found, do no
On Wed, Sep 26, 2018 at 09:55:57PM +0200, Goffredo Baroncelli wrote:
> On 25/09/2018 21.10, Daniel Kiper wrote:
> > On Wed, Sep 19, 2018 at 08:40:38PM +0200, Goffredo Baroncelli wrote:
> >> From: Goffredo Baroncelli
> >>
> >> Add support for recovery for
On Wed, Sep 26, 2018 at 09:56:07PM +0200, Goffredo Baroncelli wrote:
> On 25/09/2018 21.20, Daniel Kiper wrote:
> > On Wed, Sep 19, 2018 at 08:40:40PM +0200, Goffredo Baroncelli wrote:
> >> From: Goffredo Baroncelli
> >>
> []
> >>
On Thu, Sep 27, 2018 at 06:15:45PM +0800, Michael Chang wrote:
> On Thu, Sep 20, 2018 at 02:01:08PM +0200, Daniel Kiper wrote:
> > On Thu, Sep 20, 2018 at 06:38:07PM +0800, Michael Chang wrote:
> > > On Thu, Sep 13, 2018 at 06:06:15PM -0600, Micah Parrish wrote:
> > >
On Wed, Sep 26, 2018 at 04:45:51PM -0600, Chris Murphy wrote:
> On Fri, Sep 21, 2018 at 12:35 PM, Daniel Kiper wrote:
> > On Tue, Sep 18, 2018 at 01:40:06PM -0600, Chris Murphy wrote:
> >> On Mon, Sep 17, 2018 at 10:59 PM, Chris Murphy
> >> wrote:
> >&g
On Wed, Sep 19, 2018 at 06:12:18PM +0200, Daniel Kiper wrote:
> On Thu, Sep 06, 2018 at 03:21:24PM +0200, Daniel Kiper wrote:
> > On Thu, Sep 06, 2018 at 03:07:57PM +0200, Vladimir 'phcoder' Serbinenko
> > wrote:
> > > Unfortunately this pulls in some
On Thu, Sep 27, 2018 at 05:00:31PM -0600, Chris Murphy wrote:
> On Thu, Sep 27, 2018 at 10:38 AM, Daniel Kiper wrote:
> > On Wed, Sep 26, 2018 at 04:45:51PM -0600, Chris Murphy wrote:
> >> On Fri, Sep 21, 2018 at 12:35 PM, Daniel Kiper wrote:
> >> > On Tue, Se
the iorw and memrw modules are loaded then
machine boot is disabled,
- GRUB2 defers modules verification to other verifiers.
Signed-off-by: Daniel Kiper
---
v3 - suggestions/fixes:
- disable module unload,
- disable the iorw and memrw modules loading,
- disable boot if the iorw and
(-)
Daniel Kiper (4):
verifiers: Add possibility to defer verification to other verifiers
verifiers: Rename verify module to pgp module
dl: Add support for persistent modules
efi: Add EFI shim lock verifier
Vladimir Serbinenko (4):
verifiers: File type for fine-grained
Just for clarity. No functional change.
Signed-off-by: Daniel Kiper
---
grub-core/Makefile.core.def |4 +-
grub-core/commands/pgp.c| 1018 +++
grub-core/commands/verify.c | 1018 ---
3 files changed, 1020
nor complicated hence it make sense to support
modularized configs too.
Signed-off-by: Daniel Kiper
---
grub-core/commands/minicmd.c |3 +++
include/grub/dl.h| 13 +
2 files changed, 16 insertions(+)
diff --git a/grub-core/commands/minicmd.c b/grub-core/commands
From: Vladimir Serbinenko
Let's provide file type info to the I/O layer. This way verifiers
framework and its users will be able to differentiate files and verify
only required ones.
This is preparatory patch.
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
-
From: Vladimir Serbinenko
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
---
v3 - suggestions/fixes:
- improve the documentation.
---
docs/grub-dev.texi | 57
1 file changed, 57 insertions(+)
diff --git a/docs/grub
trusted on UEFI systems with secure boot
enabled. So, it can defer verification to other verifier, e.g. PGP one.
I silently assume that other verifiers are trusted and will do good
job for us. Or at least they will not do any harm.
Signed-off-by: Daniel Kiper
---
grub-core/commands
From: Vladimir Serbinenko
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
---
grub-core/commands/verify_helper.c| 14 ++
grub-core/lib/cmdline.c |9 +
grub-core/loader/arm/linux.c |8 ++--
grub-core/loader
for the sake of clarity.
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
---
v3 - suggestions/fixes:
- minor improvement and cleanups.
---
grub-core/Makefile.core.def|5 +
grub-core/commands/verify.c| 565 +---
grub-core
On Tue, Oct 09, 2018 at 11:35:28AM +0200, Juergen Gross wrote:
> On 15/02/2018 13:02, Daniel Kiper wrote:
> > Hi Juergen,
> >
> > Sorry for huge delay. It looks that I am recovering slowly and
> > probably I will have more time for reviews.
> >
> > On Wed, No
On Wed, Oct 03, 2018 at 01:33:26PM -0400, Ross Philipson wrote:
> On 10/03/2018 05:36 AM, Daniel Kiper wrote:
[...]
> > grub_file_t
> > -grub_file_open (const char *name)
> > +grub_file_open (const char *name, enum grub_file_type type)
> > {
> >grub_device
On Wed, Oct 03, 2018 at 01:55:08PM -0400, Ross Philipson wrote:
> On 10/03/2018 05:36 AM, Daniel Kiper wrote:
[...]
> > +struct grub_file_verifier grub_pubkey_verifier =
> > + {
> > +.name = "pgp",
> > +.init = grub_pubkey_init,
> > +
On Fri, Oct 05, 2018 at 12:09:43PM -0400, Ross Philipson wrote:
> On 10/03/2018 05:36 AM, Daniel Kiper wrote:
> > This way if a verifier requires verification of a given file it can
> > defer task to other verifier if it is not able to do it itself. E.g.
> > shim_lock
On Fri, Oct 05, 2018 at 12:24:18PM -0400, Ross Philipson wrote:
> On 10/03/2018 05:36 AM, Daniel Kiper wrote:
> > Just for clarity. No functional change.
> >
> > Signed-off-by: Daniel Kiper
> > ---
> > grub-core/Makefile.core.def |4 +-
> &
On Fri, Oct 05, 2018 at 12:43:08PM -0400, Ross Philipson wrote:
> On 10/03/2018 05:36 AM, Daniel Kiper wrote:
> > From: Vladimir Serbinenko
> >
> > Signed-off-by: Vladimir Serbinenko
> > Signed-off-by: Daniel Kiper
> > ---
> > v3 - suggestions/fi
On Thu, Sep 27, 2018 at 08:34:56PM +0200, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli
>
> Signed-off-by: Goffredo Baroncelli
Code LGTM. Though comment begs improvement. I will send you updated
comment for approval shortly.
Daniel
___
Grub-
On Thu, Sep 27, 2018 at 08:34:59PM +0200, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli
>
> Change the behavior of find_device(): before the patch, a read of a missed
> device may trigger a rescan. However, it is never recorded that a device
> is missed, so each single read of a missed de
gned-off-by: Goffredo Baroncelli
Reviewed-by: Daniel Kiper
Daniel
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
On Thu, Sep 27, 2018 at 08:35:02PM +0200, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli
>
> Add support for recovery for a RAID 5 btrfs profile. In addition
> it is added some code as preparatory work for RAID 6 recovery code.
>
> Signed-off-by: Goffredo Baroncelli
> ---
> grub-core/fs/
On Mon, Oct 08, 2018 at 04:06:20PM -0700, Nick Terrell wrote:
> Import zstd-1.3.6 from upstream [1]. Only the files need for decompression
> are imported.
>
> I used the latest zstd release, which includes patches [2] to build cleanly
> in GRUB.
>
> Upstream zstd commit hash: 4fa456d7f12f8b27bd3b2f
ion with and without zstd
> compression. A test case was also added to the test suite that fails before
> the patch, and passes after.
>
> Signed-off-by: Nick Terrell
> ---
> v1 -> v2:
> - Fix comments from Daniel Kiper
>
> Makefile.util.def| 10 +++-
>
On Tue, Oct 09, 2018 at 07:51:01PM +0200, Daniel Kiper wrote:
> On Thu, Sep 27, 2018 at 08:34:56PM +0200, Goffredo Baroncelli wrote:
> > From: Goffredo Baroncelli
> >
> > Signed-off-by: Goffredo Baroncelli
>
> Code LGTM. Though comment begs improvement. I will sen
On Tue, Oct 09, 2018 at 07:56:43PM +0200, Daniel Kiper wrote:
> On Thu, Sep 27, 2018 at 08:34:59PM +0200, Goffredo Baroncelli wrote:
> > From: Goffredo Baroncelli
> >
> > Change the behavior of find_device(): before the patch, a read of a missed
> > device may trigg
On Thu, Sep 27, 2018 at 08:34:55PM +0200, Goffredo Baroncelli wrote:
>
> i All,
>
> the aim of this patches set is to provide support for a BTRFS raid5/6
> filesystem in GRUB.
I have sent you updated comment and commit message. Please double check it.
If everything is OK please repost whole series
On Wed, Oct 10, 2018 at 08:28:27PM +, Nick Terrell wrote:
> > On Oct 10, 2018, at 12:34 AM, Paul Menzel wrote:
> >
> > Sorry for being ignorant, but you explain, why the library needs to be
> > imported and it is not enough to use that library as an external dependency?
> >
> > Importing the
IB
> mkdir -p $DST_LIB
> cp $SRC_LIB/zstd.h $DST_LIB/
> cp $SRC_LIB/common/*.[hc] $DST_LIB/
> cp $SRC_LIB/decompress/*.[hc] $DST_LIB/
> rm $DST_LIB/{pool.[hc],threading.[hc]}
> rm -rf zstd-1.3.6*
> echo SUCCESS!
> ---
Ditto.
> Signed-off-by: Nick Terrell
If you fix th
nd passes after.
>
> Signed-off-by: Nick Terrell
> ---
> v1 -> v2:
> - Fix comments from Daniel Kiper.
>
> v2 -> v3:
> - Use grub_error() to set grub_errno in grub_btrfs_zstd_decompress().
> - Fix style and formatting comments.
>
> Makefile.util.def| 10 +
Hi Nick,
CC-ing Goffredo.
On Tue, Oct 09, 2018 at 04:21:35PM -0700, Nick Terrell wrote:
> Hi all,
>
> This patch set imports the upstream zstd library, adds zstd support to the
> btrfs module, and adds a test case. I've also tested the patch set by storing
> my boot partition in btrfs with and wi
On Thu, Oct 11, 2018 at 08:50:55PM +0200, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli
>
> Signed-off-by: Goffredo Baroncelli
> Signed-off-by: Daniel Kiper
One nit pick below...
Otherwise you can add Reviewed-by: Daniel Kiper
> ---
> grub-co
found for a given
> device. This means that only first time read triggers rescan.
>
> The patch drops premature return. This way data->devices_attached[] is
> filled even when a given device is missing.
>
> Signed-off-by: Goffredo Baroncelli
I changed commit message, so, y
On Thu, Oct 11, 2018 at 08:51:01PM +0200, Goffredo Baroncelli wrote:
> From: Goffredo Baroncelli
>
> Add support for recovery for a RAID 5 btrfs profile. In addition
> it is added some code as preparatory work for RAID 6 recovery code.
>
> Signed-off-by: Goffredo Baroncelli
> ---
> grub-core/fs/
gned-off-by: Goffredo Baroncelli
> Reviewed-by: Daniel Kiper
> ---
> grub-core/fs/btrfs.c | 60 +++-
> 1 file changed, 54 insertions(+), 6 deletions(-)
>
> diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c
> index d066d54cc..d20
On Tue, Oct 09, 2018 at 04:04:03PM +, Ignat Korchagin wrote:
> Linux kernel from 4.11 has secure_boot member as part of linux_kernel_params.
> Currently, GRUB does not populate it, so the kernel reports
> "Secure boot could not be determined" on boot. We can populate it in EFI mode,
> so the ke
e,
> + const
> grub_efi_guid_t *guid,
> + grub_size_t
> *datasize_out,
> + grub_efi_uint32_t
> *attributes);
ernel_params
>grub_uint16_t vid_mode;/* Video mode control */
>grub_uint16_t root_dev;/* Default root device number */
>
> - grub_uint8_t padding10;/* 1fe */
> + grub_uint8_t padding11; /* 1fe */
>grub_uint8_t ps_mouse;
On Wed, Oct 17, 2018 at 09:03:58PM +0200, Goffredo Baroncelli wrote:
> On 17/10/2018 16.14, Daniel Kiper wrote:
> > On Thu, Oct 11, 2018 at 08:51:01PM +0200, Goffredo Baroncelli wrote:
> >> From: Goffredo Baroncelli
> >>
> >> Add support for recovery for
Hi Will,
Sorry for huge delay but I was swamped by other stuff.
Anyway, patch LGTM. Just a few nit picks below.
On Wed, Jun 20, 2018 at 04:38:08PM +0100, Will Thompson wrote:
> From: Carlo Caione
>
> Add a new search.fs_type tool to search by GPT partition type UUID.
>
> Signed-off-by: Carlo Ca
On Tue, Oct 09, 2018 at 01:03:00PM +0200, Juergen Gross wrote:
> In order to support grub2 in Xen PVH environment some additional Xen
> headers are needed as grub2 will be started in PVH mode requiring to
> use several HVM hypercalls and structures.
>
> Add the needed headers from Xen 4.10 being th
On Tue, Oct 09, 2018 at 01:03:01PM +0200, Juergen Gross wrote:
> Xen PVH guests will have the RSDP at an arbitrary address. Support that
> by passing the RSDP address via the boot parameters to Linux.
>
> The new protocol version 2.14 requires to set version to 0x8000 ored
> with the actually use p
On Thu, Oct 18, 2018 at 04:04:04PM +0200, Juergen Gross wrote:
> On 18/10/2018 15:45, Daniel Kiper wrote:
> > On Tue, Oct 09, 2018 at 01:03:00PM +0200, Juergen Gross wrote:
> >> In order to support grub2 in Xen PVH environment some additional Xen
> >> headers are needed
On Thu, Oct 18, 2018 at 04:18:26PM +0200, Juergen Gross wrote:
> On 18/10/2018 16:13, Daniel Kiper wrote:
> > On Tue, Oct 09, 2018 at 01:03:01PM +0200, Juergen Gross wrote:
> >> Xen PVH guests will have the RSDP at an arbitrary address. Support that
> >> by passing th
t;
> Signed-off-by: Juergen Gross
Reviewed-by: Daniel Kiper
Daniel
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
On Thu, Oct 18, 2018 at 04:36:28PM +0200, Juergen Gross wrote:
> On 18/10/2018 16:30, Daniel Kiper wrote:
> > On Thu, Oct 18, 2018 at 04:18:26PM +0200, Juergen Gross wrote:
> >> On 18/10/2018 16:13, Daniel Kiper wrote:
> >>> On Tue, Oct 09, 2018 at 01:03:01PM +0200, J
On Tue, Oct 09, 2018 at 01:03:03PM +0200, Juergen Gross wrote:
> Some common code needs to be special cased for Xen PVH mode. This hits
> mostly Xen PV mode specific areas.
>
> Signed-off-by: Juergen Gross
> ---
> grub-core/kern/i386/tsc.c | 2 +-
> include/grub/i386/pc/int.h| 3 +
On Thu, Oct 18, 2018 at 04:53:01PM +0200, Juergen Gross wrote:
> On 18/10/2018 16:48, Daniel Kiper wrote:
> > On Thu, Oct 18, 2018 at 04:36:28PM +0200, Juergen Gross wrote:
> >> On 18/10/2018 16:30, Daniel Kiper wrote:
> >>> On Thu, Oct 18, 2018 at 04:18:26PM +0200,
On Tue, Oct 09, 2018 at 01:03:04PM +0200, Juergen Gross wrote:
> Xen PVH mode needs some headers including the common i386 headers.
> Add those to the tree.
>
> Signed-off-by: Juergen Gross
> ---
> include/grub/i386/xenpvh/boot.h| 1 +
> include/grub/i386/xenpvh/console.h | 1 +
> include/gru
ross
Reviewed-by: Daniel Kiper
Daniel
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
On Tue, Oct 09, 2018 at 01:03:06PM +0200, Juergen Gross wrote:
> include/grub/offsets.h needs some defines for Xen PVH mode.
>
> Add them. While at it line up the values in the surrounding lines to
> start at the same column.
>
> Signed-off-by: Juergen Gross
> ---
> include/grub/offsets.h | 21 ++
On Tue, Oct 09, 2018 at 01:03:07PM +0200, Juergen Gross wrote:
> Add the hooks to current code needed for Xen PVH.
I am not against the code itself but it would be nice to know why you
add, AIUI, just stubs here which will be filled with proper code later.
Daniel
On Tue, Oct 09, 2018 at 01:03:08PM +0200, Juergen Gross wrote:
> Add the code for the Xen PVH mode boot entry.
>
> Signed-off-by: Juergen Gross
> ---
> grub-core/kern/i386/xen/startup_pvh.S | 50
> +++
> 1 file changed, 50 insertions(+)
>
> diff --git a/grub-core/
On Tue, Oct 09, 2018 at 01:03:10PM +0200, Juergen Gross wrote:
> Retrieve the memory map from the hypervisor and normalize it to contain
> no overlapping entries and to be sorted by address.
>
> Signed-off-by: Juergen Gross
> ---
> grub-core/kern/i386/xen/pvh.c | 98
> +++
On Tue, Oct 09, 2018 at 01:03:09PM +0200, Juergen Gross wrote:
> Add the needed code to setup the hypercall page for calling into the
> Xen hypervisor.
>
> Signed-off-by: Juergen Gross
> ---
> grub-core/kern/i386/xen/pvh.c | 70
> +++
> 1 file changed, 70
On Tue, Oct 09, 2018 at 01:03:11PM +0200, Juergen Gross wrote:
> Initialize the needed Xen specific data. This is:
>
> - the Xen start of day page containing the console and Xenstore ring
> page PFN and event channel
> - the grant table
> - the shared info page
>
> Set the RSDP address for the gu
+ continue;
> + }
> +
> + err = grub_disk_read (dev->disk, paddr >> GRUB_DISK_SECTOR_BITS,
> + paddr & (GRUB_DISK_SECTOR_SIZE - 1),
> + csize, buffers[i].buf);
> + if (err =
On Thu, Oct 18, 2018 at 07:55:32PM +0200, Goffredo Baroncelli wrote:
>
> Hi All,
>
> the aim of this patches set is to provide support for a BTRFS raid5/6
> filesystem in GRUB.
>
> The first patch, implements the basic support for raid5/6. I.e this works when
> all the disks are present.
>
> The ne
On Fri, Oct 19, 2018 at 05:52:44PM +0200, Juergen Gross wrote:
> On 19/10/2018 17:33, Roger Pau Monné wrote:
> > On Tue, Oct 09, 2018 at 01:03:07PM +0200, Juergen Gross wrote:
> >> Add the hooks to current code needed for Xen PVH.
> >>
> >> Signed-off-by: Juergen Gross
> >> ---
> >> grub-core/ker
On Fri, Oct 19, 2018 at 04:50:25PM +0200, Juergen Gross wrote:
> On 19/10/2018 14:17, Daniel Kiper wrote:
> > On Tue, Oct 09, 2018 at 01:03:08PM +0200, Juergen Gross wrote:
> >> Add the code for the Xen PVH mode boot entry.
> >>
> >> Signed-off-by: Juergen Gross
On Tue, Oct 09, 2018 at 01:03:12PM +0200, Juergen Gross wrote:
> Add all usable memory regions to grub memory management and add the
> needed mmap iterate code.
I am missing a few words why this patch is needed. Especially why
grub_machine_mmap_iterate() has to belong to this patch. However,
I thi
On Tue, Oct 09, 2018 at 01:03:13PM +0200, Juergen Gross wrote:
> Add the modifications to the build system needed to build a xenpvh
> grub.
>
> Signed-off-by: Juergen Gross
> Reviewed-by: Daniel Kiper
> ---
> gentpl.py | 4 ++--
> grub-cor
gnu.org/bugs/?49012
>
> Signed-off-by: Hans van Kranenburg
Except s/xenpvh/xen_pvh/ Reviewed-by: Daniel Kiper
Daniel
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
off-by: Juergen Gross
+/- XENPVH/xenpvh play Reviewed-by: Daniel Kiper
Daniel
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
On Tue, Oct 09, 2018 at 01:03:16PM +0200, Juergen Gross wrote:
> Add xenpvh support to grub-install.
>
> Signed-off-by: Juergen Gross
> Reviewed-by: Daniel Kiper
+/- XENPVH play still Reviewed-by: Daniel Kiper
Daniel
___
Grub-devel
On Tue, Oct 09, 2018 at 01:03:17PM +0200, Juergen Gross wrote:
> Support platform i386/xenpvh in configure.
>
> Signed-off-by: Juergen Gross
> Reviewed-by: Daniel Kiper
+/- XENPVH/xenpvh play still Reviewed-by: Daniel Kiper
Daniel
__
On Mon, Oct 22, 2018 at 01:43:53PM +0200, Juergen Gross wrote:
> On 22/10/2018 13:31, Daniel Kiper wrote:
> > On Tue, Oct 09, 2018 at 01:03:12PM +0200, Juergen Gross wrote:
> >> Add all usable memory regions to grub memory management and add the
> >> needed mmap iterate
for the sake of clarity.
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
---
v4 - suggestions/fixes:
- rename grub-core/commands/verify_helper.c to
grub-core/commands/verifiers.c.
v3 - suggestions/fixes:
- minor improvement and cleanups.
---
grub-core
Just for clarity. No functional change.
Signed-off-by: Daniel Kiper
---
grub-core/Makefile.core.def|4 ++--
grub-core/commands/{verify.c => pgp.c} |0
2 files changed, 2 insertions(+), 2 deletions(-)
rename grub-core/commands/{verify.c => pgp.c} (100%)
diff --git
From: Vladimir Serbinenko
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
---
v4 - suggestions/fixes:
- use complete grammar
(suggested by Ross Philipson),
- improve the documentation.
v3 - suggestions/fixes:
- improve the documentation.
---
docs/grub-dev.texi
| 78 ++
util/grub-fstest.c |6 +-
util/grub-mount.c|6 +-
88 files changed, 1949 insertions(+), 1282 deletions(-)
Daniel Kiper (5):
bufio: Use grub_size_t instead of plain int for size
verifiers: Add
modules which have
to be trusted on UEFI systems with secure boot enabled. So, it can defer
verification to other verifier, e.g. PGP one.
I silently assume that other verifiers are trusted and will do good job for us.
Or at least they will not do any harm.
Signed-off-by: Daniel Kiper
---
v4
nor complicated hence it make sense to support
modularized configs too.
Signed-off-by: Daniel Kiper
---
grub-core/commands/minicmd.c |3 +++
include/grub/dl.h| 13 +
2 files changed, 16 insertions(+)
diff --git a/grub-core/commands/minicmd.c b/grub-core/commands
From: Vladimir Serbinenko
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
---
grub-core/commands/verifiers.c| 14 ++
grub-core/lib/cmdline.c |9 +
grub-core/loader/arm/linux.c |8 ++--
grub-core/loader
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
---
grub-core/io/bufio.c |6 +++---
include/grub/bufio.h |4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/grub-core/io/bufio.c b/grub-core/io/bufio.c
index dbed647..d2f4fb4 100644
--- a/grub-core/io
From: Vladimir Serbinenko
Let's provide file type info to the I/O layer. This way verifiers
framework and its users will be able to differentiate files and verify
only required ones.
This is preparatory patch.
Signed-off-by: Vladimir Serbinenko
Signed-off-by: Daniel Kiper
-
the iorw and memrw modules are loaded then
machine boot is disabled,
- GRUB2 defers modules and ACPI tables verification to
other verifiers.
Signed-off-by: Daniel Kiper
---
v4 - suggestions/fixes:
- s/GRUB_VERIFY_FLAGS_DEFER/GRUB_VERIFY_FLAGS_DEFER_AUTH/,
- defer ACPI tables
On Mon, Oct 22, 2018 at 07:49:40PM +, Nick Terrell wrote:
>
>
> > On Oct 22, 2018, at 4:02 AM, Daniel Kiper wrote:
> >
> > On Thu, Oct 18, 2018 at 07:55:32PM +0200, Goffredo Baroncelli wrote:
> >>
> >> Hi All,
> >>
> >> the aim o
ariable to 0, so that success is returned, when no entry needs
> to be deleted.
>
> Tested on Dell OptiPlex 7010 with firmware A28.
>
> $ sudo ./grub-install /dev/sda
> Installing for x86_64-efi platform.
> Installation finished. No error reported.
>
>
boot, but
> "root=ZFS=${rpool}" works fine, so strip the trailing slash.
>
> Fixes: https://savannah.gnu.org/bugs/?52746
> Tested-by: Fejes J??zsef
> Signed-off-by: Colin Watson
Reviewed-by: Daniel Kiper
Daniel
___
Grub-devel
Hi Alex,
On Sat, Oct 27, 2018 at 12:31:52PM +0300, Alex Zimnitsky wrote:
> Hola!
>
> There is a rather dated project named `grub2-bhyve' which grub-loads an
> OS to be a bhyve (freebsd hypervisor) guest.
>
> Is there anything fundamental that prevents implementing bhyve support
> in mainline-grub2
On Wed, Oct 31, 2018 at 10:56:16AM -0700, Nick Terrell wrote:
> Import zstd-1.3.6 from upstream [1]. Only the files need for decompression
> are imported. Additionally makes zstd a module by adding module.c which
> contains the license, and updates Makefile.core.def.
>
> I used the latest zstd rele
nd passes after.
>
> Signed-off-by: Nick Terrell
> ---
> v1 -> v2:
> - Fix comments from Daniel Kiper.
>
> v2 -> v3:
> - Use grub_error() to set grub_errno in grub_btrfs_zstd_decompress().
> - Fix style and formatting comments.
>
> v3 -> v4:
> - Use attribute
On Tue, Nov 06, 2018 at 07:43:04PM +, Nick Terrell wrote:
> > On Nov 6, 2018, at 6:48 AM, Daniel Kiper wrote:
> > On Wed, Oct 31, 2018 at 10:56:16AM -0700, Nick Terrell wrote:
> >> Import zstd-1.3.6 from upstream [1]. Only the files need for decompression
> >> ar
he actually use protocol version (the minimum of the kernel
> supplied protocol version and the grub2 supported protocol version)
> if 2.14 or higher are in effect.
>
> Signed-off-by: Juergen Gross
Reviewed-by: Daniel Kiper
Daniel
___
G
u fix two nitpicks below you can add
Reviewed-by: Daniel Kiper
> ---
> V3: GRUB_MACHINE_XENPVH -> GRUB_MACHINE_XEN_PVH (Daniel Kiper)
> split include/grub/i386/pc/int.h (Daniel Kiper)
> move struct grub_e820_mmap_entry definition to header file
> ---
> grub-core/
On Fri, Nov 02, 2018 at 01:37:26PM +0100, Juergen Gross wrote:
> include/grub/offsets.h needs some defines for Xen PVH mode.
>
> Add them. While at it line up the values in the surrounding lines to
> start at the same column.
>
> Signed-off-by: Juergen Gross
Reviewed-by: Dan
> Signed-off-by: Juergen Gross
> ---
> V3: updated commit message (Daniel Kiper)
> xenpvh->xen_pvh (Daniel Kiper)
> ---
> include/grub/i386/xen_pvh/boot.h| 1 +
> include/grub/i386/xen_pvh/console.h | 1 +
> include/grub/i386/xen_pvh/int.h | 1 +
>
On Wed, Nov 07, 2018 at 03:49:51PM +0100, Juergen Gross wrote:
> On 07/11/2018 13:21, Daniel Kiper wrote:
> > On Fri, Nov 02, 2018 at 01:37:24PM +0100, Juergen Gross wrote:
> >> With Xen PVH mode adding a new machine type the machine related headers
> >> need to be prese
On Fri, Nov 02, 2018 at 01:37:27PM +0100, Juergen Gross wrote:
> Add the hooks to current code needed for Xen PVH. They will be filled
> with code later when the related functionality is being added.
>
> Signed-off-by: Juergen Gross
> ---
> V3: xenpvh->xen_pvh (Danie
On Fri, Nov 02, 2018 at 01:37:28PM +0100, Juergen Gross wrote:
> Add the code for the Xen PVH mode boot entry.
>
> Signed-off-by: Juergen Gross
One nitpick below. Otherwise
Reviewed-by: Daniel Kiper
> ---
> V3: clear %fs and %gs, too (Daniel K
On Wed, Oct 31, 2018 at 07:48:08PM +0100, Goffredo Baroncelli wrote:
> On 31/10/2018 13.06, Daniel Kiper wrote:
> [...]
> >
> > v11 pushed.
> >
> > Goffredo, thank you for doing the work.
>
> Great ! Many thanks for your
On Thu, Nov 08, 2018 at 08:23:20PM +0100, Juergen Gross wrote:
> On 08/11/2018 16:45, Daniel Kiper wrote:
> > On Fri, Nov 02, 2018 at 01:37:27PM +0100, Juergen Gross wrote:
> >> Add the hooks to current code needed for Xen PVH. They will be filled
> >> with
message (Roger Pau Monné)
> rewrite grub_xen_hypercall to avoid register variables (Daniel Kiper)
> ---
> grub-core/kern/i386/xen/pvh.c | 69
> +++
> 1 file changed, 69 insertions(+)
>
> diff --git a/grub-core/kern/i386/xen/pvh.c b/gr
201 - 300 of 3709 matches
Mail list logo