From: Joel Granados <joel.granados@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Bradley Morgan <brads@mainlining.org>,
Ethan Nelson-Moore <enelsonmoore@gmail.com>,
Oleg Nesterov <oleg@redhat.com>, Yibo Tan <lhfff@tju.edu.cn>,
Zhan Xusheng <zhanxusheng@xiaomi.com>,
Kees Cook <kees@kernel.org>,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] sysctl changes for v7.4-rc1
Date: Tue, 20 Oct 2026 15:08:55 +0200 [thread overview]
Message-ID: <atdn5xA9AZHAWNsM@hobbes> (raw)
[-- Attachment #1: Type: text/plain, Size: 2901 bytes --]
The following changes since commit df2908090cda368b01ff43709f51890076c56157:
Linux 7.3-rc2 (2026-09-06 15:07:20 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git/ tags/sysctl-7.04-rc1
for you to fetch changes up to 7b08e5851884e4ad207a6401b1dcffdb03d43c28:
selftests: sysctl: Check the sign of a negative jiffies read (2026-09-25 14:00:00 +0200)
----------------------------------------------------------------
Summary
* Disallow partial vector updates
Stage sysctl vector writes before updating. Removes the chance of leaving a
sysctl vector partially updated due to erroneous input. This is not an atomic
write; a concurrent reader can still see a partially updated vector.
* Remove redundant sysctl config guards
Remove locations where (CONFIG_SYSCTL && CONFIG_PROC_FS) was checked. They
are superfluous as CONFIG_SYSCTL now depends directly on CONFIG_PROC_FS.
* Rewrite selftests using KTAP helpers
Each test now reports its own KTAP result and runs in a subshell. Test suite
continues after failure.
* Misc
Fix a use-after-free in the selftests test_sysctl module. Quiet an unused
variable warning in fs/proc/proc_sysctl.c:init_header(). Add tests for
partial vector updates and the int jiffies converters.
* Testing
This series was run through the sysctl selftests and kunit in x86_64. It
landed in linux-next between rc2 and rc3, giving the latest changes
considerable of testing
----------------------------------------------------------------
Ethan Nelson-Moore (1):
sysctl: quiet unused variable warning in fs/proc/proc_sysctl.c:init_header()
Joel Granados (5):
sysctl: Split data conversion and file position handling
sysctl: Reject uint arrays before calling the general proc_vec
sysctl: Disallow partial updates for erroneous sysctl vectors
sysctl: Add 0013 to test partially updated vectors
sysctl: Rewrite selftests on top of KTAP helpers
Oleg Nesterov (3):
sysctl: collapse redundant CONFIG_SYSCTL nesting in kernel/sysctl.c
sysctl: consolidate CONFIG_SYSCTL into a single block in kernel/sysctl.c
sysctl: remove redundant CONFIG_PROC_FS checks
Yibo Tan (1):
sysctl: unregister tables before freeing bitmap
Zhan Xusheng (2):
sysctl: Add jiffies converter entries to the test module
selftests: sysctl: Check the sign of a negative jiffies read
drivers/parport/procfs.c | 6 +-
fs/dcache.c | 2 +-
fs/file_table.c | 2 +-
fs/proc/proc_sysctl.c | 2 +-
kernel/sysctl.c | 459 ++++++----
lib/test_sysctl.c | 33 +-
tools/testing/selftests/sysctl/sysctl.sh | 1476 ++++++++++++------------------
7 files changed, 881 insertions(+), 1099 deletions(-)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
reply other threads:[~2026-10-20 13:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=atdn5xA9AZHAWNsM@hobbes \
--to=joel.granados@kernel.org \
--cc=brads@mainlining.org \
--cc=enelsonmoore@gmail.com \
--cc=kees@kernel.org \
--cc=lhfff@tju.edu.cn \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=torvalds@linux-foundation.org \
--cc=zhanxusheng@xiaomi.com \
/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