Skip to content

Commit 080ea40

Browse files
nbouchinet-anssianthraxx
authored andcommitted
sysctl: Add proc_dointvec_minmax_sysadmin sanity check
Note: To upstream Signed-off-by: Nicolas Bouchinet <[email protected]>
1 parent 30f587d commit 080ea40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/proc/proc_sysctl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ static int sysctl_check_table(const char *path, struct ctl_table_header *header)
11481148
(entry->proc_handler == proc_douintvec) ||
11491149
(entry->proc_handler == proc_douintvec_minmax) ||
11501150
(entry->proc_handler == proc_dointvec_minmax) ||
1151+
(entry->proc_handler == proc_dointvec_minmax_sysadmin) ||
11511152
(entry->proc_handler == proc_dou8vec_minmax) ||
11521153
(entry->proc_handler == proc_dointvec_jiffies) ||
11531154
(entry->proc_handler == proc_dointvec_userhz_jiffies) ||

0 commit comments

Comments
 (0)