Brian Carlstrom
d0645bf0cc
updated BOOTCLASSPATH to track merge from dalvik-dev
...
Change-Id: I10e6895ad3647dd789fe5fc7a7d37c4b71c61717
2010-06-30 00:56:35 -07:00
Mike Lockwood
a2dffa9db6
init.rc: Move SD card support to device specific init.rc files
...
Change-Id: I5745e91df2b7c5722bd6e650931d3d2d7d0eadcb
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-15 22:48:30 -07:00
Dianne Hackborn
c594780674
am 0c6672c6: am 8b0ec20d: Update OOM adj levels.
...
Merge commit '0c6672c66a93f7a81d07ff3f59eee87ddb16db3c'
* commit '0c6672c66a93f7a81d07ff3f59eee87ddb16db3c':
Update OOM adj levels.
2010-06-11 11:00:40 -07:00
Dianne Hackborn
8b0ec20d6f
Update OOM adj levels.
...
This introduces some new buckets that will be used by the activity
manager, and adjusts the default levels to match what we had been
setting for Droid.
It turns out Passion has been using the old levels, which makes no
sense for how much memory it has. Also it is a problem with these
definitions spreading to other projects for different devices, so
I am going to update the defaults to be appropriate for our newer
devices, and put here a file to tune them down for something like
the sapphire.
Change-Id: Ia4f33c4c3b94aeb3656f60b9222072a1d11e9e68
2010-06-10 17:52:37 -07:00
Christopher Tate
f96e700b33
am 25e7b8fc: am b1fb3bd1: am 230cb33f: Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
2010-06-02 22:23:25 -07:00
Christopher Tate
25e7b8fcc3
am b1fb3bd1: am 230cb33f: Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
...
Merge commit 'b1fb3bd13a4da8bc46a44ec5eef6de9cb952f163' into kraken
* commit 'b1fb3bd13a4da8bc46a44ec5eef6de9cb952f163':
Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
2010-06-02 11:20:39 -07:00
Christopher Tate
230cb33fd1
Make /proc/kmsg and /proc/sysrq-trigger system-process-readable
...
This is so that the system process can capture kernel thread stacks when the
watchdog detects a deadlock. Previously, /proc/kmsg was root/root and mode
0400, and /proc/sysrq-trigger was root/root and mode 0200. With this
change, /proc/kmsg becomes root/system and 0440, and /proc/sysrq-trigger
becomes root/system and 0220.
Change-Id: Iac46bd10bd11d495024afeb5d693107ce5074791
2010-06-01 17:48:30 -07:00
Jesse Wilson
9811671e02
Moving junit out of core.jar and into core-junit.jar.
...
Change-Id: I603cba084c06ddbec21fc88bbaab7cde96952cb1
2010-05-11 20:21:18 -07:00
Colin Cross
f83d0b9af5
init: Move uevent handling to an external ueventd process
...
Change-Id: Iea6c56013062ade633a1754f7bcf8cf09b3dedc1
2010-04-21 20:59:38 -07:00
Colin Cross
31712beaf7
Move filesystem mounting into a new "fs" init level
...
Devices with non-MTD storage need to override the filesystem mounting
commands in init.rc. Moving them to a new "fs" init level allows a
custom init.<device>.rc to handle the mounting.
Change-Id: If0e655139b9734650fb798b6eb0a90e2241fc29b
2010-04-13 20:06:03 -07:00
Nick Pelly
c741f22d85
Add NET_RAW to mediaserver so that it can open a raw HCI socket to configure
...
BT chip.
Change-Id: I22065b313c7af28b4791c74ea3d403a628738102
2010-03-23 20:39:05 -07:00
Jean-Baptiste Queru
bbf3ea46fb
cleanup init.rc
...
Change-Id: I7f7fefd61c6032c84fa63e597ea0e6bbe66d2e79
2010-03-12 16:36:41 -08:00
Mike Chan
89f235c5e0
init.rc: Add cpuacct to cgroup mount for cpu statistic
...
Cpu accounting statistics expored in /acct
Change-Id: I8a35816e94b69d9e67a3dd65aae16520864777d7
Signed-off-by: Mike Chan <mike@android.com>
2010-03-01 20:29:58 -08:00
San Mehat
b91bf4ba86
Revert "init.rc: Add cpuacct to cgroup mount for cpu statistics"
...
This reverts commit a7d88224ff .
This cgroup subsys should be mounted on it's own mount-point, since it's
addition to /dev/cpuctl causes the cpu subsys to EPERM
2010-02-27 10:06:09 -08:00
Mike Chan
a7d88224ff
init.rc: Add cpuacct to cgroup mount for cpu statistics
...
Change-Id: Ic1893e1bf7b2c45659419b0bc55d42f50d030c9f
Signed-off-by: Mike Chan <mike@android.com>
2010-02-26 11:25:36 -08:00
San Mehat
f0cb74e3b0
rootdir: init.rc: Enable I/O priorities for media server and vold
...
Sets the media-server to class 'real-time' pri 4, and vold to class 'best effort'
pri 2
Signed-off-by: San Mehat <san@google.com>
2010-02-26 10:05:24 -08:00
Jaikumar Ganesh
eafdd86f4d
Update bluetooth data files path.
2010-02-25 19:46:29 -08:00
San Mehat
a9db22f122
rootdir: init.rc: Add 'ASEC_MOUNTPOINT' environment variable.
...
Signed-off-by: San Mehat <san@google.com>
2010-02-24 10:17:37 -08:00
Chia-chi Yeh
bbfe1368d9
Remove dead services from init.rc.
2010-02-22 09:32:16 +08:00
San Mehat
6ea3cc6089
rootdir: init.rc: Create secure staging directories, and a compat symlink
...
Signed-off-by: San Mehat <san@google.com>
2010-02-19 18:38:28 -08:00
Vasu Nori
55a1f0827b
dont create sqlite_stmt_journals dir.
...
this shoudl not be required any longer. in fact, some test-writers are
abusing this dir.
2010-01-26 23:12:37 -08:00
San Mehat
92175e04a5
rootdir: init.rc: Fix typo in chown of /dev/cpuctl
...
Signed-off-by: San Mehat <san@google.com>
2010-01-17 12:21:42 -08:00
San Mehat
192277c015
rootdir: init.rc: Add netd to startup services list
...
Signed-off-by: San Mehat <san@google.com>
2010-01-15 07:48:35 -08:00
San Mehat
1851d80959
init.rc: Adjust perms on /asec
...
Signed-off-by: San Mehat <san@google.com>
2010-01-06 17:41:34 -08:00
Oscar Montemayor
d0aa32c3d9
Apps on SD project. Small change to support apps on SD file system key storage.
2010-01-06 16:24:48 -08:00
San Mehat
900570e2a8
init.rc: Create a small tmpfs on /asec so we can create mountpoints
...
Signed-off-by: San Mehat <san@google.com>
2010-01-06 11:02:42 -08:00
San Mehat
37c71dd9a7
init.rc: Add new /asec mount point
...
Signed-off-by: San Mehat <san@google.com>
2010-01-04 09:41:52 -08:00
Oscar Montemayor
37c586e6b1
Encrypted File Systems Project.
...
Temporarily creating emulated encrypted directories manually.
Will remove those lines once a true encrypted FS is mounted, and proper
framework chanfes have been made. This is required for the feature to
work with the other changes.
2009-12-03 13:11:30 -08:00
Dan Egnor
7359c16a85
Don't copy /proc/last_kmsg to /data/dontpanic/last_kmsg --
...
it gets generated on every boot, so this is a bunch of writing
for no particularly good reason.
2009-11-23 19:25:44 -08:00
Doug Zongker
eb67fac472
change /cache/recovery group to cache
...
To unbundle system update, we need users other than system to be able
to write the /cache/recovery directory.
2009-11-19 16:52:02 -08:00
Jean-Michel Trivi
5e7db23300
Make the RIL daemon part of the audio group so it can load region-specific
...
acoustic parameters.
2009-11-02 15:22:18 -08:00
San Mehat
831d8e1e3a
rootdir: init.rc: Adjust background dirty writeout policy
...
Signed-off-by: San Mehat <san@google.com>
2009-10-13 12:27:18 -07:00
Dan Bornstein
1dec5032cf
Force the mediaserver process to restart whenever the zygote or system
...
server do.
Change-Id: I16ce4ae656473055e7e244ccd4af7055959e3c1c
2009-10-09 14:52:15 -07:00
Rebecca Schultz Zavin
14d898e014
Make vmallocinfo readable by group log so we can put it in bugreports
...
Change-Id: I7b04795c029c51108132e7a9eaf46b97de06de6f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2009-10-08 16:15:58 -07:00
Brian Swetland
aa7d97106a
init.rc: don't mount debugfs
...
We'll do this in the product-specific init files.
2009-10-07 12:28:44 -07:00
San Mehat
529520e824
Revert "rootdir: init.rc: *LATENCY EXPERIMENT* - Disable cgroups in favor of new scheduler policy support"
...
This reverts commit 35ad5f41c3 .
2009-10-06 11:22:55 -07:00
Chia-chi Yeh
9b4f1ff210
init.rc: specify keystore directory and fix permissions.
2009-09-21 11:47:02 +08:00
Jaikumar Ganesh
1320687bdb
Remove logwrapper for Bluetoothd.
...
Change-Id: I6d16bc0dbdf9f3aff2080f8c7968ff3cb592811e
2009-09-20 10:31:45 -07:00
Brian Swetland
bb6f68c63d
init.rc: mount debugfs for debugging
...
- put it at /sys/kernel/debug so Arve will be happy
- symlink /d to /sys/kernel/debug so Brian will be happy.
2009-09-18 15:31:23 -07:00
San Mehat
35ad5f41c3
rootdir: init.rc: *LATENCY EXPERIMENT* - Disable cgroups in favor of new scheduler policy support
...
Signed-off-by: San Mehat <san@google.com>
2009-09-16 14:13:14 -07:00
San Mehat
7baff71b0d
rootdir: init.rc: tweak cfs scheduler - disable child_runs_first
...
Signed-off-by: San Mehat <san@google.com>
2009-09-16 13:32:23 -07:00
Mike Lockwood
25f1a5aaff
init.rc: Adjust permissions on /data/dontpanic/ so dumpstate will not need root
...
Change-Id: Iff83310f9411c39e1833b3d710b029b12f702993
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-11 17:13:28 -04:00
Mike Lockwood
9332482ed2
init.rc: Make /data/dontpanic files readable only by the system process.
...
Change-Id: If87470b7bcbb1c0774d10296ac82605db3dd9bf0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-08 22:55:59 -04:00
San Mehat
82a6014d90
rootdir: init.rc: Allow all processes access to /data/dontpanic
...
***STOPSHIP***
Signed-off-by: San Mehat <san@google.com>
2009-09-05 15:01:52 -07:00
Mike Lockwood
abe3a9c305
init.rc: Add dumpstate service
...
Change-Id: Iaf7094dd4693c47566c1acf860b750b762af840c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-03 00:36:25 -04:00
San Mehat
020f35f274
rootdir: init.rc: Allow all processes access to apanic/ramconsole crash data.
...
This is a temporary measure until bugreports are taken as root.
*****STOPSHIP*****
Signed-off-by: San Mehat <san@google.com>
2009-09-01 15:43:25 -07:00
San Mehat
f26d6cea4c
rootdir: init.rc: Clean up dump collection
...
Signed-off-by: San Mehat <san@google.com>
2009-09-01 13:13:10 -07:00
San Mehat
21541872c3
rootdir: init.rc: Copy kernel crash dumps to /data and free kernel resources
...
Signed-off-by: San Mehat <san@google.com>
2009-08-26 16:39:59 -07:00
San Mehat
6bc6794f97
am ee40fc4e: rootdir: init.rc: Bump up background cpu shares to 5.0%
...
Merge commit 'ee40fc4e64e1656a16603778bee895ea389ec7d5'
* commit 'ee40fc4e64e1656a16603778bee895ea389ec7d5':
rootdir: init.rc: Bump up background cpu shares to 5.0%
2009-08-06 15:02:33 -07:00
San Mehat
ee40fc4e64
rootdir: init.rc: Bump up background cpu shares to 5.0%
...
Signed-off-by: San Mehat <san@google.com>
2009-08-06 14:13:35 -07:00