device/qcom/common: Add permissions for mode and modes
Add permissions, owners for /sys/class/graphics/fb0/{mode, modes} These are meant to be read/written to by hwc. Change-Id: I43f38b8106ac066b37912a3ebd2af2375f3e7b09
This commit is contained in:
parent
98f88d6286
commit
5a8cc2ab60
|
@ -234,6 +234,14 @@ void set_display_node_perms()
|
|||
snprintf(tmp, sizeof(tmp), "%sfb0/dyn_pu", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||
|
||||
snprintf(tmp, sizeof(tmp), "%sfb0/modes", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||
|
||||
snprintf(tmp, sizeof(tmp), "%sfb0/mode", sys_fb_path);
|
||||
setPerms(tmp, 0664);
|
||||
setOwners(tmp, AID_SYSTEM, AID_GRAPHICS);
|
||||
}
|
||||
|
||||
static int check_rlim_action()
|
||||
|
|
Loading…
Reference in New Issue