util: privilege: Add is_privilege_supported function 09/280609/6
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 1 Sep 2022 06:34:57 +0000 (15:34 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 1 Sep 2022 08:37:49 +0000 (17:37 +0900)
commitfac3dcb3501756666b3a987fc299243de123a1ab
tree1c474da3614a914a601fb2f9e27978e95301d7af
parentb5d308519f733d24c0d9623ee3855b4271d21c5c
util: privilege: Add is_privilege_supported function

is_privilege_supported checks privilege permission of self process.

Change-Id: Ife85a74a494e12de1e1418036d8c84d389518c4b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/util/privilege.h [new file with mode: 0644]
packaging/pass.spec
src/util/privilege.c [new file with mode: 0644]