lkml.org 
[lkml]   [1998]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:41    [W:0.053 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site