Re: [RFC] Second attempt at kernel secure boot support

2012-10-31 Thread Jiri Kosina
the hibernation image on the machine itself which, well, doesn't sound secure either). -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC] Second attempt at kernel secure boot support

2012-10-31 Thread Jiri Kosina
-crafted image, reboot, let the kernel resume from that artificial image. It can be viewed as a very obscure way of rewriting the kernel through /dev/mem (which is obviously not possible when in 'secure boot' environment). -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send

Re: [RFC] Second attempt at kernel secure boot support

2012-11-05 Thread Jiri Kosina
this easy handling is happening, I'd appreciate it. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC] Second attempt at kernel secure boot support

2012-11-05 Thread Jiri Kosina
On Mon, 5 Nov 2012, Jiri Kosina wrote: Do I understand you correctly that by the 'glue' stuff you actually mean the division of the kexec image into segments? Of course, when we are dividing the image into segments and then passing those individually (even more so if some transformations

Re: [RFC] Second attempt at kernel secure boot support

2012-11-06 Thread Jiri Kosina
it being *created* before the machine is ever touched by Linux? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] x86,efi: Implement efi_no_storage_paranoia parameter

2013-04-16 Thread Jiri Kosina
reason to export this symbol? -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-30 Thread Jiri Kosina
environment, in order to obtain more accurate information. And it's a valid thing to do, according to UEFI specification. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-31 Thread Jiri Kosina
of testing this. But the patches are not ready for mainline yet. (*) If one would be naive enough, he'd believe that the pressure should be put on the BIOS writers instead of OS to fix the bug :) -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi

Re: [PATCH -v2 0/4] EFI 1:1 mapping

2013-06-20 Thread Jiri Kosina
kexec, I'd be careful in order not to underestimate how much kexec is being used. [At least some] distros are using it during installation process. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org

Re: [PATCH -v2 0/4] EFI 1:1 mapping

2013-06-20 Thread Jiri Kosina
? Windows don't work on those older Macs as well, do they? So if we properly detect those (and only those), we mimic Windows completely, right? -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org More

Re: [RFC V4 PATCH 00/15] Signature verification of hibernate snapshot

2013-09-26 Thread Jiri Kosina
to the symmetric key -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-efi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] Revert x86/mm/ASLR: Propagate base load address calculation

2015-03-16 Thread Jiri Kosina
of rushing things and break booting 4.1 on boxes left and right, we will be very strict and conservative and will take our time with this to fix and test it properly. Signed-off-by: Borislav Petkov b...@suse.de Cc: Jiri Kosina jkos...@suse.cz Agreed. Let's work on a better refresh for 4.1

Re: [PATCH v3 2/7] x86, boot: Move ZO to end of buffer

2015-03-10 Thread Jiri Kosina
...@zytor.com Cc: Matt Fleming matt.flem...@intel.com Cc: Kees Cook keesc...@chromium.org Cc: Thomas Gleixner t...@linutronix.de Cc: Jiri Kosina jkos...@suse.cz Cc: linux-efi@vger.kernel.org Cc: Ingo Molnar mi...@redhat.com Cc: Baoquan He b...@redhat.com Fixes: f47233c2d34f (x86/mm/ASLR

Re: [PATCH v2 08/16] x86/efi: Carrying hibernation key by setup data

2015-08-16 Thread Jiri Kosina
On Sat, 15 Aug 2015, Pavel Machek wrote: For forwarding hibernation key from EFI stub to boot kernel, this patch allocates setup data for carrying hibernation key, size and the status of efi operating. Reviewed-by: Jiri Kosina jkos...@suse.com Jiri, are you sure you reviewed

Re: [PATCH 11/24] uswsusp: Disable when the kernel is locked down

2017-04-06 Thread Jiri Kosina
> Swap encryption is not mandatory and I'm not sure how the hibernate > > code can verify whether or not it is in use. > > BTW, SUSE has patches adding secure boot support to the hibernate code > and Jiri promised me to post them last year even. :-) Oh, thanks for a friendly ping :)

Re: [PATCH 26/30] Lock down ftrace

2017-11-10 Thread Jiri Kosina
cation that the code you're running in ring0 can be trusted (IOW is the one that has been signed and verified by the whole boot chain). Checking execution patterns doesn't seem to fit at all. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH 26/30] Lock down ftrace

2017-11-10 Thread Jiri Kosina
... and even if that happens, locking down only that particular feature of ftrace would be needed. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 26/30] Lock down ftrace

2017-11-10 Thread Jiri Kosina
to fit at all. > > I'll defer this question to Alexei since he suggested I needed to deal > with this too. Thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH] PTI: unbreak EFI old_memmap

2018-01-05 Thread Jiri Kosina
From: Jiri Kosina <jkos...@suse.cz> old_memmap's efi_call_phys_prolog() calls set_pgd() with swapper PGD that has PAGE_USER set, which makes PTI set NX on it, and therefore EFI can't execute it's code. Fix that by forcefully clearing _PAGE_NX from the PGD (this can't be done by the pgpr