The tftp_server daemon requires root privileges to open
the wakelock files and grab capabilities for accessing
wakelocks.
The tftp_server daemon will downgrade to user AID_SYSTEM
after enabling and retaining the necessary capabilities.
Change-Id: Iae5995f606e54152fdbe5e229c0c8d4c03b00382
Move logic of kernel module signing .config scan from
general section to under a make target. This avoids
an issue that triggers a rescan of all Android
makefiles.
Change-Id: I1cb6d35e20bca72c9c228ad25288b593500ec20e
ro.product.device gives the target name with _32/_64 post fix
depending upon which build is loaded currently. To overcome
the parsing issue and setting the default compostion for
targts, use ro.board.platform which gives target name
without such postfix attached.
Change-Id: Ic8cde3b21cc48119a3d2e27680862f32d74ca78f
The sensor HAL needs to write commands to the sensor device nodes to
control the sensor driver. Thus add rules to fix up the permissions
of "calibrate".
Change-Id: I28a7dd927ec43837fc8387cc6a4a7df861e9272e
Without this change, flash mode was being sent
to lower layers as 'off' when user enables flash
in the application and as 'torch' when user
disables flash.
Change-Id: I12b2630bc693923e956ca2bc9e742bbda39424ff
- Add the various RAT values in config_mobile_tcp_buffer array.
- These values are from init.qcom.rc.
Change-Id: Ie675c410915029d9ef1a2ef7ebad396201771c27
remove /system/bin/usbhub_init* related changes, these service are only
applicable for 7x30 Fusion which is now obselete.
Change-Id: I67cc1b9ce4267f286f47b9f67124a91f535e3e59
This change enables interactive governor to use CPU runqueue loads
for each CPU over the last window from scheduler instead of just
getting CPU busy time. Task migration fixups are also enabled so
that task load can be adjusted at the source and destination CPU
runqueue during a migration.
Change-Id: I7a5c285c5061322dbb0b6d07d86520a981552d2e
Add support for MSM8994 USB controller. It is mostly the same
as MSM8974 with minor changes due to controller device name
and the module parameter location.
Change-Id: I80eb83def519c69369b50622907d3d1d3a295fe8
Start service cnss-daemon on bootup which communicate with
WLAN host driver and QMI location server on LPSS.
The cnss-daemon starts with root permisson. It will
acquire suitble system permission and drop root
permission when it's running.
Change-Id: I799e1001a6fcb6cda872db425b4e2d41b443b0c0
CRs-Fixed: 655468
Disable core control from thermal(KTM and BCL) during
governor configuration on MSM8994 in post boot script.
Change-Id: Id6d7058b2e6d2bd5bb240fe9397f65525d6ad5db
For more secure, IPACM needs to be run as
net_admin instead of root. Therefore those
device nodes which IPACM needs to access
should be put as net_admin with 066 write
read permissions when device bootup.
Change-Id: Idbb154adc44a0b21396973e07432a7fb783bcc55
Cgroup feature provided by Linux kernel is one of the means used by
Android framework to control cpu usage of applications. Android
framework creates /apps and /apps/bg_non_interactive cgroups and
manages migration of tasks between those two cgroups. Tasks created
outside the scope of Android framework (kernel threads, mpdecision
etc) are however left in "root" cgroup, where each task is considered
to be a cgroup of its own, thus giving each such task more CPU
resource than desired. Such tasks have been found to interfere with
smooth functioning of Android application and have been responsible
for effects such as increased janks or bad user-experience.
Fix this problem by creating a /native cgroup to encapsulate all tasks
at bootup. /native cgroup is assigned shares of 1024 and real-time
bandwidth of 15% (150ms out of every 1sec). The real-time bandwidth is
unchanged (from what currently exists) while the combined shares of
1024 for all "native" tasks will help curb interference between native
and Android tasks.
Change-Id: I988b6145ab7cfbd94cbbab4d63fadc3bab6551fa