Unnamed repository
Go to file
Dave Young 9a1312a624 kexec/arch/i386: Add support for KASLR memory randomization
Backport upstream kexec-tools commit for correct kaslr page_offset value
commit 9f62cbddddfc93d78d9aafbddf3e1208cb242f7b
Author: Thomas Garnier <thgarnie@google.com>
Date:   Tue Sep 13 15:10:05 2016 +0800

    kexec/arch/i386: Add support for KASLR memory randomization

    Multiple changes were made on KASLR (right now in linux-next). One of
    them is randomizing the virtual address of the physical mapping, vmalloc
    and vmemmap memory sections. It breaks kdump ability to read physical
    memory.

    This change identifies if KASLR memories randomization is used by
    checking if the page_offset_base variable exists. It search for the
    correct PAGE_OFFSET value by looking at the loaded memory section and
    find the lowest aligned on PUD (the randomization level).

    Related commits on linux-next:
     - 0483e1fa6e09d4948272680f691dccb1edb9677f: Base for randomization
     - 021182e52fe01c1f7b126f97fd6ba048dc4234fd: Enable for PAGE_OFFSET

    Signed-off-by: Thomas Garnier <thgarnie@google.com>
    Signed-off-by: Simon Horman <horms@verge.net.au>

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
2016-11-11 14:14:59 +08:00
anaconda-addon Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00
.gitignore .gitignore: Update to make it more generic 2016-05-16 10:15:01 +08:00
98-kexec.rules udev-rules: Restart kdump service on cpu ADD/REMOVE events 2014-09-15 21:55:07 +08:00
dracut-kdump-capture.service Introduce kdump capture service 2014-08-05 13:13:32 +08:00
dracut-kdump-emergency.service kdump-emergency.service: executable uses absolute path 2014-08-28 13:05:56 +08:00
dracut-kdump-error-handler.service Introduce kdump error handling service 2014-08-05 13:13:32 +08:00
dracut-kdump-error-handler.sh Revert "execute kdump_post after do_default_action" 2015-04-08 15:50:16 +08:00
dracut-kdump.sh Support special mount information via "dracut_args" 2016-08-26 14:03:48 +08:00
dracut-module-setup.sh kdump/fadump: fix network interface name when switching from fadump to kdump 2016-11-11 11:00:22 +08:00
dracut-monitor_dd_progress monitor-dd-progress fix 2013-06-25 16:45:59 +08:00
fadump-howto.txt kdump: Add firmware-assisted dump howto document 2014-07-28 13:03:51 +08:00
kdump-dep-generator.sh kdump-dep-generator: Add kdump service dependencies on the fly 2014-04-17 11:27:31 +08:00
kdump-in-cluster-environment.txt Add fence_kdump support for generic clusters 2014-04-03 14:43:06 +08:00
kdump-lib-initramfs.sh use "systemctl reboot -f" for reboot action 2015-12-11 15:20:54 +08:00
kdump-lib.sh kdumpctl: fix target identification for systems without initrd 2016-09-16 15:40:48 +08:00
kdump.conf kdump.conf comments fixes 2016-07-20 10:07:21 +08:00
kdump.conf.5 kdump.conf man page fixes 2016-07-20 10:09:41 +08:00
kdump.service make kdump work when kernel crash after shutdown 2015-06-03 21:10:34 +08:00
kdump.sysconfig Remove kernel param "quiet" from kdump kernel cmdline 2015-12-11 15:18:31 +08:00
kdump.sysconfig.i386 Remove kernel param "quiet" from kdump kernel cmdline 2015-12-11 15:18:31 +08:00
kdump.sysconfig.ppc64 Remove kernel param "quiet" from kdump kernel cmdline 2015-12-11 15:18:31 +08:00
kdump.sysconfig.ppc64le Remove kernel param "quiet" from kdump kernel cmdline 2015-12-11 15:18:31 +08:00
kdump.sysconfig.s390x Remove kernel param "quiet" from kdump kernel cmdline 2015-12-11 15:18:31 +08:00
kdump.sysconfig.x86_64 Remove kernel param "quiet" from kdump kernel cmdline 2015-12-11 15:18:31 +08:00
kdumpctl fadump: restore default initrd when fadump mode is disabled 2016-11-11 11:01:13 +08:00
kdumpctl.8 kdumpctl: Add man page for kdumpctl 2015-08-19 14:15:34 +08:00
kexec-kdump-howto.txt kexec-kdump-howto: Add doc about the special mount information via "dracut_args" 2016-08-26 14:03:48 +08:00
kexec-tools-2.0.3-disable-kexec-test.patch Disable kexec_test 2012-01-21 16:56:07 +08:00
kexec-tools-2.0.12-makedumpfile-Support-_count-_refcount-rename-in-struct-p.patch makedumpfile: Support _count -> _refcount rename in struct page 2016-07-13 11:14:56 +08:00
kexec-tools-2.0.13-arm64-Add-arm64-kexec-support.patch Add initial upstream support for kexec on aarch64 2016-10-27 14:44:13 +08:00
kexec-tools-2.0.13-arm64-Add-support-for-additional-relocations-in-the-kexec-purgatory-code.patch Add initial upstream support for kexec on aarch64 2016-10-27 14:44:13 +08:00
kexec-tools-2.0.13-arm64-Add-support-for-binary-image-files.patch Add initial upstream support for kexec on aarch64 2016-10-27 14:44:13 +08:00
kexec-tools-2.0.13-arm64-Add-support-of-R_AARCH64_PREL32-relocation-in-.patch Add initial upstream support for kexec on aarch64 2016-10-27 14:44:13 +08:00
kexec-tools-2.0.13-fix-armv7-build-failure.patch Fix armv7 build failure 2016-08-09 15:42:39 +08:00
kexec-tools-2.0.13-kexec-Add-common-device-tree-routines.patch Add initial upstream support for kexec on aarch64 2016-10-27 14:44:13 +08:00
kexec-tools-2.0.13-kexec-arch-i386-Add-support-for-KASLR-memory-randomi.patch kexec/arch/i386: Add support for KASLR memory randomization 2016-11-11 14:14:59 +08:00
kexec-tools-2.0.13-makedumpfile-x86_64-fix-page_offset-calculation.patch x86_64: fix page_offset calculation 2016-10-27 14:52:15 +08:00
kexec-tools-2.0.13-makedumpfile-x86-64-calculate-page-offset-from-pt-load.patch Support kdump for kaslr enabled Fedora kernel 2016-10-27 14:44:02 +08:00
kexec-tools-2.0.13-makedumpfile-x86-64-kill-is-vmalloc-addr-x86-64.patch Support kdump for kaslr enabled Fedora kernel 2016-10-27 14:44:02 +08:00
kexec-tools-2.0.13-makedumpfile-x86-64-kill-some-unused-initialization.patch Support kdump for kaslr enabled Fedora kernel 2016-10-27 14:44:02 +08:00
kexec-tools-2.0.13-makedumpfile-x86-64-translate-all-VA-to-PA-using-page-table-values.patch Support kdump for kaslr enabled Fedora kernel 2016-10-27 14:44:02 +08:00
kexec-tools.spec kexec/arch/i386: Add support for KASLR memory randomization 2016-11-11 14:14:59 +08:00
live-image-kdump-howto.txt Documentation: step by step guide on confiuring kdump in live images 2016-11-11 10:56:11 +08:00
mkdumprd kdumpctl: check /etc/fstab modification only when it exists 2016-09-16 15:40:48 +08:00
mkdumprd.8 Remove comma which is redundant 2013-02-16 15:19:41 +08:00
README README: Add a README file 2014-04-02 10:45:36 +08:00
rhcrashkernel-param rhcrashkernel-param: echo crashkernel=auto for rhel7 2012-08-20 15:01:47 +08:00
sources Update kdump anaconda addon 2016-11-11 11:03:59 +08:00
zanata-notes.txt Add a notes for zanata process 2012-12-05 01:23:09 -05:00

Adding a patch to kexec-tools
=============================
There is a mailing list kexec@lists.fedoraproject.org where all the dicussion
related to fedora kexec-tools happen. All the patches are posted there for
inclusion and committed to kexec-tools after review.

So if you want your patches to be included in fedora kexec-tools package,
post these to kexec@lists.fedoraproject.org.

One can subscribe to list and browse through archives here.

https://admin.fedoraproject.org/mailman/listinfo/kexec