aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-09-17 13:24:21 +0200
committerPeter Zijlstra <peterz@infradead.org>2023-11-29 15:43:54 +0100
commit5431fdd2c181dd2eac218e45b44deb2925fa48f0 (patch)
treef2c70579913577d25213659f520dbdd24c6a915f /lib/test_fortify/write_overflow-strlcpy-src.c
parent18caaedaf4c3712ab6821f292598a8f86e6d7972 (diff)
downloadlinux-5431fdd2c181dd2eac218e45b44deb2925fa48f0.tar.gz
linux-5431fdd2c181dd2eac218e45b44deb2925fa48f0.tar.bz2
linux-5431fdd2c181dd2eac218e45b44deb2925fa48f0.zip
ptrace: Convert ptrace_attach() to use lock guards
Created as testing for the conditional guard infrastructure. Specifically this makes use of the following form: scoped_cond_guard (mutex_intr, return -ERESTARTNOINTR, &task->signal->cred_guard_mutex) { ... } ... return 0; Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Link: https://lkml.kernel.org/r/20231102110706.568467727%40infradead.org
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions