Aren’t flock and POSIX locks backed by totally different systems?