Skip to content

Commit

Permalink
sysctl: Add proc_dointvec_minmax_sysadmin sanity check
Browse files Browse the repository at this point in the history
Note: To upstream
Signed-off-by: Nicolas Bouchinet <[email protected]>
  • Loading branch information
nbouchinet-anssi authored and anthraxx committed Dec 9, 2024
1 parent c01b985 commit aa40e94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/proc/proc_sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,7 @@ static int sysctl_check_table(const char *path, struct ctl_table_header *header)
(entry->proc_handler == proc_douintvec) ||
(entry->proc_handler == proc_douintvec_minmax) ||
(entry->proc_handler == proc_dointvec_minmax) ||
(entry->proc_handler == proc_dointvec_minmax_sysadmin) ||
(entry->proc_handler == proc_dou8vec_minmax) ||
(entry->proc_handler == proc_dointvec_jiffies) ||
(entry->proc_handler == proc_dointvec_userhz_jiffies) ||
Expand Down

0 comments on commit aa40e94

Please sign in to comment.