core: block not allowed UUID connect in auth
authorYun-Hao Chung <howardchung@chromium.org>
Tue, 3 Aug 2021 11:43:08 +0000 (19:43 +0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:36 +0000 (19:08 +0530)
commitb5d7e24390217687529406e98af34057c78ccd8d
treefeb1465635f336762f697d60dc99365c8b00c2c1
parent15d3e019f69b8dec2908ad41672a1c254978f833
core: block not allowed UUID connect in auth

This ensures any incoming profile connection will be blocked if its UUID
is not allowed by the following assumption:

1. Each system profile asks adapter authorization when seeing a incoming
   connection.
2. Each external profile checks if its UUID is allowed by adapter when
   seeing a incoming connection.

Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c
src/profile.c