Modify implementation of AccessController 95/307095/2
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 4 Mar 2024 23:46:53 +0000 (08:46 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 5 Mar 2024 00:29:59 +0000 (09:29 +0900)
commitd7573a7a88814613d6077bcbcc521530f5ee2ba7
treec2d0d9d3ab41e90dd6a986248b0f8997aa771561
parent4240ade2697cea629a40ecd1e71ec697f7fdc320
Modify implementation of AccessController

After this patch is applied, the cyanra object is managed as an instance.
When checking the permission using cynara API, the cynara instance is used.
When the process is terminating, a crash issue occurs when the cynara-thread
calls the cynara_initialize(). The patch is to solve that.

Change-Id: I6b76645c5a43387a48bf996360680dfe87b6e90c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/ac-internal.cc
src/ac-internal.hh