Skip to content
Snippets Groups Projects
Commit 7171232c authored by SimHyunYong's avatar SimHyunYong
Browse files

Delete policy it is alread included in binder_call macros.

define(`binder_call', `
allow $1 $2:binder { call transfer };
allow $2 $1:binder transfer;
allow $1 $2:fd use;
')

binder_call(surfaceflinger, appdomain)
binder_call(surfaceflinger, bootanim)

it is alread include these policy.. so I can delete these policy!
allow surfaceflinger appdomain:fd use;
allow surfaceflinger bootanim:fd use;
parent 0220b345
No related branches found
No related tags found
No related merge requests found
...@@ -38,12 +38,8 @@ set_prop(surfaceflinger, system_prop) ...@@ -38,12 +38,8 @@ set_prop(surfaceflinger, system_prop)
set_prop(surfaceflinger, ctl_bootanim_prop) set_prop(surfaceflinger, ctl_bootanim_prop)
# Use open files supplied by an app. # Use open files supplied by an app.
allow surfaceflinger appdomain:fd use;
allow surfaceflinger app_data_file:file { read write }; allow surfaceflinger app_data_file:file { read write };
# Use open file provided by bootanim.
allow surfaceflinger bootanim:fd use;
# Allow a dumpstate triggered screenshot # Allow a dumpstate triggered screenshot
binder_call(surfaceflinger, dumpstate) binder_call(surfaceflinger, dumpstate)
binder_call(surfaceflinger, shell) binder_call(surfaceflinger, shell)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment