From 63313ee3f34f76fb1877972a9c57d99010a44f01 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 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