Re: what different btw the owner uid and creator id of semaphore

2008-12-25 Thread shark huang
Hi: On Fri, Dec 26, 2008 at 2:44 PM, ajit mote wrote: > How can I know who own the semaphore at one moment? >> > > ipcs -s > 'cat /proc/sysvipc/sem' should be same. > > > >> On Thu, Dec 25, 2008 at 12:26 AM, shark huang wrote: >> >>> Hi:

Re: what different btw the owner uid and creator id of semaphore

2008-12-25 Thread ajit mote
> > How can I know who own the semaphore at one moment? > ipcs -s >>> 'cat /proc/sysvipc/sem' should be same. >>> >>> > On Thu, Dec 25, 2008 at 12:26 AM, shark huang wrote: > >> Hi: is the value of cuid and uid always same? Looks like they only >>

Re: what different btw the owner uid and creator id of semaphore

2008-12-25 Thread shark huang
Hi: On Fri, Dec 26, 2008 at 1:32 PM, ajit mote wrote: > > > On Fri, Dec 26, 2008 at 10:34 AM, shark huang wrote: > >> Hi: >> Thanks. >> >> On Fri, Dec 26, 2008 at 12:05 PM, ajit mote wrote: >> >>> >>> >>> On Thu, Dec 25, 2008 at 7:39 AM, shark huang wrote: >>> How can I know who own the s

Re: what different btw the owner uid and creator id of semaphore

2008-12-25 Thread ajit mote
On Fri, Dec 26, 2008 at 10:34 AM, shark huang wrote: > Hi: > Thanks. > > On Fri, Dec 26, 2008 at 12:05 PM, ajit mote wrote: > >> >> >> On Thu, Dec 25, 2008 at 7:39 AM, shark huang wrote: >> >>> How can I know who own the semaphore at one moment? >>> >> >> ipcs -s >> > 'cat /proc/sysvipc/sem' sh

Re: what different btw the owner uid and creator id of semaphore

2008-12-25 Thread ajit mote
On Thu, Dec 25, 2008 at 7:39 AM, shark huang wrote: > How can I know who own the semaphore at one moment? > ipcs -s > On Thu, Dec 25, 2008 at 12:26 AM, shark huang wrote: > >> Hi: is the value of cuid and uid always same? Looks like they only are >> given a same value in function "ipc_addid"

Driver for TV card

2008-12-25 Thread Samiullah Khawaja
Hi, I have a TV tuner card with a remote. I want to write a driver for this remote, so that i can use this remote do various things on linux, like playing music, starting some programs, etc. Is there any one who can guide me where to start from? Thanks Samiullah Khawaja Software E