parent
1bc645396f
commit
4683e63404
6 changed files with 0 additions and 23 deletions
|
@ -96,12 +96,6 @@ on boot
|
||||||
write /dev/cpuset/background/cpus 0-7
|
write /dev/cpuset/background/cpus 0-7
|
||||||
write /dev/cpuset/system-background/cpus 0-7
|
write /dev/cpuset/system-background/cpus 0-7
|
||||||
|
|
||||||
# Allow system to manipulate KProfiles modes and parameters
|
|
||||||
chown system system /sys/module/kprofiles/parameters/auto_kprofiles
|
|
||||||
chmod 0660 /sys/module/kprofiles/parameters/auto_kprofiles
|
|
||||||
chown system system /sys/module/kprofiles/parameters/kp_mode
|
|
||||||
chmod 0660 /sys/module/kprofiles/parameters/kp_mode
|
|
||||||
|
|
||||||
####Regionalization config and prop files####
|
####Regionalization config and prop files####
|
||||||
chmod 0644 /persist/speccfg/spec
|
chmod 0644 /persist/speccfg/spec
|
||||||
chmod 0644 /persist/speccfg/devicetype
|
chmod 0644 /persist/speccfg/devicetype
|
||||||
|
|
|
@ -279,10 +279,6 @@ PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.livedisplay@2.0-service-sdm
|
vendor.lineage.livedisplay@2.0-service-sdm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# KProfiles
|
|
||||||
PRODUCT_PACKAGES += \
|
|
||||||
KProfiles
|
|
||||||
|
|
||||||
# Media
|
# Media
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libavservices_minijail \
|
libavservices_minijail \
|
||||||
|
|
3
sepolicy/vendor/file.te
vendored
3
sepolicy/vendor/file.te
vendored
|
@ -10,6 +10,3 @@ type sysfs_msm_subsys, sysfs_type, fs_type;
|
||||||
type sysfs_rpm, sysfs_type, fs_type;
|
type sysfs_rpm, sysfs_type, fs_type;
|
||||||
type sysfs_system_sleep_stats, sysfs_type, fs_type;
|
type sysfs_system_sleep_stats, sysfs_type, fs_type;
|
||||||
type sysfs_tp, fs_type, sysfs_type;
|
type sysfs_tp, fs_type, sysfs_type;
|
||||||
|
|
||||||
# KProfiles
|
|
||||||
type sysfs_kprofiles, sysfs_type, fs_type;
|
|
4
sepolicy/vendor/genfs_contexts
vendored
4
sepolicy/vendor/genfs_contexts
vendored
|
@ -7,10 +7,6 @@ genfscon proc /sys/kernel/sched_boost u:object_r:proc_sysctl_sch
|
||||||
# DT2W
|
# DT2W
|
||||||
genfscon sysfs /devices/virtual/touch/tp_dev/gesture_on u:object_r:sysfs_tp:s0
|
genfscon sysfs /devices/virtual/touch/tp_dev/gesture_on u:object_r:sysfs_tp:s0
|
||||||
|
|
||||||
# KProfiles
|
|
||||||
genfscon sysfs /module/kprofiles/parameters/auto_kprofiles u:object_r:sysfs_kprofiles:s0
|
|
||||||
genfscon sysfs /module/kprofiles/parameters/kp_mode u:object_r:sysfs_kprofiles:s0
|
|
||||||
|
|
||||||
# Graphics
|
# Graphics
|
||||||
genfscon sysfs /devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon1/name u:object_r:sysfs_graphics:s0
|
genfscon sysfs /devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon1/name u:object_r:sysfs_graphics:s0
|
||||||
genfscon sysfs /devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon2/name u:object_r:sysfs_graphics:s0
|
genfscon sysfs /devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon2/name u:object_r:sysfs_graphics:s0
|
||||||
|
|
3
sepolicy/vendor/init.te
vendored
3
sepolicy/vendor/init.te
vendored
|
@ -1,6 +1,3 @@
|
||||||
allow init self:netlink_route_socket rw_socket_perms_no_ioctl;
|
allow init self:netlink_route_socket rw_socket_perms_no_ioctl;
|
||||||
allow init self:rawip_socket create_socket_perms_no_ioctl;
|
allow init self:rawip_socket create_socket_perms_no_ioctl;
|
||||||
allow init socket_device:sock_file { unlink setattr create };
|
allow init socket_device:sock_file { unlink setattr create };
|
||||||
|
|
||||||
# Allow init to set attribute to sysfs_kprofiles
|
|
||||||
allow init sysfs_kprofiles:file { setattr };
|
|
||||||
|
|
3
sepolicy/vendor/system_app.te
vendored
3
sepolicy/vendor/system_app.te
vendored
|
@ -1,4 +1 @@
|
||||||
# Allow KProfiles to be adjusted by a system app
|
|
||||||
allow system_app sysfs_kprofiles:file rw_file_perms;
|
|
||||||
|
|
||||||
allow system_app zygote:unix_stream_socket getopt;
|
allow system_app zygote:unix_stream_socket getopt;
|
||||||
|
|
Loading…
Reference in a new issue