| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes a bug where USE_CPUSET used access(F_OK)
as a sign that it should try writing to the cpuset
path. It needs to instead use access(W_OK) to
ensure that it has write access as that's what
it would try to open() with.
And stop trying to repeatedly open a file that
doesn't exist.
Change-Id: Ib391ee6f08345051c48a986a732eda30143cb614
|
|\
| |
| |
| |
| |
| | |
am: d00c7470ea
Change-Id: Ib09d3ee7bb131c30f59ea273f357c045394206fb
|
| |
| |
| |
| |
| | |
Bug: 30310689
Change-Id: I14c52c5d52745a725799652b87c86281ac214899
|
|\|
| |
| |
| |
| |
| | |
am: e5b7ad1c39
Change-Id: I8f98f5fe9ff526ed8780971eddef128ed46de271
|
| |
| |
| |
| |
| |
| | |
BUG: 29824203
Change-Id: I88d67cafb8ec0c4eea3db047bac0671de698ba02
|
|\|
| |
| |
| |
| |
| | |
am: 5f851752d3
Change-Id: If3f9f573303b0485582d7090afb6ecbbdca73a4f
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 30597190
Change-Id: I51950e82235fa19bc92b3f7e8d190766d71af7df
Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
|\| |
| | |
| | |
| | |
| | |
| | | |
am: b3654fa086
Change-Id: I5f833a1497fcbb8b7c3f1efcd707b6186a6409e6
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
This is broken on all devices other than N9, and has no real path to fixing
it because there are so many different values already in use (41, 43, 47,
127), with no way to tell which you should use on any given device.
Bug: http://b/30597190
Change-Id: I07eeaaf6f5dc03c5532ffbfbb85ef2ad750206a0
|
|\|
| |
| |
| |
| |
| |
| |
| | |
PR_SET_TIMERSLACK_PID\"
am: 817d53493a
Change-Id: Iea895b632b3bfa7daae0be34c2cc69563a18a6d5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PR_SET_TIMERSLACK_PID
The PR_SET_TIMERSLACK_PID number has collided with upstream
changes a number of times, and thus the number is not consistent
between AOSP common kernel versions.
In 4.6+, the upstream kernel added equivalent functionaity via
the /proc/<tid>/timerslack_ns entry.
This patch changes the sched_policy logic to support
/proc/<tid>/timerslack_ns if its available, falling back to the
older PR_SET_TIMERSLACK_PID method if not.
NOTE: Eventually PR_SET_TIMERSLACK_PID usage will need to be
removed as it is likely to conflict with valid future upstream
PR_* entries.
Also add missing O_CLOEXEC to other open calls in this file.
Change-Id: Iec0b8a62de0dc8bdd57b60df82bd4d31c5d64709
Signed-off-by: John Stultz <john.stultz@linaro.org>
|
|\|
| |
| |
| |
| |
| | |
am: 6d232ab4de
Change-Id: I437dd3b5243ca7854439c438093e94733579279e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove the /dev/__kmsg__ workarounds (which can then be removed
from sepolicy), and fix confusion in the translation between
android-base logging and kernel logging priorities (in particular,
where 'notice' comes in the hierarchy).
Bug: http://b/30317429
Change-Id: I6eaf9919904b6b55bc402c20bf1a4ae269014bc7
Test: adb shell dmesg | grep init
|
|\|
| |
| |
| |
| |
| | |
am: feabb0fdc1
Change-Id: Ic8f7f714c30ef70172ebce8b6de7af8d09572eba
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The ioprio.h header is not a uapi header, so remove it's use and
add the two values that this code needs to use.
Bug: 30072483
Change-Id: I5c8b6f40bd60a43f50ac26792f96d2fa3f6db020
|
|\| |
| | |
| | |
| | |
| | |
| | | |
am: 5558cd362b
Change-Id: I3f2112bead6740f1df48bc5b028f62c91d40425b
|
| |/
| |
| |
| | |
Change-Id: I467edad1d004ac16647f4aa1f0eead04e808efa0
|
|\|
| |
| |
| |
| |
| | |
am: bc6c52f905
Change-Id: Ie2beefe7f9992740ada57d6ab989abb74d257c5b
|
| |
| |
| |
| | |
Change-Id: If36cb30e8e4432f1a5c7f9a6d30a75c012a4c67c
|
|\|
| |
| |
| |
| |
| | |
am: 588b770063
Change-Id: I884276a8f8b8209f6e956c5fb410e8265184e1b5
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I'll come back and remove klog_init when I've removed other calls to it.
Change-Id: Iad7fd26d853b4ddc54e9abd44516b6f138cbbfcb
Test: booted N9, looked at "adb shell dmesg" output.
|
|\| |
| | |
| | |
| | |
| | |
| | | |
am: 4ee9ed5366
Change-Id: Ie72d7562be3316d2ebe732dd1d1fbd4a04b6557b
|
| |/
| |
| |
| |
| |
| |
| | |
- replace tabs with spaces, get indent right
- Sort header order as per Android coding standard
Change-Id: I634f6f716a368ce5565ccc880c51406042f312bf
|
|\|
| |
| |
| |
| |
| | |
am: c37d8ea22a
Change-Id: Id3443d7247e893ee549ae5b799a8f0bf42088d35
|
| |
| |
| |
| |
| |
| | |
Use the canonical one instead.
Change-Id: Id80f19455f37fd2a29d9ec4191c1a0af80c5c0e7
|
|\|
| |
| |
| |
| |
| | |
am: abf88685e3
Change-Id: I2a61e4e8b5ec5a4ab6566ab4f8eb31653255fbc5
|
| |
| |
| |
| |
| | |
Bug: http://b/24414818
Change-Id: I079c534d2c952b6975bf0428eb86cc7a55525737
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
nyc-dev
am: 6a29fe931d
* commit '6a29fe931d9fd3bf7f2aad3713dc70c080970763':
Add utility to prepare files in a similar way to directories
Change-Id: I288024d55e8cead1c902950938b03bfa8dcc3df3
|
| |\ \
| | | |
| | | |
| | | | |
nyc-dev
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 28785119
Bug: 28625993
Change-Id: I505eb4deca0a89f64fe4505dd6729fe6a48bc1aa
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 088f0e7c40
* commit '088f0e7c40a1cc66505f2bd73c54f3bab9908986':
Add /vendor/xbin to the list of directories of executables
Change-Id: Ib1172d5a5f0f0f1a82ce5ca260ef4539761ef679
|
| |/ /
| | |
| | |
| | |
| | | |
Bug: 28850734
Change-Id: Iaa14a463294d1f8a9c69328a273ce7f12a558bab
|
|\ \ \
| | |/
| |/|
| | | |
Change-Id: I423f722dcc3821b9be52613d68640b49cbac70a6
|
| | |
| | |
| | |
| | |
| | | |
Bug: 28705665
Change-Id: Ice67cebb8c42538f8fb9cf1756678f41a9d68a31
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: ed95190b69
* commit 'ed95190b690adf3a452001fc527881af913c5ccd':
Don't expose ashmem constants on the host.
Change-Id: I930dd0b72e88647b1e94694e5fb183431c7d75c6
|
| | |
| | |
| | |
| | | |
Change-Id: I86bf58841645114e382300228be7be69a555e76b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It's no longer specific to make_ext4fs, will be used for mksquashfs as
well.
BUG: 27467028
Change-Id: I41b8c2b168ada45c8378dee522391edfb8f6b9a6
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
BUG: 28704419
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: 23e1312720
* commit '23e1312720c45944646f68379c1f15fcd8434da8':
<cutils/atomic.h> has been inlined for two years now.
Change-Id: Ia4205030c07494149b8392abf74ec29ebd463724
|
| | |
| | |
| | |
| | | |
Change-Id: If4f817acc054d7336df09a5b8dde34693e0e96a5
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
am: d7dfadbd4c
* commit 'd7dfadbd4c66a8b6f1f8e0be805c211b83e88c16':
atrace: read package names from multiple sysprops
Change-Id: I518cf650728c0d15a618ec8e40b26b2fe0385972
|
| | |
| | |
| | |
| | |
| | | |
bug: 28200530
Change-Id: I4597a84f4fb16098b0e57684cde5e57c1f41eed5
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
4f21555
am: e05688a
* commit 'e05688a176c27025d59c0a512501a411b56f1bb1':
More secure and compiler warning fix for sprintf into snprintf
Change-Id: I93d4ff6d1c2674113d481ff06170d19f31951346
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
To fix GCC WARNINGS while building.
or
To support error free -D_FORTIFY_SOURCE=2 strict mode compilation.
Change-Id: I999bd83785456a77247e5e1d708e2bdde2eb057b
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
am: 15fea7a
* commit '15fea7ae1a4a179bb2c2e4066bfbfb312eec56e0':
Update get_sched_policy to return TOP_APP correctly.
Change-Id: I7406fcf2fdcb2a34ee3a81bf9f74dceddc22d316
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently get_sched_policy() would only return foreground
or background, but not TOP_APP, since it's not looking
at CPUsets at all.
Fixing this makes testing easier, and it also corrects
the output of "ps -P" to show "ta" for current top app.
Bug: 27857142
Change-Id: I589cacc107f355de15750f01b06f404b59a0f99b
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 3f28318
* commit '3f2831876107ad18422bd67a459e2070c66a3827':
Move canned_fs_config into libcutils
Change-Id: I88019bfa08603b1df2f2cbe4c79e45f126d83a1b
|