init: Set permissions for dynamic partial update node

Set file permissions for dynamic partial update system node to
control the feature at runtime.

Change-Id: Icd4799907d168c2606c8811c73f4fedd847d55f0
This commit is contained in:
Jeykumar Sankaran 2014-08-13 20:36:23 -07:00 committed by Gerrit - the friendly Code Review server
parent 82dc6e4db6
commit 7591884b64
1 changed files with 4 additions and 0 deletions

View File

@ -179,6 +179,10 @@ void set_display_node_perms()
snprintf(tmp, sizeof(tmp), "%sfb0/dynamic_fps", sys_fb_path);
setPerms(tmp, 0664);
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
// Set permissions for dynamic partial update
snprintf(tmp, sizeof(tmp), "%sfb0/dyn_pu", sys_fb_path);
setPerms(tmp, 0664);
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
}
static int check_rlim_action()