All of lore.kernel.org
 help / color / mirror / Atom feed
* Does mandatory locking need to be set when the file is locked?
@ 2003-12-15  1:57 Joseph D. Wagner
  2003-12-15 15:38 ` Matthew Wilcox
  2003-12-15 17:05 ` Bryan Henderson
  0 siblings, 2 replies; 11+ messages in thread
From: Joseph D. Wagner @ 2003-12-15  1:57 UTC (permalink / raw)
  To: linux-fsdevel

I'm writing a program that changes the permissions on a file to enable 
mandatory locking, does its thing to the file, and then resets the 
permissions.

Do do the mandatory locking permissions have to be set before the lock is 
set? Or will the kernel dynamically recognize the change on the fly so that 
an active lock becomes mandatory?

TIA.

Joseph D. Wagner


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-12-16 22:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-15  1:57 Does mandatory locking need to be set when the file is locked? Joseph D. Wagner
2003-12-15 15:38 ` Matthew Wilcox
2003-12-15 15:50   ` Joseph D. Wagner
2003-12-15 16:23     ` Randy.Dunlap
2003-12-15 18:09     ` Trond Myklebust
2003-12-15 18:59       ` Matthew Wilcox
2003-12-16 19:13         ` Bryan Henderson
2003-12-16 20:33           ` Mike Fedyk
2003-12-16 21:48             ` Trond Myklebust
2003-12-16 22:00               ` Mike Fedyk
2003-12-15 17:05 ` Bryan Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.