- x86_64-vdso-put-vars-in-rodata.patch removed from -mm tree

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

 



The patch titled
     x86_64 vDSO: put vars in .rodata
has been removed from the -mm tree.  Its filename was
     x86_64-vdso-put-vars-in-rodata.patch

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

------------------------------------------------------
Subject: x86_64 vDSO: put vars in .rodata
From: Roland McGrath <roland@xxxxxxxxxx>

This adds a const to the definitions vvar.c makes, so that the vdso_*
variables go into .rodata instead of .data.  This is essentially a cosmetic
change, just giving the section headers in the vDSO file more pleasing flags. 
These variables are read-only from the perspective of the vDSO itself and user
mode, even though the contents of the DSO image were adjusted at boot.

Signed-off-by: Roland McGrath <roland@xxxxxxxxxx>
Cc: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/x86_64/vdso/vvar.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/x86_64/vdso/vvar.c~x86_64-vdso-put-vars-in-rodata arch/x86_64/vdso/vvar.c
--- a/arch/x86/vdso/vvar.c~x86_64-vdso-put-vars-in-rodata
+++ a/arch/x86/vdso/vvar.c
@@ -8,5 +8,5 @@
 #include <asm/timex.h>
 #include <asm/vgtod.h>
 
-#define VEXTERN(x) typeof (__ ## x) *vdso_ ## x = (void *)VMAGIC;
+#define VEXTERN(x) typeof (__ ## x) *const vdso_ ## x = (void *)VMAGIC;
 #include "vextern.h"
_

Patches currently in -mm which might be from roland@xxxxxxxxxx are

origin.patch
x86_64-use-linux-elfcore-compath.patch
fix-tsk-exit_state-usage-resend.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