lkml.org 
[lkml]   [2009]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] Declare PIO_CMAP/GIO_CMAP as compatbile ioctls.
    Date
    Otherwise, these don't work when called from 32-bit userspace on 64-bit kernels.
    ---
    fs/compat_ioctl.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
    index 5235c67..9ee71a0 100644
    --- a/fs/compat_ioctl.c
    +++ b/fs/compat_ioctl.c
    @@ -1937,6 +1937,8 @@ ULONG_IOCTL(SET_BITMAP_FILE)
    /* Big K */
    COMPATIBLE_IOCTL(PIO_FONT)
    COMPATIBLE_IOCTL(GIO_FONT)
    +COMPATIBLE_IOCTL(PIO_CMAP)
    +COMPATIBLE_IOCTL(GIO_CMAP)
    ULONG_IOCTL(KDSIGACCEPT)
    COMPATIBLE_IOCTL(KDGETKEYCODE)
    COMPATIBLE_IOCTL(KDSETKEYCODE)
    --
    1.6.1.2


    \
     
     \ /
      Last update: 2009-02-10 16:29    [W:0.018 / U:1.664 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site