- module-loading-elf-handling-use-selfmag-instead-of-numeric-constant.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     module loading ELF handling: use SELFMAG instead of numeric constant
has been removed from the -mm tree.  Its filename was
     module-loading-elf-handling-use-selfmag-instead-of-numeric-constant.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: module loading ELF handling: use SELFMAG instead of numeric constant
From: Cyrill Gorcunov <gorcunov@xxxxxxxxx>

Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxx>
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/module.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/module.c~module-loading-elf-handling-use-selfmag-instead-of-numeric-constant kernel/module.c
--- a/kernel/module.c~module-loading-elf-handling-use-selfmag-instead-of-numeric-constant
+++ a/kernel/module.c
@@ -1777,7 +1777,7 @@ static struct module *load_module(void _
 
 	/* Sanity checks against insmoding binaries or wrong arch,
            weird elf version */
-	if (memcmp(hdr->e_ident, ELFMAG, 4) != 0
+	if (memcmp(hdr->e_ident, ELFMAG, SELFMAG) != 0
 	    || hdr->e_type != ET_REL
 	    || !elf_check_arch(hdr)
 	    || hdr->e_shentsize != sizeof(*sechdrs)) {
_

Patches currently in -mm which might be from gorcunov@xxxxxxxxx are

ecryptfs-fix-missed-mutex_unlock.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux