-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sepolicy for android_pm_tune script #344
base: master
Are you sure you want to change the base?
Sepolicy for android_pm_tune script #344
Conversation
d7de606
to
6d70aae
Compare
power/android_pm_tune.te
Outdated
#allow android_pm_tune sysfs:file {getattr open write}; | ||
allow android_pm_tune sysfs_net:dir r_dir_perms; | ||
allow android_pm_tune sysfs_net:file rw_file_perms; | ||
allow android_pm_tune sysfs_net:file {getattr}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getattr is part of r_file_perms so no need to separately add it
power/android_pm_tune.te
Outdated
allow android_pm_tune sysfs_net:file {getattr}; | ||
allow android_pm_tune sysfs_app_readable:file rw_file_perms; | ||
allow android_pm_tune sysfs_app_readable:dir r_dir_perms; | ||
allow android_pm_tune sysfs_app_readable:file {getattr}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment applies here
Improper Commit Message |
3285aac
to
6c9401c
Compare
6c9401c
to
432030a
Compare
432030a
to
1e53676
Compare
Adding the required domain and rules for executing android_pm_tune script to obtain the power optimization during idle display conditions. Tests done : Boot Test done Tracked-On: OAM-125227 Signed-off-by: amarjeet-intel <[email protected]>
Adding the required domain and rules for
executing android_pm_tune script to obtain
the power optimization during idle display
conditions.
Tests done : Logs
Tracked-On: OAM-125227