Github messages for voidlinux
 help / color / mirror / Atom feed
From: elwint <elwint@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] linux6.x: Enable CONFIG_FANOTIFY_ACCESS_PERMISSIONS for i386 and x86_64
Date: Mon, 28 Oct 2024 18:45:32 +0100	[thread overview]
Message-ID: <20241028174532.A346522BA4@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52814@inbox.vuxu.org>

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

There is an updated pull request by elwint against master on the void-packages repository

https://github.com/elwint/void-packages linux6.x_fanotify-access
https://github.com/void-linux/void-packages/pull/52814

linux6.x: Enable CONFIG_FANOTIFY_ACCESS_PERMISSIONS for i386 and x86_64
Enable CONFIG_FANOTIFY_ACCESS_PERMISSIONS in the kernel which is needed by some anti-malware software (e.g. ClamAV On-Access Scanning). It is already enabled for arm64 but not for i386/x86_64.

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-linux6.x_fanotify-access-52814.patch --]
[-- Type: text/x-diff, Size: 5631 bytes --]

From 6a58d062fc6e51c8e54247d4ba6a0789c7c37fc7 Mon Sep 17 00:00:00 2001
From: Elwin Tamminga <e.tamminga@ultraware.nl>
Date: Mon, 28 Oct 2024 18:44:05 +0100
Subject: [PATCH 1/4] linux6.1: enable CONFIG_FANOTIFY_ACCESS_PERMISSIONS for
 i386 and x86_64

---
 srcpkgs/linux6.1/files/i386-dotconfig   | 2 +-
 srcpkgs/linux6.1/files/x86_64-dotconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux6.1/files/i386-dotconfig b/srcpkgs/linux6.1/files/i386-dotconfig
index a4e745446c174b..4d34de3107a6ab 100644
--- a/srcpkgs/linux6.1/files/i386-dotconfig
+++ b/srcpkgs/linux6.1/files/i386-dotconfig
@@ -9631,7 +9631,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_PRINT_QUOTA_WARNING is not set
diff --git a/srcpkgs/linux6.1/files/x86_64-dotconfig b/srcpkgs/linux6.1/files/x86_64-dotconfig
index 084d95473031cc..055e5f610c2754 100644
--- a/srcpkgs/linux6.1/files/x86_64-dotconfig
+++ b/srcpkgs/linux6.1/files/x86_64-dotconfig
@@ -9871,7 +9871,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_PRINT_QUOTA_WARNING is not set

From a740bfffdafb9da0378b52d6560715a632086d18 Mon Sep 17 00:00:00 2001
From: Elwin Tamminga <e.tamminga@ultraware.nl>
Date: Mon, 28 Oct 2024 18:44:25 +0100
Subject: [PATCH 2/4] linux6.10: enable CONFIG_FANOTIFY_ACCESS_PERMISSIONS for
 i386 and x86_64

---
 srcpkgs/linux6.10/files/i386-dotconfig   | 2 +-
 srcpkgs/linux6.10/files/x86_64-dotconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux6.10/files/i386-dotconfig b/srcpkgs/linux6.10/files/i386-dotconfig
index 2e4ac7c993bff1..4c11cfa95fd323 100644
--- a/srcpkgs/linux6.10/files/i386-dotconfig
+++ b/srcpkgs/linux6.10/files/i386-dotconfig
@@ -9917,7 +9917,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_QUOTA_DEBUG is not set
diff --git a/srcpkgs/linux6.10/files/x86_64-dotconfig b/srcpkgs/linux6.10/files/x86_64-dotconfig
index ce950e227ea525..f12353f8690dea 100644
--- a/srcpkgs/linux6.10/files/x86_64-dotconfig
+++ b/srcpkgs/linux6.10/files/x86_64-dotconfig
@@ -10316,7 +10316,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_QUOTA_DEBUG is not set

From 4e6a44f355b2d86dec2e16855b14392265c0c3e2 Mon Sep 17 00:00:00 2001
From: Elwin Tamminga <e.tamminga@ultraware.nl>
Date: Mon, 28 Oct 2024 18:44:38 +0100
Subject: [PATCH 3/4] linux6.11: enable CONFIG_FANOTIFY_ACCESS_PERMISSIONS for
 i386 and x86_64

---
 srcpkgs/linux6.11/files/i386-dotconfig   | 2 +-
 srcpkgs/linux6.11/files/x86_64-dotconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux6.11/files/i386-dotconfig b/srcpkgs/linux6.11/files/i386-dotconfig
index b9d25cee8ad3dc..5f57c87e9aaa19 100644
--- a/srcpkgs/linux6.11/files/i386-dotconfig
+++ b/srcpkgs/linux6.11/files/i386-dotconfig
@@ -9975,7 +9975,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_QUOTA_DEBUG is not set
diff --git a/srcpkgs/linux6.11/files/x86_64-dotconfig b/srcpkgs/linux6.11/files/x86_64-dotconfig
index 5f92706c81dcd0..025cf9de67611b 100644
--- a/srcpkgs/linux6.11/files/x86_64-dotconfig
+++ b/srcpkgs/linux6.11/files/x86_64-dotconfig
@@ -10379,7 +10379,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_QUOTA_DEBUG is not set

From 7e95da4d21ff9a6d987541bb37ffec4646486323 Mon Sep 17 00:00:00 2001
From: Elwin Tamminga <e.tamminga@ultraware.nl>
Date: Mon, 28 Oct 2024 18:44:48 +0100
Subject: [PATCH 4/4] linux6.6: enable CONFIG_FANOTIFY_ACCESS_PERMISSIONS for
 i386 and x86_64

---
 srcpkgs/linux6.6/files/i386-dotconfig   | 2 +-
 srcpkgs/linux6.6/files/x86_64-dotconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/linux6.6/files/i386-dotconfig b/srcpkgs/linux6.6/files/i386-dotconfig
index f05435c894103d..0eaa53f0f40e21 100644
--- a/srcpkgs/linux6.6/files/i386-dotconfig
+++ b/srcpkgs/linux6.6/files/i386-dotconfig
@@ -9743,7 +9743,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_QUOTA_DEBUG is not set
diff --git a/srcpkgs/linux6.6/files/x86_64-dotconfig b/srcpkgs/linux6.6/files/x86_64-dotconfig
index d0b333d1a83266..a8e7cf919f8884 100644
--- a/srcpkgs/linux6.6/files/x86_64-dotconfig
+++ b/srcpkgs/linux6.6/files/x86_64-dotconfig
@@ -10109,7 +10109,7 @@ CONFIG_FSNOTIFY=y
 CONFIG_DNOTIFY=y
 CONFIG_INOTIFY_USER=y
 CONFIG_FANOTIFY=y
-# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
+CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
 CONFIG_QUOTA=y
 CONFIG_QUOTA_NETLINK_INTERFACE=y
 # CONFIG_QUOTA_DEBUG is not set

  parent reply	other threads:[~2024-10-28 17:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-28 16:36 [PR PATCH] " elwint
2024-10-28 16:42 ` classabbyamp
2024-10-28 17:45 ` elwint [this message]
2024-10-28 17:47 ` elwint
2024-10-28 21:16 ` [PR PATCH] [Merged]: " leahneukirchen

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=20241028174532.A346522BA4@inbox.vuxu.org \
    --to=elwint@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).