On Thu, 25 Sep 2003 17:24:49 -0700, Trond Myklebust <[EMAIL PROTECTED]> wrote:
> I would rather then have something like the appended patch go in to
> which force the last process to close the file to actually wait on
> completion (unless someone signals it with a 'kill -9' - in which case
> they are knowingly breaking things).
Ugh, that's ugly -- and potentially a DoS issue as well. Since you don't
need any privileges to issue the 'kill -9' for your own processes, it
becomes fairly easy to write some code that exploits this and causes
kernel crashes across the board...
Not that the current situation is any better, of course.
Perhaps making that wait an uninterruptable wait would be enough to take
care of the problem?
Ion
--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.
_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs