sysctl: Restore minmax check for proc_do{int,ulong}vec_ms_jiffies_minmax().
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | sysctl: Make proc_dointvec_ms_jiffies_minmax() enforce minmax again.kernel/ | +1 | 3 replies | |
| 2/2 | sysctl: Make proc_doulongvec_ms_jiffies_minmax() enforce minmax again.kernel/ | +9 | 8 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] sysctl: Restore minmax check for proc_do{int,ulong}vec_ms_jiffies_minmax().
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(-)
Signature · 1 line
2.55.0.1003.g10538fe699-goog