[lkml]   [2009]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][v7][PATCH 0/9] Implement clone2() system call
    On Friday 25 September 2009, Oren Laadan wrote:
    > In this form, you place a constraints on where userspace may
    > place the {parent,child}_tid variable, and require that this
    > particular clone_struct remain valid memory in the parent until
    > the child terminates. This may break existing programs that
    > use this (threads libraries ?)

    No existing program uses sys_clone2, and the kernel function
    may well differ from the user space calling conventions, which
    are not bound by the six-argument limitation.

    So a clone2 library call could set up the structure with the
    arguments to the real syscall, call into the kernel and
    copy the output data back into the pointers it was given by
    the user.

    Arnd <><

     \ /
      Last update: 2009-09-25 00:23    [W:0.027 / U:42.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site