Messages in this thread | | | Date | Fri, 30 Jan 1998 16:15:25 +0200 | From | Itai Nahshon <> | Subject | Re: Sound driver security hole? |
| |
Thomas Sailer wrote: > > Consider mmap'ing an ordinary file: > > fd = open("some file" ...); > mmap(..., MAP_SHARED, fd, ...); > close(fd);
Tom, I tried it and I would say it is not just a bug in the sound driver. Device close should be called only for the *last* close on the device. If a device or file is memory mapped it should still be open internally.
IMHO this is a bug which is *not* related to the sound driver.
Itai -- Itai Nahshon nahshon@actcom.co.il Also nahshon@vnet.ibm.com
| |