Allow to obtain fd from USB Security Daemon
Tizen don't allow applications to directly open device
nodes for communication with USB devices. We have our own
daemon (USD - USB Security Daemon) which holds the policy
of accessing USB devices. Each app which would like to
communicate with device has to ask USD to open suitable file
and pass fds to app.
This patch updates libusb and first tries to open device
node directly and only if it fails asks USD to open fds.
This allows to not influence existing libusb users which
has root rights and check USD permissions only for external
applications.
Change-Id: I9dcac37ccc8ae86cef4d22965744781307940e61
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>