sepolicy: update allow rules names

update the allow rules names in audioserver from the
generic sysfs label to one more specific.

CRs-Fixed: 2057938
Change-Id: I23d9f640cdfab6f5ad895eebbc8cefe0399933c2
This commit is contained in:
Aalique Grahame
2017-12-06 18:46:03 -08:00
committed by Sridhar Parasuram
parent 7c2fd2875c
commit 1820577300

View File

@@ -1,4 +1,4 @@
# Copyright (c) 2016, The Linux Foundation. All rights reserved.
# Copyright (c) 2016-2017, 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
@@ -62,11 +62,11 @@ allow audioserver audio_data_file:dir remove_name;
allow audioserver proc_audiod:file r_file_perms;
# Allow audioserver to read sysfs dir and sysfs_thermal files for speaker protection
# allow audioserver sysfs:dir r_dir_perms;
allow audioserver sysfs_audio:dir r_dir_perms;
allow audioserver sysfs_thermal:file r_file_perms;
# Allow audioserver to access sysfs nodes
# allow audioserver sysfs:file rw_file_perms;
allow audioserver sysfs_audio:file rw_file_perms;
userdebug_or_eng(`
diag_use(audioserver)
')