From: gfelber <gfelber@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] x86_64-dotconfig added X86_USER_SHADOW_STACK=y [ci skip]
Date: Sat, 01 Jun 2024 13:26:53 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50639@inbox.vuxu.org> (raw)
[-- 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
next reply other threads:[~2024-06-01 11:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-01 11:26 gfelber [this message]
2024-06-04 21:33 ` gfelber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50639@inbox.vuxu.org \
--to=gfelber@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).