Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - pidin fd: (4 Items)
   
pidin fd  
Through the Connection Information view in the IDE I can see the filename but nothing with pidin fd.

Request for feature ;-)
Re: pidin fd  
Are you running as root when you run pidin?  qconn runs as root and gets
additional
priviledges to look into other processes information.

Thomas

On Mon, Aug 4, 2008 at 4:14 PM, Mario Charest <community-noreply@qnx.com>wrote:

> Through the Connection Information view in the IDE I can see the filename
> but nothing with pidin fd.
>
> Request for feature ;-)
>
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post11408
>
>
Re: pidin fd  
> Are you running as root when you run pidin?  qconn runs as root and gets
> additional
> priviledges to look into other processes information.
> 

Ah, right on the money ;-)

Shouldn't it behave the same for pidin ar ( I can see the argument of programs run as root)


> Thomas
> 
> On Mon, Aug 4, 2008 at 4:14 PM, Mario Charest <community-noreply@qnx.com>wrote:
> 
> > Through the Connection Information view in the IDE I can see the filename
> > but nothing with pidin fd.
> >
> > Request for feature ;-)
> >
> >
> > _______________________________________________
> > OSTech
> > http://community.qnx.com/sf/go/post11408
> >
> >


Re: pidin fd  
Mario Charest wrote:
>> Are you running as root when you run pidin?  qconn runs as root and gets
>> additional
>> priviledges to look into other processes information.
>>
>>     
>
> Ah, right on the money ;-)
>
> Shouldn't it behave the same for pidin ar ( I can see the argument of programs run as root)
>   
Not the same.  The way in which the names are derived is by duping the 
fd's to the querying process and then
sending an fdinfo message to the servers who are actually managing the 
targets that the fds were opened for.
The policy for who can dup and then who can actually query information 
on the file is a mix of the process
relationships and the file system owner/group/other information.

Thomas