Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #31990

Re: Linux Embedded: how to get info from a running service

Path csiph.com!weretis.net!feeder6.news.weretis.net!panix!.POSTED.localhost!not-for-mail
From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.arch.embedded
Subject Re: Linux Embedded: how to get info from a running service
Date Wed, 9 Aug 2023 13:00:59 -0000 (UTC)
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <ub02mb$16r$1@reader2.panix.com> (permalink)
References <uarnls$314pb$1@dont-email.me> <uat5ap$3c0fm$1@dont-email.me> <uate87$39nhe$1@dont-email.me> <uatjk9$3edog$1@dont-email.me> <uatm5a$39nhe$2@dont-email.me> <uats09$3fprh$1@dont-email.me> <uavf4f$3qf61$1@dont-email.me> <uavipa$3s6gi$1@dont-email.me>
Injection-Date Wed, 9 Aug 2023 13:00:59 -0000 (UTC)
Injection-Info reader2.panix.com; posting-host="localhost:::1"; logging-data="1243"; mail-complaints-to="abuse@panix.com"
User-Agent slrn/1.0.3 (Linux)
Xref csiph.com comp.arch.embedded:31990

Show key headers only | View raw


On 2023-08-09, David Brown <david.brown@hesbynett.no> wrote:
> On 09/08/2023 09:27, pozz wrote:

>> [1] Ghost because it can't be read by any other process.
>> 
>
> It can, through a duplicate file descriptor.  In practice this is 
> commonly done by child processes - when you fork(), the child gets a 
> copy of all the open file descriptors.

You can also pass filedescriptors to non-related processes via
Unix-domain sockets.

https://copyconstruct.medium.com/file-descriptor-transfer-over-unix-domain-sockets-dcbbf5b3b6ec

https://www.sobyte.net/post/2022-01/pass-fd-over-domain-socket/

Back to comp.arch.embedded | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Linux Embedded: how to get info from a running service pozz <pozzugno@gmail.com> - 2023-08-07 23:28 +0200
  Re: Linux Embedded: how to get info from a running service David Brown <david.brown@hesbynett.no> - 2023-08-08 12:27 +0200
    Re: Linux Embedded: how to get info from a running service pozz <pozzugno@gmail.com> - 2023-08-08 14:59 +0200
      Re: Linux Embedded: how to get info from a running service Grant Edwards <invalid@invalid.invalid> - 2023-08-08 14:31 +0000
      Re: Linux Embedded: how to get info from a running service David Brown <david.brown@hesbynett.no> - 2023-08-08 16:31 +0200
        Re: Linux Embedded: how to get info from a running service pozz <pozzugno@gmail.com> - 2023-08-08 17:14 +0200
          Re: Linux Embedded: how to get info from a running service David Brown <david.brown@hesbynett.no> - 2023-08-08 18:54 +0200
            Re: Linux Embedded: how to get info from a running service pozz <pozzugno@gmail.com> - 2023-08-09 09:27 +0200
              Re: Linux Embedded: how to get info from a running service David Brown <david.brown@hesbynett.no> - 2023-08-09 10:29 +0200
                Re: Linux Embedded: how to get info from a running service Grant Edwards <invalid@invalid.invalid> - 2023-08-09 13:00 +0000

csiph-web