Add isadmin feature 36/28036/1
authorStephen Clymans <stephen.clymans@open.eurogiciel.org>
Wed, 24 Sep 2014 13:52:13 +0000 (15:52 +0200)
committerStephen Clymans <stephen.clymans@open.eurogiciel.org>
Wed, 24 Sep 2014 15:03:38 +0000 (17:03 +0200)
commit651783a86695b5d1a997518c498ee535afee4198
tree21ca6eadc28e3ff0f174c46ed8121161d9a5920f
parentc085c25c97cf7e13a9ca539495e457cb33f217aa
Add isadmin feature

Add a function to know if a given uid is in the "system" group or not.
Is based on the value TZ_SYS_ADMIN_GROUP of tzplatform_config

Change-Id: If3a6647dbc2315ca1c12baf51ff7e876e75f08d2
Signed-off-by: Stephen Clymans <stephen.clymans@open.eurogiciel.org>
src/Makefile.am
src/isadmin.c [new file with mode: 0644]
src/isadmin.h [new file with mode: 0644]
src/static-api.c
src/tzplatform_config.h