Re: different processes using same file object

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

 



On Tue, Sep 29, 2009 at 03:48:48PM +0530, krushnaal pai wrote:
> even if process A does recv the file descriptions thru sockets how will it
> use the file object of process B?

What do you mean? A file descriptor is a pointer to the kernel's file
object. If you send a file descriptor from process A to process B, then
the new file descriptor in B will point to the same file descriptor.

I'm not sure of what you're trying to accomplish, though.

-- 
Luciano Rocha <luciano@xxxxxxxxxxx>
Eurotux Informática, S.A. <http://www.eurotux.com/>

Attachment: pgpGswNhqRHgq.pgp
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux