aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMeng Tang <tangmeng@uniontech.com>2022-04-11 13:12:05 +0800
committerLuis Chamberlain <mcgrof@kernel.org>2022-04-21 11:40:59 -0700
commitcb55f27ac9326bfe3bcaaf0adb498778d64602b6 (patch)
treeb3530a9bf307f3768bccedbfc492ebff598ed4e9 /lib/test_fortify/write_overflow-strncpy-src.c
parent3c6a4cba3138d1aeeb8fd917178c6578b9b8ae29 (diff)
fs/proc: Introduce list_for_each_table_entry for proc sysctl
Use the list_for_each_table_entry macro to optimize the scenario of traverse ctl_table. This make the code neater and easier to understand. Suggested-by: Davidlohr Bueso<dave@stgolabs.net> Signed-off-by: Meng Tang <tangmeng@uniontech.com> [updated the sysctl_check_table() hunk due to some changes upstream] Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions