[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-video
Subject:    Re: [video4linux] Re: bttv security and stability problems
From:       Alan Cox <alan () cymru ! net>
Date:       1998-08-10 11:51:52
[Download RAW message or body]

> > No. In 2.1.x the final close should go to the device driver on the final unmap
> > if you close then unmap
> 
> Apart from that I dont understand what you are saying here...
> I tested it with 2.1.115 (but with the bttv driver from xawtv-2.19,
> is there a difference?) only - why does the memory change after
> the close but before the munmap??? I really dont know what happens
> then.

2.0.x calls close when the close() is done. 2.1.x is supposed to call it
at the point the use count hits zero - that includes mmap(). Either way
your API hooks  change seems right to catch munmap
------------
To unsubscribe from this list send mail to majordomo@phunk.org with the
line "unsubscribe video4linux" without the quotes in the body of the
message.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic