From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6952 invoked from network); 24 Dec 2022 10:30:34 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 24 Dec 2022 10:30:34 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 2A9EC423B1; Sat, 24 Dec 2022 20:30:29 +1000 (AEST) Received: from lechuck.jsg.id.au (jsg.id.au [193.114.144.202]) by minnie.tuhs.org (Postfix) with ESMTPS id 4149941C38 for ; Sat, 24 Dec 2022 20:30:20 +1000 (AEST) Received: from largo.jsg.id.au (largo.jsg.id.au [192.168.1.43]) by lechuck.jsg.id.au (OpenSMTPD) with ESMTPS id 2044c4a2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 24 Dec 2022 21:30:17 +1100 (AEDT) Received: from localhost (largo.jsg.id.au [local]) by largo.jsg.id.au (OpenSMTPD) with ESMTPA id fec0644d; Sat, 24 Dec 2022 21:30:17 +1100 (AEDT) Date: Sat, 24 Dec 2022 21:30:17 +1100 From: Jonathan Gray To: segaloco Message-ID: References: <202212221852.2BMIqMRk003859@ultimate.com> <2PV-DjW5M0eYObQ5MSA_2OzpT0t9A6VXbljYr-F4VfM375f26IygWqKx5bTLQXGM-RaNsNCnaL-Ato2u4dyavj7fgOakY-e5y_2S1uUPJMA=@protonmail.com> <202212222144.2BMLiWHk007731@ultimate.com> <08n94qOTX7MtEldV_R4HpFjZ1ar4em7foXpHnK659iYVp7cv-ewgjx6nywuiRNladfhaeB2vg0U2nyN1DY3KLggUZDQqvuEpTaWQpvHiEOk=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08n94qOTX7MtEldV_R4HpFjZ1ar4em7foXpHnK659iYVp7cv-ewgjx6nywuiRNladfhaeB2vg0U2nyN1DY3KLggUZDQqvuEpTaWQpvHiEOk=@protonmail.com> Message-ID-Hash: GRX6S27B3Y7MELTEZ7SQWSUISBONEHQA X-Message-ID-Hash: GRX6S27B3Y7MELTEZ7SQWSUISBONEHQA X-MailFrom: jsg@jsg.id.au X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: tuhs@tuhs.org X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Early supported UNIX manual List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Sat, Dec 24, 2022 at 08:58:06AM +0000, segaloco via TUHS wrote: > Your reference to sema(2) in CB-UNIX prompted me to go check the source and curiously, that isn't in sysent.c: https://www.tuhs.org/Archive/Distributions/USDL/CB_Unix/SourceCode/cbunix6.pdf (p. 50). However, there is a sys5.c with some semaphore stuff in it. Not how the code gets from the sigcall entry to that file, maybe there's a CB-specific syscall aggregator like the sys3b systemcall for 3B20-specific stuff. It had never actually occurred to me that the semaphores in SVR1 weren't the ones from CB-UNIX, I thought they just forklifted all the IPC into 4.0 from CB. That then means the semaphores that carried through in System V originated at least in UNIX/TS 4.0, but not by way of CB. Minor trivia, but that's news to me. Maybe the sysV modification request logs can shed some light, I remember seeing several IPC mentions in there. > > - Matt G. https://www.tuhs.org/Archive/Distributions/USDL/CB_Unix/cbunix_man2L_01.pdf describes 'EVENT:O(2L), event - semaphore operations', event() is system call 63 in cbunix6.pdf sysent USG UNIX 4.0 and 4.1 IPC were not the same: https://groups.google.com/g/net.unix/c/-H9x36DMOBQ/m/4mcL76lKbmMJ