aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-04-08 11:45:53 +0200
committerPeter Zijlstra <[email protected]>2022-04-19 21:58:47 +0200
commit226d44acf6dfe71c9df5804b82364e93cf908b53 (patch)
tree13ec221fd203a3ac03fe7e42459ee5bec67f7e88 /lib/test_fortify/write_overflow-strlcpy-src.c
parent610abf3dea1092445b4b185e14ed130d1ec6aa74 (diff)
lib/strn*,objtool: Enforce user_access_begin() rules
Apparently GCC can fail to inline a 'static inline' single caller function: lib/strnlen_user.o: warning: objtool: strnlen_user()+0x33: call to do_strnlen_user() with UACCESS enabled lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0x33: call to do_strncpy_from_user() with UACCESS enabled Reported-by: Thomas Gleixner <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions