lkml.org 
[lkml]   [1999]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: access_ok inside kernelspace

    On Tue, 19 Oct 1999, Tigran Aivazian wrote:

    > [...] there *is* one case where going through _syscallX() and
    > therefore int 0x80 from the kernel *is* the only way. This is when the
    > caller is a module. That is how I call sysfs() from BFS module.

    You can pick whichever variant you prefer - obviously you should pick the
    fastest possible one. A number of system call base functions are exported
    btw. as a kernel symbol, so you can link your module eg. against
    sys_close() just fine.

    -- mingo


    -
    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:54    [W:4.120 / U:0.264 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site