Re: [PATCH 0/2] proc: proc_setattr for /proc/$PID/net

From: Christian Brauner
Date: Thu Jul 13 2023 - 08:00:10 EST


On Sat, 24 Jun 2023 12:30:45 +0200, Thomas Weißschuh wrote:
> /proc/$PID/net currently allows the setting of file attributes,
> in contrast to other /proc/$PID/ files and directories.
>
> This would break the nolibc testsuite so the first patch in the series
> removes the offending testcase.
> The "fix" for nolibc-test is intentionally kept trivial as the series
> will most likely go through the filesystem tree and if conflicts arise,
> it is obvious on how to resolve them.
>
> [...]

I've picked both for now. Let me know if I should do something else.
In any case, this needs long soaking in -next.

---

Applied to the fs.proc.net.uapi branch of the vfs/vfs.git tree.
Patches in the fs.proc.net.uapi 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: fs.proc.net.uapi

[1/2] selftests/nolibc: drop test chmod_net
https://git.kernel.org/vfs/vfs/c/49319832de90
[2/2] proc: use generic setattr() for /proc/$PID/net
https://git.kernel.org/vfs/vfs/c/18e66ae67673