Linux filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] sysctl: Restore minmax check for proc_do{int,ulong}vec_ms_jiffies_minmax().
@ 2026-09-05 23:36 Kuniyuki Iwashima
  2026-09-05 23:36 ` [PATCH 1/2] sysctl: Make proc_dointvec_ms_jiffies_minmax() enforce minmax again Kuniyuki Iwashima
  2026-09-05 23:36 ` [PATCH 2/2] sysctl: Make proc_doulongvec_ms_jiffies_minmax() " Kuniyuki Iwashima
  0 siblings, 2 replies; 13+ messages in thread
From: Kuniyuki Iwashima @ 2026-09-05 23:36 UTC (permalink / raw)
  To: Kees Cook, Joel Granados, Thomas Gleixner
  Cc: Kuniyuki Iwashima, Kuniyuki Iwashima, linux-fsdevel

The recent refactoring accidentally removed the minmax
check from proc_dointvec_ms_jiffies_minmax() and
proc_doulongvec_ms_jiffies_minmax().

The series restores the validation, and patch 2 adds
the INT_MAX limit for proc_doulongvec_ms_jiffies_minmax()
to avoid silent truncation.


Kuniyuki Iwashima (2):
  sysctl: Make proc_dointvec_ms_jiffies_minmax() enforce minmax again.
  sysctl: Make proc_doulongvec_ms_jiffies_minmax() enforce minmax again.

 kernel/time/jiffies.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

-- 
2.55.0.1003.g10538fe699-goog


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2026-09-10 16:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 23:36 [PATCH 0/2] sysctl: Restore minmax check for proc_do{int,ulong}vec_ms_jiffies_minmax() Kuniyuki Iwashima
2026-09-05 23:36 ` [PATCH 1/2] sysctl: Make proc_dointvec_ms_jiffies_minmax() enforce minmax again Kuniyuki Iwashima
2026-09-08 11:06   ` Joel Granados
2026-09-08 18:38     ` Kuniyuki Iwashima
2026-09-09 13:48       ` Joel Granados
2026-09-05 23:36 ` [PATCH 2/2] sysctl: Make proc_doulongvec_ms_jiffies_minmax() " Kuniyuki Iwashima
2026-09-08 12:15   ` Joel Granados
2026-09-08 18:44     ` Kuniyuki Iwashima
2026-09-09 13:44       ` Joel Granados
2026-09-09 17:07         ` Kuniyuki Iwashima
2026-09-10  9:04           ` Joel Granados
2026-09-10 10:45             ` Joel Granados
2026-09-10 16:43               ` Kuniyuki Iwashima

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox