Skip to contentSkip to conversation

Problem using mandatory locks (other apps can read/dele

DISCUSSION Petr Vandrovec 1 participant 1 message Apr 17, 2002 VFS

lore
Share & tools
lore
#0 lore raw
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]