[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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)
    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



    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:52    [W:0.018 / U:13.452 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site