aboutsummaryrefslogtreecommitdiff
path: root/block/blk-crypto-fallback.c
diff options
context:
space:
mode:
authorWilly Tarreau2021-01-21 08:20:30 +0100
committerPaul E. McKenney2021-01-21 10:06:45 -0800
commit35635d7fa689492ca9edb1d949f1805f074ecf1a (patch)
treea0dd26bd523252448e359c8a3f2d536df31d8369 /block/blk-crypto-fallback.c
parentf65d7117785cb8ab04f1af55909807c7eb9ed30b (diff)
tools/nolibc: Emit detailed error for missing alternate syscall number definitions
Some syscalls can be implemented from different __NR_* variants. For example, sys_dup2() can be implemented based on __NR_dup3 or __NR_dup2. In this case it is useful to mention both alternatives in error messages when neither are detected. This information will help the user search for the right one (e.g __NR_dup3) instead of just the fallback (__NR_dup2) which might not exist on the platform. This is a port of nolibc's upstream commit a21080d2ba41 to the Linux kernel. Suggested-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/lkml/20210120145447.GC77728@C02TD0UTHF1T.local/ Tested-by: Valentin Schneider <valentin.schneider@arm.com> Tested-by: Mark Rutland <mark.rutland@arm.com> [arm64] Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'block/blk-crypto-fallback.c')
0 files changed, 0 insertions, 0 deletions