Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] x86_64-dotconfig added X86_USER_SHADOW_STACK=y [ci skip]
@ 2024-06-01 11:26 gfelber
  2024-06-04 21:33 ` gfelber
  0 siblings, 1 reply; 2+ messages in thread
From: gfelber @ 2024-06-01 11:26 UTC (permalink / raw)
  To: ml

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

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

https://github.com/gfelber/void-packages patch-1
https://github.com/void-linux/void-packages/pull/50639

x86_64-dotconfig added X86_USER_SHADOW_STACK=y [ci skip]
enabling X86_USER_SHADOW_STACK inside the kernel dotconfig for x86_64 to improve user land binary security.

Control-flow Enforcement Technology (CET) Shadow Stack https://docs.kernel.org/next/x86/shstk.html

#### Testing the changes
- I tested the changes in this PR: briefly


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

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

From d3a84712777d257e4c113b5cdeaa6ffb9a02ec01 Mon Sep 17 00:00:00 2001
From: 0x6fe1be2 <34159565+gfelber@users.noreply.github.com>
Date: Sat, 1 Jun 2024 13:24:21 +0200
Subject: [PATCH] x86_64-dotconfig added X86_USER_SHADOW_STACK=y

enabling X86_USER_SHADOW_STACK inside the kernel dotconfig for x86_64 to improve userland binary security.

Control-flow Enforcement Technology (CET) Shadow Stack
https://docs.kernel.org/next/x86/shstk.html
---
 srcpkgs/linux6.9/files/x86_64-dotconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/linux6.9/files/x86_64-dotconfig b/srcpkgs/linux6.9/files/x86_64-dotconfig
index 9be4b5ffdd7a42..541b0e25dff2b0 100644
--- a/srcpkgs/linux6.9/files/x86_64-dotconfig
+++ b/srcpkgs/linux6.9/files/x86_64-dotconfig
@@ -490,7 +490,7 @@ CONFIG_X86_INTEL_TSX_MODE_OFF=y
 # CONFIG_X86_INTEL_TSX_MODE_ON is not set
 # CONFIG_X86_INTEL_TSX_MODE_AUTO is not set
 # CONFIG_X86_SGX is not set
-# CONFIG_X86_USER_SHADOW_STACK is not set
+CONFIG_X86_USER_SHADOW_STACK=y
 CONFIG_EFI=y
 CONFIG_EFI_STUB=y
 CONFIG_EFI_HANDOVER_PROTOCOL=y

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

* Re: x86_64-dotconfig added X86_USER_SHADOW_STACK=y [ci skip]
  2024-06-01 11:26 [PR PATCH] x86_64-dotconfig added X86_USER_SHADOW_STACK=y [ci skip] gfelber
@ 2024-06-04 21:33 ` gfelber
  0 siblings, 0 replies; 2+ messages in thread
From: gfelber @ 2024-06-04 21:33 UTC (permalink / raw)
  To: ml

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

New comment by gfelber on void-packages repository

https://github.com/void-linux/void-packages/pull/50639#issuecomment-2148451563

Comment:
Update: 
I build and installed this change locally (x86_64-musl) and didn't run into any problems.

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

end of thread, other threads:[~2024-06-04 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-01 11:26 [PR PATCH] x86_64-dotconfig added X86_USER_SHADOW_STACK=y [ci skip] gfelber
2024-06-04 21:33 ` gfelber

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