Re: [Bluez-devel] Re: read_RSSI and others not thread-safe?

Marcel Holtmann
2004-10-08T15:40:58Z

Hi Stefan,

> if there is no pre-filtering then a process could open a socket to hci,
> set the event filter to "all events" and receive events which are
> results of other processes/sockets? Is this really true?

it is a raw socket and every process can get all events. It is not
possible to prevent this and actually the HCI itself is not designed for
something like this. However you must be root to get some special
events.

Regards

Marcel