* + fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4.patch added to -mm tree
@ 2020-08-21 23:48 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-08-21 23:48 UTC (permalink / raw)
To: ckennelly, mm-commits
The patch titled
Subject: fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4
has been added to the -mm tree. Its filename is
fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Chris Kennelly <ckennelly@google.com>
Subject: fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4
augment comment
Link: https://lkml.kernel.org/r/20200821233848.3904680-2-ckennelly@google.com
Signed-off-by: Chris Kennelly <ckennelly@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/binfmt_elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/binfmt_elf.c~fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4
+++ a/fs/binfmt_elf.c
@@ -431,7 +431,7 @@ static unsigned long maximum_alignment(s
if (cmds[i].p_type == PT_LOAD) {
unsigned long p_align = cmds[i].p_align;
- /* skip non-power of two alignments */
+ /* skip non-power of two alignments as invalid */
if (!is_power_of_2(p_align))
continue;
alignment = max(alignment, p_align);
_
Patches currently in -mm which might be from ckennelly@google.com are
fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address.patch
fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4.patch
add-self-test-for-verifying-load-alignment.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-21 23:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-21 23:48 + fs-binfmt_elf-use-pt_load-p_align-values-for-suitable-start-address-v4.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).