Add __dlog_sec_print() to keep backward compatibility with existing MCD in-house... 03/217003/5 accepted/tizen/unified/20191107.051421 submit/tizen/20191106.015848
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 5 Nov 2019 09:47:21 +0000 (18:47 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 6 Nov 2019 01:48:04 +0000 (01:48 +0000)
commite79a3426c5ef1a69bf24cb20d3df2a6d8d6174ad
treeae9aaca377c5a987fd8a64a76d1158ec896082e5
parent3c997b3e9a9223d53a81ef29089890a1176426c3
Add __dlog_sec_print() to keep backward compatibility with existing MCD in-house Apps

.#define SECURE_LOG_(id, prio, tag, fmt, arg...) \
({ do { \
      __dlog_sec_print(id, prio, tag, "%s: %s(%d) > [SECURE_LOG] " fmt, __MODULE__, __func__, __LINE__, ##arg); \
} while (0); })

root@localhost:/usr/apps/com.samsung.w-manager-service/bin# ./w-manager-service
appcore: Failed to get application ID - pid(3962)
./w-manager-service: symbol lookup error: ./w-manager-service: undefined symbol: __dlog_sec_print

root@HyotaekShim:/platform/AppStoreWhitelist/20191106# grep -r __dlog_sec_print
000001044261_com.samsung.w-dialer2_100015.txt:__dlog_sec_print
000004264895_com.samsung.tizen.bixby-voice_210200007.txt:__dlog_sec_print
000001913406_com.samsung.w-spotify_300002.txt:__dlog_sec_print
000001902170_com.samsung.w-spotify_300001.txt:__dlog_sec_print
000002736570_com.samsung.w-manager-service_500300013.txt:__dlog_sec_print
000002420102_com.samsung.samsung-pay-app_100400303.txt:__dlog_sec_print
000001915993_com.samsung.w-spotify_300002.txt:__dlog_sec_print
000002750274_com.samsung.w-logs2_100300011.txt:__dlog_sec_print
000002738273_com.samsung.w-contacts2_100200074.txt:__dlog_sec_print
...

Change-Id: Ieda4e759213ab50810540574d98f72bb0491c6c9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
include/dlog-internal.h
src/libdlog/log.c