[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/14] loader/bsd: Fix loading after unaligned module
From: |
Vladimir 'phcoder' Serbinenko |
Subject: |
[PATCH 01/14] loader/bsd: Fix loading after unaligned module |
Date: |
Mon, 11 Dec 2023 03:38:00 +0100 |
Current code implicitly assumes that aligning chunk_size + *kern_end is
the same as aligning on curload which is not the case because
chunk_size starts at zero even if *kern_end is unaligned and ALIGN_PAGE
moved curload to an aligned position but not *kern_end + chunk_size
This fixes booting of FreeBSD with zfs module.
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
0001-loader-bsd-Fix-loading-after-unaligned-module.patch
Description: Text Data
- [PATCH 00/14] Fix compilation on *BSD platforms, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 01/14] loader/bsd: Fix loading after unaligned module,
Vladimir 'phcoder' Serbinenko <=
- [PATCH 02/14] Tolerate unused-but-set in generated lexer/bison files, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 03/14] diskfilter: Remove unused variable, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 04/14] Fix compilation of generic/blocklist, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 06/14] bsd/hostdisk: Fix NetBSD compilation, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 07/14] Don't use %m formatter, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 08/14] gnulib: Tolerate always_inline attribute being ignored., Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 09/14] Rename HAVE_LIBZFS to USE_LIBZFS, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 10/14] autogen: Accept python3.10 as a python alternative, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 11/14] configure: Add *BSD font paths, Vladimir 'phcoder' Serbinenko, 2023/12/10
- [PATCH 13/14] configure: Add RPATH for freetype on NetBSD, Vladimir 'phcoder' Serbinenko, 2023/12/10