different processes using same file object

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

 



i have 2 completely different processes A and B (they do not have any relationship)

suppose A opens a file with file descriptor 4 and
B opens another file with file descriptor 5

can process A use the fd 5 (i.e using the file object of processs B) by any means..

if suppose i let the fd 4 of process A to point to the file object of process B(fd 5)

will it work?

is it safe?

[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