Messages in this thread |  | | Date | Fri, 22 Nov 1996 23:09:18 +0100 | From | Gerd Knorr <> |
| |
Newsgroups: linux.dev.kernel Path: kraxel From: kraxel@cs.tu-berlin.de (Gerd Knorr) Subject: which clown "fixed" sr_ioctl in 2.1.12 ?? Organization: my small flat somewhere in berlin Message-ID: <E1ALJE.KuK@cs.tu-berlin.de> Date: Fri, 22 Nov 1996 22:09:13 GMT
Hi *,
The audio-ioctls of the SCSI CD-ROM driver are broken in 2.1.12. Someone added copy_from_user() and copy_to_user() calls to sr_audio_ioctl(). This is WRONG. sr_audio_ioctl() gets called from the generic cdrom driver. The generic cdrom driver handles the user access stuff and passes a _kernel_ pointer to sr_audio_ioctl().
Fix is simple: reverse the patch for sr_ioctl.c
Gerd
-- -- Gerd Knorr <kraxel@cs.tu-berlin.de> | http://wwwwbs.cs.tu-berlin.de/~kraxel/
Linux hackers are funny people: They count the time in patchlevels.
|  |