Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Move System.map to linux-dbg packages
@ 2021-04-14 19:11 ericonr
  2021-04-17 23:48 ` [PR PATCH] [Merged]: " ericonr
  0 siblings, 1 reply; 2+ messages in thread
From: ericonr @ 2021-04-14 19:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

There is a new pull request by ericonr against master on the void-packages repository

https://github.com/ericonr/void-packages systemmap
https://github.com/void-linux/void-packages/pull/30239

Move System.map to linux-dbg packages
[ci skip]

A patch file from https://github.com/void-linux/void-packages/pull/30239.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-systemmap-30239.patch --]
[-- Type: text/x-diff, Size: 4758 bytes --]

From 3a2a4ca0bacbea2f9cf69ac20ee98e1895ddebe1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 14 Apr 2021 15:52:57 -0300
Subject: [PATCH 1/7] linux5.11: move System.map to -dbg package.

Fedora makes it 600 in the main package, Debian has moved it to their
-dbg package. Since it can help break KASLR on arbitrary attacks and
isn't really useful most of the time, confine to -dbg package.
---
 srcpkgs/linux5.11/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/linux5.11/template b/srcpkgs/linux5.11/template
index d4e86720cad7..eba194f35eab 100644
--- a/srcpkgs/linux5.11/template
+++ b/srcpkgs/linux5.11/template
@@ -325,5 +325,6 @@ linux5.11-dbg_package() {
 	short_desc+=" - debugging symbols"
 	pkg_install() {
 		vmove usr/lib/debug
+		vmove "boot/System.map-${_kernver}"
 	}
 }

From 74d3c9bcd75e1ddf37abb58fd3937905886609de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 14 Apr 2021 15:57:53 -0300
Subject: [PATCH 2/7] linux4.14: move System.map to -dbg package.

---
 srcpkgs/linux4.14/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/linux4.14/template b/srcpkgs/linux4.14/template
index 974c394bb285..be7732d07bc3 100644
--- a/srcpkgs/linux4.14/template
+++ b/srcpkgs/linux4.14/template
@@ -320,5 +320,6 @@ linux4.14-dbg_package() {
 	short_desc+=" - debugging symbols"
 	pkg_install() {
 		vmove usr/lib/debug
+		vmove "boot/System.map-${_kernver}"
 	}
 }

From c211913456584b9cac5ad021191e5dc68d26d35c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 14 Apr 2021 15:57:54 -0300
Subject: [PATCH 3/7] linux4.19: move System.map to -dbg package.

---
 srcpkgs/linux4.19/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/linux4.19/template b/srcpkgs/linux4.19/template
index abbc9c9ed08e..fd35eed70d56 100644
--- a/srcpkgs/linux4.19/template
+++ b/srcpkgs/linux4.19/template
@@ -327,5 +327,6 @@ linux4.19-dbg_package() {
 	short_desc+=" - debugging symbols"
 	pkg_install() {
 		vmove usr/lib/debug
+		vmove "boot/System.map-${_kernver}"
 	}
 }

From 545cb2cb20fc24ec9b6c2c931981f554e6534957 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 14 Apr 2021 15:57:54 -0300
Subject: [PATCH 4/7] linux4.4: move System.map to -dbg package.

---
 srcpkgs/linux4.4/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/linux4.4/template b/srcpkgs/linux4.4/template
index 83bfcc974680..db6cf3d38e5f 100644
--- a/srcpkgs/linux4.4/template
+++ b/srcpkgs/linux4.4/template
@@ -311,5 +311,6 @@ linux4.4-dbg_package() {
 	short_desc+=" - debugging symbols"
 	pkg_install() {
 		vmove usr/lib/debug
+		vmove "boot/System.map-${_kernver}"
 	}
 }

From 14beffa1abc3c8862c2f5e3f3fffb2dd8270e2f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 14 Apr 2021 15:57:55 -0300
Subject: [PATCH 5/7] linux5.10: move System.map to -dbg package.

---
 srcpkgs/linux5.10/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/linux5.10/template b/srcpkgs/linux5.10/template
index 3c1bd00d1975..d866ac04bd36 100644
--- a/srcpkgs/linux5.10/template
+++ b/srcpkgs/linux5.10/template
@@ -335,5 +335,6 @@ linux5.10-dbg_package() {
 	short_desc+=" - debugging symbols"
 	pkg_install() {
 		vmove usr/lib/debug
+		vmove "boot/System.map-${_kernver}"
 	}
 }

From 5f539ca95d2b5df72f2ff18eac2b6199d5eb04ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 14 Apr 2021 15:57:56 -0300
Subject: [PATCH 6/7] linux5.4: move System.map to -dbg package.

---
 srcpkgs/linux5.4/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/linux5.4/template b/srcpkgs/linux5.4/template
index 1b2543f16e2a..c40654a6d4ea 100644
--- a/srcpkgs/linux5.4/template
+++ b/srcpkgs/linux5.4/template
@@ -335,5 +335,6 @@ linux5.4-dbg_package() {
 	short_desc+=" - debugging symbols"
 	pkg_install() {
 		vmove usr/lib/debug
+		vmove "boot/System.map-${_kernver}"
 	}
 }

From 1236dcae825b546c36711a71700fcfb00655d75e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Nogueira?= <erico.erc@gmail.com>
Date: Wed, 14 Apr 2021 15:58:42 -0300
Subject: [PATCH 7/7] linux4.9: move System.map to -dbg package.

---
 srcpkgs/linux4.9/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/linux4.9/template b/srcpkgs/linux4.9/template
index b26655e58fb0..553f87b04f6a 100644
--- a/srcpkgs/linux4.9/template
+++ b/srcpkgs/linux4.9/template
@@ -309,5 +309,6 @@ linux4.9-dbg_package() {
 	short_desc+=" - debugging symbols"
 	pkg_install() {
 		vmove usr/lib/debug
+		vmove "boot/System.map-${_kernver}"
 	}
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: Move System.map to linux-dbg packages
  2021-04-14 19:11 [PR PATCH] Move System.map to linux-dbg packages ericonr
@ 2021-04-17 23:48 ` ericonr
  0 siblings, 0 replies; 2+ messages in thread
From: ericonr @ 2021-04-17 23:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

There's a merged pull request on the void-packages repository

Move System.map to linux-dbg packages
https://github.com/void-linux/void-packages/pull/30239

Description:
[ci skip]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-17 23:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 19:11 [PR PATCH] Move System.map to linux-dbg packages ericonr
2021-04-17 23:48 ` [PR PATCH] [Merged]: " ericonr

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).