From ec9938c3d33812989fa7a8b1b851f3cbd97cc20b Mon Sep 17 00:00:00 2001 From: Deokhyun Kim Date: Thu, 6 Feb 2020 20:27:26 +0900 Subject: [PATCH] Apply secure log to uinput path <6>[ 712.832464] [1: bluetoothd: 4557] input: 64:7B:XX:XX:5A:71 as /devices/virtual/input/input6 Change-Id: I68dfc2f3362f03036d4a99a15906a95482b70354 Signed-off-by: Deokhyun Kim --- profiles/audio/avctp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c index fd5d713..5f0f4d8 100644 --- a/profiles/audio/avctp.c +++ b/profiles/audio/avctp.c @@ -1292,6 +1292,12 @@ static void init_uinput(struct avctp *session) } ba2str(device_get_address(session->device), address); + /* + * Make sucre address to prevent to print privacy log + */ +#ifdef TIZEN_FEATURE_BLUEZ_MODIFY + address[6] = address[7] = address[9] = address[10] = 'X'; +#endif session->uinput = uinput_create(address); if (session->uinput < 0) error("AVRCP: failed to init uinput for %s", address); -- 2.7.4