resource-monitor: Add RESOURCE_MONITOR_ERROR_PERMISSION_DENIED error 12/280612/1
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 1 Sep 2022 07:06:19 +0000 (16:06 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 1 Sep 2022 07:06:19 +0000 (16:06 +0900)
commita7fa1343b875286186bfd579f0eaa6273c9daf09
treee093968f88655d06959bab5af0f64c930406953e
parentbe618317a9d6a5e900abd58c7c838008c5f39ccf
resource-monitor: Add RESOURCE_MONITOR_ERROR_PERMISSION_DENIED error

If the user of capi-system-resource-monitor have not systemmonitor
privilege, return RESOURCE_MONITOR_ERROR_PERMISSION_DENIED error.

Change-Id: Id64804d01b6ef5ca1cb437606dfe4a69ba36b090
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/resource-monitor.h