lkml.org 
[lkml]   [2002]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Two fixes for 2.4.19-pre5-ac3
    Date
    From
    > And, unless this is reversed the OpenAFS kernel module won't load (it 
    > needs sys_call_table.):

    Correct. There was agreement a very long time ago that code should not patch
    the syscall table (for one its not safe). AFS probably needs fixing so the
    AFS syscall hook is exported portably and nicely in the syscall code.

    This wants fixing in 2.5 too - basically

    static int (*afs_syscall)(...);
    sys_afs_syscall(...)
    {
    if(afs_syscall)
    return afs_syscall(....)
    return -ENOSYS;
    }

    EXPORT_SYMBOL(afs_syscall)

    Alan
    -
    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 13:25    [W:0.020 / U:0.680 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site