aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorDmitry Kadashev <[email protected]>2021-07-08 13:34:42 +0700
committerJens Axboe <[email protected]>2021-08-23 13:41:26 -0600
commit8228e2c313194f13f1d1806ed5734a26c38d49ac (patch)
tree84d58d03dbd06a8258bed089f2f435cff4c63f38 /lib/test_fortify/write_overflow-memcpy.c
parentda2d0cede330192879e8e16ddb3158aa76ba5ec2 (diff)
namei: add getname_uflags()
There are a couple of places where we already open-code the (flags & AT_EMPTY_PATH) check and io_uring will likely add another one in the future. Let's just add a simple helper getname_uflags() that handles this directly and use it. Cc: Al Viro <[email protected]> Cc: Christian Brauner <[email protected]> Acked-by: Linus Torvalds <[email protected]> Link: https://lore.kernel.org/io-uring/20210415100815.edrn4a7cy26wkowe@wittgenstein/ Signed-off-by: Christian Brauner <[email protected]> Signed-off-by: Dmitry Kadashev <[email protected]> Acked-by: Christian Brauner <[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