Re: saa7134 and tvtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Trent Piepho (xyzzy@xxxxxxxxxxxxx):

> On Wed, 13 Nov 2002, Billy Biggs wrote:
> > Applications requiring "low latency" even at the high numbers tvtime
> > requires like < 20ms should be run as root or at least at high
> > priority.
> 
> Have you made tvtime suid aware?  Let it run SUID root, request
> real-time priority and open RTC and video devices, and then drop
> privileges.

  We now call:

  setuid( getuid() );

  So, if tvtime is setuid root and you run it as a user, after abusing
our root priviledges we drop back to the running user's status.

  I figure that's a good starting point anyway.  It will be in the next
release of tvtime.

-- 
Billy Biggs
vektor@xxxxxxxxxxxx





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux