Re: Mailbox

allbery@kf8nh.apk.net
Sat, 3 Jul 1999 09:07:18 -0400 (EDT)


On 2 Jul, Albert D. Cahalan wrote:
+-----
| I'd be interested in knowing more about S_IFNAM, the "available"
+--->8

Xenix 3.0 and later provided semaphores and "shared data", bound to the
filesystem via "name files" (S_IFNAM). The st_rdev field of (struct
stat) revealed the exact type of name file: S_INSHD for a shared data
namefile, S_INSEM for a semaphore namefile. Their behavior was rather
like bound AF_UNIX sockets in that you couldn't treat them as files:
no open() etc., but a separate set of calls for each namefile.

SCO systems still support those for Xenix compatibility, since they can
run Xenix/286 and Xenix/386 programs, so we might have to be careful
about adopting 050000 for something else.

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering			 KF8NH
     We are Linux. Resistance is an indication that you missed the point.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/