Todd Kjos
ba8a47531c
Actively mangage EAS schedtune nodes
...
Move foreground tasks to /sys/fs/cgroup/stune/boost/tasks (boosted
weight in EAS scheduler). Move background tasks to
/sys/fs/cgroup/stune/tasks (default weight). For services started
with init, set "foreground" services to boosted.
Change-Id: I0e489fad9510727c13e6754dabaf311c2391f395
2015-11-16 14:57:47 -08:00
Daniel Rosenberg
c97e1cb39d
Remove creation of root directory folders
...
Folders in the root directory are now created during the build,
as we may be building without a ramdisk, and when we do that,
the root directory will be read-only. With those changes,
these mkdirs will never need to run.
Change-Id: I49c63e8bfc71d28e3f938ed41f81d108359fa57a
2015-11-16 08:53:04 -08:00
Todd Kjos
ed60788968
Actively mangage EAS schedtune nodes
...
Move foreground tasks to /sys/fs/cgroup/stune/boost/tasks (boosted
weight in EAS scheduler). Move background tasks to
/sys/fs/cgroup/stune/tasks (default weight). For services started
with init, set "foreground" services to boosted.
Change-Id: I0e489fad9510727c13e6754dabaf311c2391f395
2015-11-16 08:53:04 -08:00
Daniel Rosenberg
4c9c516d20
rootdir: Create cache folder in Android.mk
...
system.img may contain the root directory as well. In that case, we
need to create some folders init.rc would during the build.
Change-Id: I312104ff926fb08d98ac8256b76d01b0a90ea5e5
2015-11-16 08:53:04 -08:00
Daniel Rosenberg
9262546184
rootdir: Create folders in Android.mk
...
system.img may contain the root directory as well. In that case, we
need to create some folders init.rc would during the build.
Change-Id: I157ccbebf36bee9916f3f584551704ec481ae1d1
2015-11-16 08:53:04 -08:00
Calin Juravle
2a095e186b
Merge "Don\'t create profiles directory under dalvik-cache."
...
am: 942f8ea84f
* commit '942f8ea84f3f96c2e2556fe90ebba0ec76730553':
Don't create profiles directory under dalvik-cache.
2015-11-16 11:21:48 +00:00
Calin Juravle
942f8ea84f
Merge "Don't create profiles directory under dalvik-cache."
2015-11-16 11:08:46 +00:00
Jeff Sharkey
439419b713
Merge "Create some new encryption paths."
2015-11-12 00:20:28 +00:00
Calin Juravle
8e9791357e
Merge "Create a folder to store method traces activated with -Xmethod-trace" am: 7605a56fbc am: 5d1a9688b8
...
am: a8dcfc0622
* commit 'a8dcfc062260bdce7ca471baa5f081e512d5da7f':
Create a folder to store method traces activated with -Xmethod-trace
2015-11-11 18:39:23 +00:00
Calin Juravle
5d1a9688b8
Merge "Create a folder to store method traces activated with -Xmethod-trace"
...
am: 7605a56fbc
* commit '7605a56fbcf5706b6e2892da9d9dc0fd20efb395':
Create a folder to store method traces activated with -Xmethod-trace
2015-11-11 18:12:03 +00:00
Jeff Sharkey
11705863ff
Create some new encryption paths.
...
Bug: 22358539
Change-Id: I2e7533cd3dbd18e9ae115f611c5714b0c7ba4917
2015-11-11 09:49:46 -08:00
Calin Juravle
9b3e5d59fe
Create a folder to store method traces activated with -Xmethod-trace
...
Bug: 25612377
Change-Id: I370b858594ccc88c12099b23a0d1aac22acd4969
2015-11-10 21:26:40 +00:00
Nick Kralevich
bdf20142b9
Merge "Enable hidepid=2 on /proc" am: 2d8f1d4c47 am: ea8452cc72
...
am: 7dafe5b818
* commit '7dafe5b818f7771cb00c4a0ea3ab1dbf74593185':
Enable hidepid=2 on /proc
2015-11-09 20:41:19 +00:00
Nick Kralevich
ea8452cc72
Merge "Enable hidepid=2 on /proc"
...
am: 2d8f1d4c47
* commit '2d8f1d4c478b9d921730d3fc9b290315e2ff9f04':
Enable hidepid=2 on /proc
2015-11-09 20:29:44 +00:00
Nick Kralevich
c39ba5ae32
Enable hidepid=2 on /proc
...
Add the following mount options to the /proc filesystem:
hidepid=2,gid=3009
This change blocks /proc access unless you're in group 3009
(aka AID_READPROC).
Please see
https://github.com/torvalds/linux/blob/master/Documentation/filesystems/proc.txt
for documentation on the hidepid option.
hidepid=2 is preferred over hidepid=1 since it leaks less information
and doesn't generate SELinux ptrace denials when trying to access
/proc without being in the proper group.
Add AID_READPROC to processes which need to access /proc entries for
other UIDs.
Bug: 23310674
Change-Id: I22bb55ff7b80ff722945e224845215196f09dafa
2015-11-09 09:08:46 -08:00
Calin Juravle
933bc0a3d1
Don't create profiles directory under dalvik-cache.
...
Bug: 24698874
Bug: 17173268
Change-Id: Ic81258a8df90818fa6b4ee64fd1507ac18fe3f04
2015-11-04 14:59:41 +00:00
Bill Yi
1ec36aaeb0
Merge commit 'f85d6cd8045ce933dfdc19bc888228cd9382e48c' into HEAD
2015-11-03 14:30:40 -08:00
Daniel Rosenberg
eba626f56d
Merge "rootdir: Allow board specific folders and symlinks in root directory" am: 6e699df21e am: 64ea814c31
...
am: 1c1a7906c5
* commit '1c1a7906c5f1131fb1295c54e0669ea76111ff90':
rootdir: Allow board specific folders and symlinks in root directory
2015-11-03 00:14:20 +00:00
Daniel Rosenberg
1c1a7906c5
Merge "rootdir: Allow board specific folders and symlinks in root directory" am: 6e699df21e
...
am: 64ea814c31
* commit '64ea814c312ec43c59e9f132909be121cdf02ab3':
rootdir: Allow board specific folders and symlinks in root directory
2015-11-02 22:01:38 +00:00
Daniel Rosenberg
64ea814c31
Merge "rootdir: Allow board specific folders and symlinks in root directory"
...
am: 6e699df21e
* commit '6e699df21e1b08aa2e9eb18ef1c44788549ae8ed':
rootdir: Allow board specific folders and symlinks in root directory
2015-11-02 21:58:22 +00:00
Daniel Rosenberg
52b5915945
rootdir: Allow board specific folders and symlinks in root directory
...
Building without ramdisk requires a way to specify board specific
directoryies and symlinks in the root directory at build time.
Change-Id: I11301e98228bc4761f3aee177a546146651b9f25
(cherry picked from commit d7549c9a65cad886f672af41f5fca6f0bd0c12fa)
2015-11-02 12:47:46 -08:00
Andy Hung
fec47527b4
Add audioserver uid and restart service when needed
...
Bug: 24511453
Change-Id: I6987a82149d23ad671478cf21488c62cb1ecfc93
2015-10-30 16:58:59 -07:00
Evgenii Stepanov
f2630adeef
Merge "Disable container overflow detect on target." am: 151e49726b am: 5562351b50
...
am: ec6ff936b0
* commit 'ec6ff936b0e994b3f6d2b812e4b67aa950fe35f2':
Disable container overflow detect on target.
2015-10-23 22:23:56 +00:00
Evgenii Stepanov
ec6ff936b0
Merge "Disable container overflow detect on target." am: 151e49726b
...
am: 5562351b50
* commit '5562351b50fbbcda030ddfffcb3b2dbef82bcdc9':
Disable container overflow detect on target.
2015-10-23 22:14:52 +00:00
Evgenii Stepanov
5562351b50
Merge "Disable container overflow detect on target."
...
am: 151e49726b
* commit '151e49726bf743bfbd7e44695f9d673735e62119':
Disable container overflow detect on target.
2015-10-23 22:10:27 +00:00
Evgenii Stepanov
151e49726b
Merge "Disable container overflow detect on target."
2015-10-23 22:03:52 +00:00
Evgenii Stepanov
f3009f21d5
Disable container overflow detect on target.
...
Container overflow annotations may cause false positives in partially
instrumented binaries.
Bug: 25228125, 25212198
Change-Id: Ic587d41698c02e306dece4ad7c6a2a8810c52dbd
2015-10-23 14:57:47 -07:00
Tim Murray
e41937d9b3
Reorder init.rc to avoid a kernel warning. am: f429d37807 am: e56b566401
...
am: 538697b315
* commit '538697b3153a9a71bdfd197d0461a74d29fd2fae':
Reorder init.rc to avoid a kernel warning.
2015-10-21 14:50:03 +00:00
Paul Lawrence
2b216aa89b
Merge "Don't show UI on default encryption" into mnc-dr-dev
2015-10-21 14:27:38 +00:00
Tim Murray
538697b315
Reorder init.rc to avoid a kernel warning. am: f429d37807
...
am: e56b566401
* commit 'e56b566401aad8e7175306b2969f78baa0b8f9c6':
Reorder init.rc to avoid a kernel warning.
2015-10-20 22:14:47 +00:00
Tim Murray
f429d37807
Reorder init.rc to avoid a kernel warning.
...
3.18 has a warning in dmesg that appears when the parent cpuset's cpus
and mems are changed to something other than what the child has. Reorder
init.rc to prevent this warning from appearing.
bug 24941443
Change-Id: I49d8394063b23dce03222dcc9ddccdc32bb97ea2
2015-10-15 12:38:15 -07:00
Nick Kralevich
09cf06fc74
am 2f63adce: am 28107143: am 9e27cab6: Merge "init.rc: Disable sysrq from the keyboard"
...
* commit '2f63adcea8e4e4a64d85b59044224f198016e093':
init.rc: Disable sysrq from the keyboard
2015-10-10 05:47:41 +00:00
Nick Kralevich
281071435a
am 9e27cab6: Merge "init.rc: Disable sysrq from the keyboard"
...
* commit '9e27cab695b0e2a4910cf576d306a3379991f1f7':
init.rc: Disable sysrq from the keyboard
2015-10-10 00:38:18 +00:00
Nick Kralevich
d28a535d9a
init.rc: Disable sysrq from the keyboard
...
Don't allow the accidental triggering of sysrq functionality
from the keyboard. The only expected use of sysrq functionality
is via /proc/sysrq-trigger
Please see https://www.kernel.org/doc/Documentation/sysrq.txt for
additional information on /proc/sys/kernel/sysrq
Bug: 13435961
Change-Id: I60dc92a4b2b4706e8fa34a6cead9abd449f7375f
2015-10-09 17:09:10 -07:00
David Zeuthen
8e15f8d096
am 8c06f8cc: am 10bb4e51: Merge "init.rc: mkdir /data/misc/update_engine 0700 root root"
...
* commit '8c06f8ccd41c5d1206d721b4f19dd6b5ede9ad9e':
init.rc: mkdir /data/misc/update_engine 0700 root root
2015-10-07 20:34:18 +00:00
David Zeuthen
8c06f8ccd4
am 10bb4e51: Merge "init.rc: mkdir /data/misc/update_engine 0700 root root"
...
* commit '10bb4e5161ecca1a9660d1e5967b3fb5e7662839':
init.rc: mkdir /data/misc/update_engine 0700 root root
2015-10-07 20:29:00 +00:00
David Zeuthen
10bb4e5161
Merge "init.rc: mkdir /data/misc/update_engine 0700 root root"
2015-10-07 20:18:36 +00:00
David Zeuthen
159147853e
init.rc: mkdir /data/misc/update_engine 0700 root root
...
Ensure that /data/misc/update_engine exists since it will be referenced
by selinux policy.
Bug: 23186405
Change-Id: I96e4ff341086da6474ef7f7c934f1f35bffc1439
2015-10-07 14:00:55 -04:00
Mark Salyzyn
d80ddaabe1
am 936d65f5: am cb2ab20d: am 87122ce1: Merge "logd: increase dgram_max_qlen to 600"
...
* commit '936d65f59bbab071898390c8bd6982055be5ab4b':
logd: increase dgram_max_qlen to 600
2015-09-28 15:58:30 +00:00
Mark Salyzyn
936d65f59b
am cb2ab20d: am 87122ce1: Merge "logd: increase dgram_max_qlen to 600"
...
* commit 'cb2ab20d480cdf488e5b5bf37dc55ca7f0ddee67':
logd: increase dgram_max_qlen to 600
2015-09-28 15:54:05 +00:00
Mark Salyzyn
cb2ab20d48
am 87122ce1: Merge "logd: increase dgram_max_qlen to 600"
...
* commit '87122ce1d60dd6fbc18e747d976db734d502f2bf':
logd: increase dgram_max_qlen to 600
2015-09-28 15:50:02 +00:00
Mark Salyzyn
39944c89a9
logd: increase dgram_max_qlen to 600
...
Seeing liblog messages on system_server runtime restart
(too much system_server spam, 566 messages in 72ms)
Bug: 23788621
Change-Id: I5171f2c19a3538da190fc6c2b40e978d89bf0e20
2015-09-25 14:15:53 +00:00
Tom Cherry
3c6ffbc6fe
am 984bd832: resolved conflicts for 5caca3dd to mnc-dr-dev-plus-aosp
...
* commit '984bd8323dcb5e494a04b2058ab7de40bf347ee5':
add system-background cpuset
2015-09-21 21:41:46 +00:00
Tom Cherry
984bd8323d
resolved conflicts for 5caca3dd to mnc-dr-dev-plus-aosp
...
Change-Id: I773e514a8232b77cdd566dc36c9efc4e15f206f0
2015-09-21 14:25:34 -07:00
Evgenii Stepanov
f09111a9dd
am fbaaddc5: am 19584247: am ee08fb53: Merge "asan: update condition to work with multiple SANITIZE_TARGET values."
...
* commit 'fbaaddc588f9d716cff71225a5c510f3b33b90cf':
asan: update condition to work with multiple SANITIZE_TARGET values.
2015-09-20 01:25:13 +00:00
Evgenii Stepanov
fbaaddc588
am 19584247: am ee08fb53: Merge "asan: update condition to work with multiple SANITIZE_TARGET values."
...
* commit '195842474a6722fdf2d967446b81d8accbd4648c':
asan: update condition to work with multiple SANITIZE_TARGET values.
2015-09-18 20:41:46 +00:00
Evgenii Stepanov
195842474a
am ee08fb53: Merge "asan: update condition to work with multiple SANITIZE_TARGET values."
...
* commit 'ee08fb53bb59cb5037755d68de09e6e5bc3f8bc6':
asan: update condition to work with multiple SANITIZE_TARGET values.
2015-09-18 20:31:52 +00:00
Tim Murray
cba6ad7449
add system-background cpuset
...
add a new cpuset for system services that should not run on
larger cores
bug 24144797
Change-Id: I21a54f0d6b46b3b8bd8c4564b8685c88cfc4a57d
2015-09-18 13:18:49 -07:00
Ivan Krasin
5039d8cd21
asan: update condition to work with multiple SANITIZE_TARGET values.
...
The goal is to enable SANITIZE_TARGET='address coverage', which
will be used by LLVMFuzzer.
Bug: 22850550
Change-Id: Iea756eaaedaa56aee4daf714510269efe3aaa553
2015-09-18 11:59:46 -07:00
Badhri Jagan Sridharan
1450d6a37a
am 4c96af5e: am c939c61c: am a6c377b2: init: usb: Add configfs commands for USB gadget
...
* commit '4c96af5e5a67c123fb5d8b40fda87cc2398aec00':
init: usb: Add configfs commands for USB gadget
2015-09-10 00:59:37 +00:00