lkml.org 
[lkml]   [2014]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v11 net-next 00/12] eBPF syscall, verifier, testsuite
    From
    On Wed, Sep 10, 2014 at 2:21 AM, Daniel Borkmann <dborkman@redhat.com> wrote:
    >
    > When you pass in these structs with pointers in it to other user space
    > buffers, how do you handle this with mixed 32/64 bit user/kernel space?
    ...
    > Perhaps I'm missing something, but I think, that would currently break in
    > your syscall handler, no?

    yes. compat stuff is not part of this diff.
    I was thinking to handle it similar to the way signalfd deals with it:
    add compat syscall, compat struct and convert it before going into
    main entry point.


    \
     
     \ /
      Last update: 2014-09-10 20:21    [W:2.368 / U:0.420 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site