aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorDmitry Kadashev <[email protected]>2021-07-08 13:34:37 +0700
committerJens Axboe <[email protected]>2021-08-23 13:41:26 -0600
commit91ef658fb8b82837f94ea0d45d14b5b2d2541e70 (patch)
treeb1ced52aaffc27fb1b6ff4677c5d896ea4847ae5 /lib/test_fortify/write_overflow-memcpy.c
parent26578cda3db983b17cabe4e577af26306beb9987 (diff)
namei: ignore ERR/NULL names in putname()
Supporting ERR/NULL names in putname() makes callers code cleaner, and is what some other path walking functions already support for the same reason. This also removes a few existing IS_ERR checks before putname(). Suggested-by: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/io-uring/CAHk-=wgCac9hBsYzKMpHk0EbLgQaXR=OUAjHaBtaY+G8A9KhFg@mail.gmail.com/ Acked-by: Linus Torvalds <[email protected]> Cc: Al Viro <[email protected]> Cc: Christian Brauner <[email protected]> Signed-off-by: Dmitry Kadashev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions