Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [RFC] linux6.8: disable CONFIG_BLK_DEV_WRITE_MOUNTED
@ 2024-04-29 23:55 classabbyamp
  2024-04-30  0:26 ` classabbyamp
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: classabbyamp @ 2024-04-29 23:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/classabbyamp/void-packages no-write-for-you
https://github.com/void-linux/void-packages/pull/50124

[RFC] linux6.8: disable CONFIG_BLK_DEV_WRITE_MOUNTED
protects against writing directly to block device nodes while they are mounted


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-no-write-for-you-50124.patch --]
[-- Type: text/x-diff, Size: 2026 bytes --]

From 63313ee3f34f76fb1877972a9c57d99010a44f01 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 29 Apr 2024 19:50:20 -0400
Subject: [PATCH] linux6.8: disable CONFIG_BLK_DEV_WRITE_MOUNTED

protects against writing directly to block device nodes while they are mounted
---
 srcpkgs/linux6.8/files/arm64-dotconfig  | 2 +-
 srcpkgs/linux6.8/files/i386-dotconfig   | 2 +-
 srcpkgs/linux6.8/files/x86_64-dotconfig | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/linux6.8/files/arm64-dotconfig b/srcpkgs/linux6.8/files/arm64-dotconfig
index 0eea6c711dad1b..f179c61ef61c24 100644
--- a/srcpkgs/linux6.8/files/arm64-dotconfig
+++ b/srcpkgs/linux6.8/files/arm64-dotconfig
@@ -926,7 +926,7 @@ CONFIG_BLK_ICQ=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_INTEGRITY=y
 CONFIG_BLK_DEV_INTEGRITY_T10=y
-CONFIG_BLK_DEV_WRITE_MOUNTED=y
+CONFIG_BLK_DEV_WRITE_MOUNTED=n
 CONFIG_BLK_DEV_ZONED=y
 CONFIG_BLK_DEV_THROTTLING=y
 # CONFIG_BLK_DEV_THROTTLING_LOW is not set
diff --git a/srcpkgs/linux6.8/files/i386-dotconfig b/srcpkgs/linux6.8/files/i386-dotconfig
index 7694b33cdd9fa7..7e6c3f359f2748 100644
--- a/srcpkgs/linux6.8/files/i386-dotconfig
+++ b/srcpkgs/linux6.8/files/i386-dotconfig
@@ -892,7 +892,7 @@ CONFIG_BLK_ICQ=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_INTEGRITY=y
 CONFIG_BLK_DEV_INTEGRITY_T10=y
-CONFIG_BLK_DEV_WRITE_MOUNTED=y
+CONFIG_BLK_DEV_WRITE_MOUNTED=n
 CONFIG_BLK_DEV_ZONED=y
 CONFIG_BLK_DEV_THROTTLING=y
 # CONFIG_BLK_DEV_THROTTLING_LOW is not set
diff --git a/srcpkgs/linux6.8/files/x86_64-dotconfig b/srcpkgs/linux6.8/files/x86_64-dotconfig
index 9d35674fffd80f..de14554aae0499 100644
--- a/srcpkgs/linux6.8/files/x86_64-dotconfig
+++ b/srcpkgs/linux6.8/files/x86_64-dotconfig
@@ -969,7 +969,7 @@ CONFIG_BLK_ICQ=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_INTEGRITY=y
 CONFIG_BLK_DEV_INTEGRITY_T10=y
-CONFIG_BLK_DEV_WRITE_MOUNTED=y
+CONFIG_BLK_DEV_WRITE_MOUNTED=n
 CONFIG_BLK_DEV_ZONED=y
 CONFIG_BLK_DEV_THROTTLING=y
 # CONFIG_BLK_DEV_THROTTLING_LOW is not set

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

end of thread, other threads:[~2024-05-04 19:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-29 23:55 [PR PATCH] [RFC] linux6.8: disable CONFIG_BLK_DEV_WRITE_MOUNTED classabbyamp
2024-04-30  0:26 ` classabbyamp
2024-05-01  9:07 ` [PR PATCH] [Merged]: " classabbyamp
2024-05-04 10:53 ` dkwo
2024-05-04 12:02 ` ahesford
2024-05-04 13:42 ` classabbyamp
2024-05-04 16:07 ` dkwo
2024-05-04 19:10 ` classabbyamp

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