From 11f466ae786b53697bc1aa0fcc5e5cfecf24b360 Mon Sep 17 00:00:00 2001 From: classabbyamp 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 0eea6c711da..f179c61ef61 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 7694b33cdd9..7e6c3f359f2 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 9d35674fffd..de14554aae0 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