lkml.org 
[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectA few questions.....
I am considering writing a new feature for Linux.  Basically it would
allow you to open arbitrary URLs with the open() call. Something like
open("http://somehost/~somepage/foo.tar.gz", O_RDONLY)
or
open("ftp://somehome/foo.tar.gz", O_RDONLY)

The question I have is would this be more effciently done in
userspace(libc, etc...) or does this functionality belong in the kernel.
I was thinking if I did go the kernel route having separate modules that
could be loaded via kmod to handle various protocols. Another question is
how would one do DNS lookups in the kernel?? I'd assume some callback to
userspace to do the lookup. Also where would be the ideal place to put
the hook into the kernel? Would it go in somewhere like sys_open() or
elsewhere?

Thanks,

Aaron



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans