sepolicy: Remove diag support from surfaceflinger
Change-Id: Id615edb832ce53fd97975dfd1e3550eb5906fbed
This commit is contained in:
parent
7552c9cbde
commit
0a532f7169
1 changed files with 1 additions and 6 deletions
7
generic/vendor/common/surfaceflinger.te
vendored
7
generic/vendor/common/surfaceflinger.te
vendored
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
# Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions are
|
||||
|
@ -29,10 +29,5 @@ dontaudit surfaceflinger kernel:system module_request;
|
|||
|
||||
allow surfaceflinger sysfs_graphics:file rw_file_perms;
|
||||
|
||||
#diag
|
||||
userdebug_or_eng(`
|
||||
diag_use(surfaceflinger)
|
||||
')
|
||||
|
||||
get_prop(surfaceflinger, vendor_gralloc_prop)
|
||||
get_prop(surfaceflinger, vendor_display_prop)
|
||||
|
|
Loading…
Reference in a new issue