Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Sun, 25 Aug 2024 22:02:56 -0000 (UTC) Organization: A noiseless patient Spider Lines: 15 Message-ID: References: <87il0lldf8.fsf@tudado.org> <20240815182717.189@kylheku.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 26 Aug 2024 00:02:56 +0200 (CEST) Injection-Info: dont-email.me; posting-host="eec8a5f8880ec9ebcfea2c2354da2438"; logging-data="2213423"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oodzkyLNs5vESHUKMrOnD" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:36SB9DRGQLP/+TbC84+yvBkcDGA= Bytes: 2329 On Sun, 25 Aug 2024 13:41:50 -0000 (UTC), vallor wrote: > On this Linux system, "man 7 unix", in the section "SCM_RIGHTS", it > explains how the passing mechanism is handled. One paragraph reads: > > Commonly, this operation is referred to as "passing a > file descriptor" to another process. However, more > accurately, what is being passed is a reference to an > open file description (see open(2)), and in the re‐ > ceiving process it is likely that a different file de‐ > scriptor number will be used. Note the distinction between “file description” (the in-kernel data structure that stores the context about the open file), and “file descriptor” (the userland reference to the file description).