Changed to allow only locclient group to access
hal daemon Move hal daemon socket creation to loc_client directory Define uid/gid for locclient CRs-Fixed: 2260194 Change-Id: Icaac885c19cd65b11254bb93b6a938b2d4595761
This commit is contained in:
parent
aa6481f638
commit
27114f21cc
3 changed files with 5 additions and 1 deletions
|
@ -45,6 +45,8 @@ extern "C" {
|
|||
|
||||
#define UID_GPS (AID_GPS)
|
||||
#define GID_GPS (AID_GPS)
|
||||
#define UID_LOCCLIENT (4021)
|
||||
#define GID_LOCCLIENT (4021)
|
||||
|
||||
#define LOC_PATH_GPS_CONF_STR "/vendor/etc/gps.conf"
|
||||
#define LOC_PATH_IZAT_CONF_STR "/vendor/etc/izat.conf"
|
||||
|
|
|
@ -64,6 +64,8 @@ extern "C" {
|
|||
|
||||
#define UID_GPS (1021)
|
||||
#define GID_GPS (1021)
|
||||
#define UID_LOCCLIENT (4021)
|
||||
#define GID_LOCCLIENT (4021)
|
||||
|
||||
#define LOC_PATH_GPS_CONF_STR "/etc/gps.conf"
|
||||
#define LOC_PATH_IZAT_CONF_STR "/etc/izat.conf"
|
||||
|
|
|
@ -1574,7 +1574,7 @@ typedef void (*LocAgpsCloseResultCb)(bool isSuccess, AGpsExtType agpsType, void*
|
|||
|
||||
#define SOCKET_DIR_LOCATION "/dev/socket/location/"
|
||||
#define SOCKET_DIR_EHUB "/dev/socket/location/ehub/"
|
||||
#define SOCKET_TO_LOCATION_HAL_DAEMON "/dev/socket/location/hal_daemon"
|
||||
#define SOCKET_TO_LOCATION_HAL_DAEMON "/dev/socket/loc_client/hal_daemon"
|
||||
|
||||
#define SOCKET_DIR_TO_CLIENT "/dev/socket/loc_client/"
|
||||
#define SOCKET_TO_LOCATION_CLIENT_BASE "/dev/socket/loc_client/toclient"
|
||||
|
|
Loading…
Reference in a new issue