init: Set permissions for physical address

Change-Id: Ic7f0b296e9ab5f1738aae4f46dcb47e935da8045
CRs-Fixed: 795622
This commit is contained in:
Naseer Ahmed 2015-02-25 11:37:08 -05:00 committed by Jake Weinstein
parent f2b345ceea
commit 3edc4294a4
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@ void set_display_node_perms()
snprintf(tmp, sizeof(tmp), "%sfb%d/cec/rd_msg", sys_fb_path, num);
setPerms(tmp, 0664);
setOwners(tmp, AID_SYSTEM, AID_SYSTEM);
snprintf(tmp, sizeof(tmp), "%sfb%d/pa", sys_fb_path, num);
setPerms(tmp, 0664);
setOwners(tmp, AID_SYSTEM, AID_SYSTEM);
snprintf(tmp, sizeof(tmp), "%sfb%d/cec/wr_msg", sys_fb_path, num);
setPerms(tmp, 0600);
setOwners(tmp, AID_SYSTEM, AID_SYSTEM);