Add privilege check in all public APIs 79/288979/4
authorTaeminYeom <taemin.yeom@samsung.com>
Mon, 27 Feb 2023 06:22:52 +0000 (15:22 +0900)
committerTaeminYeom <taemin.yeom@samsung.com>
Thu, 2 Mar 2023 06:57:38 +0000 (15:57 +0900)
commite1eb7906a9c4496e7b4fa89544ae500cbf7d615a
tree8a2c3af6d5e79e230d8716df58b057d508452ec1
parent36023733fefaebac87c463439750151c7234766a
Add privilege check in all public APIs

Previous checking privilege was done by peripheral-bus daemon.
After changing to use direct API, it was needed to add code
checking privilege but it was not added.

Change-Id: Ib893f5fe71995f3cb5e54a0dcf196057af1f09b9
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
CMakeLists.txt
packaging/capi-system-peripheral-io.spec
src/common.c
src/common.h
src/peripheral_adc.c
src/peripheral_gpio.c
src/peripheral_i2c.c
src/peripheral_pwm.c
src/peripheral_spi.c
src/peripheral_uart.c