tech-kern archive

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

Re: Proposal to automatically make the owner/user of an accepted socket the current process



> So after a short reading, discovered Unix Domain Sockets also use
> file descriptors for data exchange(communication).

All sockets do - well, almost all; it is possible for a socket to exist
without any process having a file descriptor referring to it, but it's
rare.  (The only examples I know of are sockets in transit in
SCM_RIGHTS messages, when the sender has closed its descriptor and the
receiver hasn't received it yet, and a few kernel-internal uses such as
the NFS client.)

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index