Skip to contentSkip to conversation

unicore32: standardize /proc/iomem "Kernel code" name

PATCH Superseded Kees Cook 3 participants 4 messages Dec 9, 2011 – Dec 12, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH 1/1 unicore32: standardize /proc/iomem "Kernel code" name

All other ports use "Kernel code" to identify the Kernel text segment in /proc/iomem. Change the ARM resources to do the same.

---
 arch/unicore32/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/unicore32/kernel/setup.c +1 -1
index 471b6bc..2a64061 100644
@@ -64,7 +64,7 @@ static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
  */
 static struct resource mem_res[] = {
 	{
-		.name = "Kernel text",
+		.name = "Kernel code",
 		.start = 0,
 		.end = 0,
 		.flags = IORESOURCE_MEM
Signature · 5 lines
1.7.5.4


-- 
Kees Cook                                            @outflux.net
#1 lore raw
Quoted 4 lines · Kees Cook

All other ports use "Kernel code" to identify the Kernel text segment in /proc/iomem. Change the ARM resources to do the same.

Thanks Cook.

Our architecture/ISA is unicore32, not arm.

Guan Xuetao

Quoted 21 lines
---
 arch/unicore32/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/unicore32/kernel/setup.c +1 -1
index 471b6bc..2a64061 100644
@@ -64,7 +64,7 @@ static char default_command_line[COMMAND_LINE_SIZE] __initdata = CONFIG_CMDLINE;
  */
 static struct resource mem_res[] = {
 	{
-		.name = "Kernel text",
+		.name = "Kernel code",
 		.start = 0,
 		.end = 0,
 		.flags = IORESOURCE_MEM
Signature · 1 line
1.7.5.4
author
#2 lore raw
Quoted 9 lines · Guan Xuetao
Quoted 4 lines · Kees Cook

All other ports use "Kernel code" to identify the Kernel text segment in /proc/iomem. Change the ARM resources to do the same.

Thanks Cook.

Our architecture/ISA is unicore32, not arm.

Hah, oops, sorry. I reused the commit message I sent for a similar change in ARM. :)

Signature · 2 lines
Kees Cook
ChromeOS Security