Re: simple UNIX_FD pass test?
Felipe Gasper <felipe-c4PQK5fb7feI/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 12, 2018, at 7:17 PM, Lawrence D'Oliveiro <[email protected]> wrote: > > On Mon, 12 Nov 2018 10:18:52 -0500, Felipe Gasper wrote: > >> Is there maybe a built-in (or systemd) method call that always returns >> unix FDs or some such? > > Open a file <https://linux.die.net/man/2/open>? > > Open a pipe <https://linux.die.net/man/2/pipe>? > > Duplicate a file descriptor <https://linux.die.net/man/2/dup>, > <https://linux.die.net/man/2/dup2>, <https://linux.die.net/man/2/dup3>? > > Random other things <https://linux.die.net/man/2/socket>, > <https://linux.die.net/man/2/inotify_init>, > <https://linux.die.net/man/2/epoll_create>? > > Very likely other things here <https://linux.die.net/man/2/> that I’ve > missed. Hi, Sorry, clarification: I know how to pass FDs over a socket. I want to try passing FDs over D-Bus. What I am looking for is something that a typical Ubuntu install provides “out of the box” that will send and/or receive a unix FD over D-Bus. Does that help? I suppose I could rig my own two endpoints to pass messages w/ FDs back and forth, but I’m just trying to save myself that effort. Thank you! -FG _______________________________________________ dbus mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dbus