Add test for F_SETLK as this is needs to be 64-bit aware on 32-bit userspace
authorAndrew Bartlett <abartlet@samba.org>
Fri, 5 May 2023 01:15:51 +0000 (13:15 +1200)
committerAndreas Schneider <asn@samba.org>
Mon, 8 May 2023 10:34:59 +0000 (12:34 +0200)
commitceb139dc42c50275a11ca974ef8800032cf24b6f
tree09060d6412e56aadd8e59e2a282798a4453f8cc0
parentb15c02fc0187103ddad4c05adc0ff292f774c1ef
Add test for F_SETLK as this is needs to be 64-bit aware on 32-bit userspace

If this is not correctly routed to fcntl64 (where that exists) then an
incorrect thunking could be applied breaking the functionality.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15367

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
tests/CMakeLists.txt
tests/test_fcntl_lock.c [new file with mode: 0644]