How can the bluez stack, which runs in its own process, generate a file
descriptor and hand that fd over to another process (the bluetooth
profile server process)? I was under the impression that fds can not be
passed across processes.
bluez 5.2
--
Randy Yates
Digital Signal Labs
http://www.digitalsignallabs.com
Hi Randy,
On 25.02.2013 06:13, Randy Yates wrote:
> How can the bluez stack, which runs in its own process, generate a file
> descriptor and hand that fd over to another process (the bluetooth
> profile server process)? I was under the impression that fds can not be
> passed across processes.
>
> bluez 5.2
Have a look at the section talking about SCM_RIGHTS in 'man 7 unix'
hth,
daniel