* Bug in console_ioctl(4)
@ 2010-11-16 21:43 John H. DuBois III
0 siblings, 0 replies; only message in thread
From: John H. DuBois III @ 2010-11-16 21:43 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Using Ubuntu 10.04 64-bit, but I see that this problem is present in the online
man pages as well.
The argp for various of the console keyboard "get" ioctls - KDGETMODE,
KDGKBMODE, KDGKBMETA - is described as "argp points to a long".
This is not correct; in the kernel it's
put_user(ucval, (int __user *)arg)
This will work with a 32-bit binary, but will leave the upper part of the word
unset with a 64-bit (LP64) binary.
John
--
John DuBois spcecdt-E0iVtVOWpgTQT0dZR+AlfA@public.gmane.org KC6QKZ/AE http://www.armory.com/~spcecdt/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-16 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-16 21:43 Bug in console_ioctl(4) John H. DuBois III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).