Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Nov 1997 00:31:19 -0800
From:      Amancio Hasty <hasty@rah.star-gate.com>
To:        Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Cc:        multimedia@freebsd.org
Subject:   Re: A small addition to the bt848 driver... 
Message-ID:  <199711040831.AAA00548@rah.star-gate.com>
In-Reply-To: Your message of "Tue, 04 Nov 1997 07:42:56 %2B0100." <199711040642.HAA19393@labinfo.iet.unipi.it> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > > In any case if you are so worried about misuse of the card, you should
> > > really restrict access to it. As it is now, it is perfectly possible
> > > that some user passes a bogus video.addr to the card instructing
> > > it to dump data onto memory at random places ? There is no checking
> > > whatsoever... That's in my opinion a big security hole.
> > 
> > Passing whatever address you want to the bt848 is not a security 
> > hole if people are so concerned about it then just add appropiate
> > permissions to /dev/bktr* .
> 
> precisely my point (however maybe something could be done in the
> driver to check at least that the "video.addr" does not point to
> pages of non-video RAM).

Nope I rather keep this way for the purpose of future usage like dumping
video straight to a memory mapped region of a device other than
a video card.


> > Typically Luigi, if it is for development the code is wrapped around
> > a #ifdef ;however, if you feel like you have a genuine usage for
> > your ioctl then I will be happy to have them committed.
> 
> whatever you like. I think this will let us write user-space apps to
> control the tuner, teletext circuitry and so on. This can be a
> significant advantage even for non-developers who will not have to
> rebuild the kernel to upgrade.
> 

Fine then please just check in the code for controlling the tuner.

	Tnks,
	Amancio





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711040831.AAA00548>