Date: Mon, 3 Nov 1997 17:18:41 -0200 (EDT) From: Joao Carlos Mendes Luis <jonny@coppe.ufrj.br> To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Cc: multimedia@FreeBSD.ORG Subject: Re: A small addition to the bt848 driver... Message-ID: <199711031918.RAA07551@gaia.coppe.ufrj.br> In-Reply-To: <199711030511.GAA17013@labinfo.iet.unipi.it> from Luigi Rizzo at "Nov 3, 97 06:11:06 am"
next in thread | previous in thread | raw e-mail | index | archive | help
#define quoting(Luigi Rizzo) // if (write) { // i2cWrite( bktr, i2c_addr, i2c_port, data); // } else { // data = i2cRead( bktr, i2c_addr); // } Is there something harm that a mortal user could do using direct access to i2c bus ? If so, consider checking for root privs. This seems to much of low level access to allow to everybody. chmod'ing the device may not be an option. I would not want every bt848 program to be suid either. And depending on the power of i2c (think hardware debug), fbtab is not an option also. Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711031918.RAA07551>