lkml.org 
[lkml]   [2003]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: ioctl cleanups: enable sg_io and serial stuff to be shared
    On Thu, May 08, 2003 at 11:16:43AM -0400, Ben Collins wrote:
    > How would the driver differentiate between .compat_ioctl == NULL being a
    > case where it should fail because there is no translation, or a case
    > where it should use the compatible .ioctl? Maybe there should be an
    > extra flag like use_compat_ioctl. So:

    .compat_ioctl == NULL: fail
    .compat_ioctl == .ioctl: everythings fine, I read the docs

    > This would also solve the current problem where a module that is
    > compiled with compat ioctl's using register_ioctl32_conversion() is not
    > usable on a kernel compiled without CONFIG_COMPAT, even though it very
    > well should be.

    You mean you want to load the same binary module in differently
    compiled kernels? That's a flawed idea to start with..

    -
    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:35    [W:3.192 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site