lkml.org 
[lkml]   [1998]   [Jan]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 30 Jan 1998 16:15:25 +0200
FromItai Nahshon <>
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008