Re: [PATCH v5] proc: add config & param to block forcing mem writes

From
Christian Brauner <brauner@kernel.org>
Date
2024-08-02 11:22:14
Also in
linux-fsdevel, linux-hardening, lkml
Reply to
Adrian Ratiu, 2024-08-02
On Fri, 02 Aug 2024 11:02:25 +0300, Adrian Ratiu wrote:
This adds a Kconfig option and boot param to allow removing
the FOLL_FORCE flag from /proc/pid/mem write calls because
it can be abused.

The traditional forcing behavior is kept as default because
it can break GDB and some other use cases.

[...]
Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/1] proc: add config & param to block forcing mem writes
      https://git.kernel.org/vfs/vfs/c/26f9eafd16c5
Thread (2 messages) 2 messages, 2 authors, last reply 2024-08-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help