Re: input_event for 64-bit kernel and 32-bit userland.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-06-02 14:06:10 +0400, Pavel Kiryukhin <savl@xxxxxxxxxxxxx>
wrote in message <40BDA692.50606@xxxxxxxxxxxxx>:

> Userspace application tries to read "input_event" (16 bytes) from 
> "/dev/input/event0" [ read(fd,&key_ev, sizeof(key_ev)) ],
> input core driver treats "input_event" as 24 bytes structure. It is due 
> to different size of  "timeval" (and finally  "long") in n64 kernel and 
> n32 userland.

You'd probably Cc: that to LKML, too. That's an issue for all systems
running 64bit kernel with 32bit userland (eg. Ultra-Sparc, PPC64, IA64,
x86_64, ...).

MfG, JBG

-- 
   Jan-Benedict Glaw       jbglaw@xxxxxxxxxx    . +49-172-7608481
   "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg
    fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
   ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux