Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!eos!aurora!labrea!decwrl!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.wizards Subject: Re: Shared Memory in BSD4.3 is lacking? Message-ID: <14020007@hpisod2.HP.COM> Date: 28 Feb 88 21:18:22 GMT References: <9100@ism780c.UUCP> Organization: Hewlett Packard, Cupertino Lines: 16 > So what's missing, or otherwise brain-damaged? Much of the problem > with the interface is that your program has to find and hook up to > shared memory somehow, and the shared memory has to be able to > stick around when unused. The magic cookie approach seems > reasonable. But the cookies should be doled out by the file system, not by a replication and distortion of the file system semantics. There still is no useful way to generate appropriate magic cookies under the "shmid" approach; ftok() is a self-admitted botch. There should be a way to cause private shared memory segments to vanish upon termination of a process or process group. Dave Decot hpda!decot