test: kdbus: Replace the code that accesses the attr with the cynara API 52/317852/7
authorUnsung Lee <unsung.lee@samsung.com>
Wed, 8 Jan 2025 11:16:22 +0000 (20:16 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 9 Jan 2025 06:14:17 +0000 (15:14 +0900)
commit9ec09947446627d1a511065be0bfdd46013de4c3
tree33424471069028dcd3d6e7565e61aa1757cc055e
parent6c41274f092fc6134af855cdc358882574aea0d6
test: kdbus: Replace the code that accesses the attr with the cynara API

Replace the code that directly accesses /proc/self/attr/current
with a cynara API called cynara_creds_self_get_client.
This is because, direct accessing to /proc/self/attr/current is invalid when SMACK is disabled.

Change-Id: I844b7faf5488a925eea7b2e7129af8d71927f262
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
packaging/linux-tizen-modules-source.spec
tests/kdbus/Makefile
tests/kdbus/kdbus-test.c
tests/kdbus/kdbus-util.c
tests/kdbus/kdbus-util.h