Re: [question] implentation of smb-browsing: kernel space or user space?

H. Peter Anvin (hpa@zytor.com)
19 Jan 2002 13:58:31 -0800


Followup to: <E16RtOX-0007Ao-00@mrvdom00.kundenserver.de>
By author: Christian Bornträger
<linux-kernel@borntraeger.net>
In newsgroup: linux.dev.kernel
>
> My question is: Do you think, that this kind of filesystem is sensible, or do
> you think that smb-stuff has to be in user space. (for example using the
> filesystem in userspace approach, shown some weeks ago)?
>

It REALLY should be in user space. Putting this kind of crap in the
kernel is insane. Note also that *browsing* (network 'hood) is
different from *mounting* -- even on Windows it is very common that
there are computers you can't see in your browse windows that you can
access by name.

Consider DNS -- it *used* to be possible to enumerate DNS (these days,
most servers will deny access to you if you try), but it has been a
long, long time since it was ever practical. However, you can do
blind resolution quite trivially.

-hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt	<amsp@zytor.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/