Merge "init: Set permissions for dynamic partial update node"

This commit is contained in:
Linux Build Service Account 2014-12-03 23:05:43 -08:00 committed by Gerrit - the friendly Code Review server
commit 02c27f3121
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); snprintf(tmp, sizeof(tmp), "%sfb0/dynamic_fps", sys_fb_path);
setPerms(tmp, 0664); setPerms(tmp, 0664);
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS); 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() static int check_rlim_action()