lkml.org 
[lkml]   [2004]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: how do you call userspace syscalls (e.g. sys_rename) from inside kernel
    Luke Kenneth Casson Leighton wrote:
    > could someone kindly advise me on the location of some example code in
    > the kernel which calls one of the userspace system calls from inside the
    > kernel?
    >
    > alternatively if this has never been considered before, please could
    > someone advise me as to how it might be achieved?

    What are you trying to do? In most cases needing to use syscalls from
    within the kernel is an indication of a design flaw. The most common
    case is loading firmware, which should use request_firmware() instead.

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

    \
     
     \ /
      Last update: 2005-03-22 14:06    [W:0.023 / U:65.724 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site