Re: autofs bug report

Olaf Titz (olaf@bigred.inka.de)
Sat, 19 Sep 1998 18:33:32 +0200


> This is really a case of "don't do that, then"; this means someone
> with root privileges has done something fundamentally stupid. And
> yes, it does cause deadlock. I don't really consider this a bug; a

But it shouldn't be too difficult (although I don't know the code) to
put in sanity checks to avoid the error. Like we do have sanity checks
in syscalls only available to root which prevent us from Oopsing. To
take an example of mine, I put in a number of such checks into the
kernel part of CIPE although that is not expected to be called by
anything but its own accompanying driver program, _and_ everything in
there requires UID 0 (or in future versions CAP_NET_ADMIN).

olaf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/