add syscall wrapper for flock
add syscall wrapper for flock

it should be noted that flock does not mix well with standard fcntl
locking, but nonetheless some applications will attempt to use flock
instead of fcntl if both exist. options to configure or small patches
may be needed. debian maintainers have plenty of experience with this
unfortunate situation...

rofl0r/musl-old,chardi/musl,davidlazar/musl,rofl0r/musl-old,chardi/musl,davidlazar/musl,chardi/musl