init: Set permissions for physical address
Change-Id: Ic7f0b296e9ab5f1738aae4f46dcb47e935da8045 CRs-Fixed: 795622
This commit is contained in:
parent
f2b345ceea
commit
3edc4294a4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue