lkml.org 
[lkml]   [2004]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [RFC] dynamic syscalls revisited
    Date
    Quoting Steven Rostedt <rostedt@goodmis.org>:
    > Done!
    >
    > Updated on http://home.stny.rr.com/rostedt/dynamic as well as included
    > in this email for ease.
    >
    > Now, I guess you can still get around this if the "Bad Vendor" were to
    > write a GPL module with their added system calls, and have that module
    > include hooks to their binary module. So, until we can fix that, I
    > guess Linus won't allow for this module to be included in the main line.
    >
    > -- Steve
    [SNIP]
    > Index: arch/i386/kernel/entry.S
    > ===================================================================
    > --- arch/i386/kernel/entry.S (revision 15)
    > +++ arch/i386/kernel/entry.S (working copy)
    > @@ -906,5 +906,10 @@
    > .long sys_vperfctr_unlink
    > .long sys_vperfctr_iresume
    > .long sys_vperfctr_read
    > +#ifdef CONFIG_DSYSCALL
    > + .long sys_dsyscall /* 295 */
    > +#else
    > + .long sys_ni_syscall /* 295 */
    > +#endif

    Wouldn't it be better to do a
    cond_syscall(sys_dsyscall)
    in kernel/sys_ni.c

    --
    Regards Michael Buesch [ http://www.tuxsoft.de.vu ]


    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.057 / U:28.836 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site