Problem using mandatory locks (other apps can read/dele
Quoted 3 lines · E. Abbink
reading with a mandatory file lock set:
display - reads & displays image fine, seems to break lock
Did you tried 'strace'? display probably tries to mmap() it, and for some strange reason your kernel allows mmap on file marked for mandatory locking. There was some discussion about disabling mmap for them, but I have no idea what current state is, and what other platforms do.
Petr Vandrovec [email protected]