summaryrefslogtreecommitdiffstats
path: root/init
Commit message (Collapse)AuthorAgeFilesLines
* Use complete hardware name without spaces.Sean McNeil2010-07-131-2/+3
| | | | | | Many targets use generic first portions like 'OMAP' Change-Id: I00ba4e64cffc48353c29e409c3c19238024fbd8c
* merge from open-source masterThe Android Open Source Project2010-05-172-2/+25
|\ | | | | | | Change-Id: I414c9479f4f913c777ef18b7ff27e410f49d35b9
| * init: Add support for /dev/bus/usb/ file system and add new unix group AID_USB.Mike Lockwood2010-05-161-2/+24
| | | | | | | | | | | | | | init now creates files in /dev/bus/usb/ for user access to USB devices. Files are chmod 660 with group AID_USB. Signed-off-by: Mike Lockwood <lockwood@android.com>
| * Added a move flag for init's mount command that maps to MS_MOVE.Jay Freeman (saurik)2010-04-201-0/+1
| | | | | | | | Change-Id: I7bc1a8ac5f73a34c101247f984cbf9ff29e02e7f
* | MOAR GROUPSNick Pelly2010-03-231-1/+1
| | | | | | | | | | | | We were hitting the old limit with mediaserver. Change-Id: Ia8217a9f2a1076fa247d7f5ed5159e3c91244d78
* | init: Add support for specifying a services i/o prioritySan Mehat2010-02-264-0/+39
| | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | am 4f4ccaa1: am 1404c27b: Merge "system/core/init: set proper permissions ↵Iliyan Malchev2010-02-021-0/+1
|\ \ | |/ | | | | | | | | | | | | | | for tpa2018d1 (CDMA)" into eclair Merge commit '4f4ccaa1bd079ebc67a97709bbb7ab5ada7449d5' * commit '4f4ccaa1bd079ebc67a97709bbb7ab5ada7449d5': system/core/init: set proper permissions for tpa2018d1 (CDMA)
| * am 1404c27b: Merge "system/core/init: set proper permissions for tpa2018d1 ↵Iliyan Malchev2010-02-021-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | (CDMA)" into eclair Merge commit '1404c27bff1499dae9b640870ce2251d78cdc5ef' into eclair-plus-aosp * commit '1404c27bff1499dae9b640870ce2251d78cdc5ef': system/core/init: set proper permissions for tpa2018d1 (CDMA)
| | * system/core/init: set proper permissions for tpa2018d1 (CDMA)Iliyan Malchev2010-02-021-0/+1
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
| * | am 065694b3: init: devices: Remove pmem_gpu regions as they are not needed ↵Dima Zavin2009-10-151-4/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | since we have an mmu Merge commit '065694b32e481a50e57a793d61181494fbf6ef04' into eclair-plus-aosp * commit '065694b32e481a50e57a793d61181494fbf6ef04': init: devices: Remove pmem_gpu regions as they are not needed since we have an mmu
| * | am 8234aa37: init: Add qdsp6 video encoder, q6venc, device owned by system.audioDima Zavin2009-10-151-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '8234aa375896718e19b4450bcb44fa4376f53486' into eclair-plus-aosp * commit '8234aa375896718e19b4450bcb44fa4376f53486': init: Add qdsp6 video encoder, q6venc, device owned by system.audio
* | | | Clean fix for the chown race condition on new input devices.Nick Pelly2010-01-221-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop init's egid to AID_INPUT while creating the device node, so that it is created with the correct gid. This eliminates the possibility of system_server opening the device node before its permissions are set correctly. Using setegid() allows us to swap back to AID_ROOT immediately after mknod(). Bug: 2375632
* | | | init: Support bugreports to SD card in user builds if adb is enabled.Mike Lockwood2010-01-191-15/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rationale being that we do not want this enabled by default, but tying it to adb being enabled allows convenient bugreport collection for savvy users and developers using production devices. Change-Id: I71535b33f0774faf1975c98d106080f2ff12e349 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | Encrypted File SYstems project. Enabling EFS security properties.Oscar Montemayor2009-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This change enables persist.security.* flags in the device, allowing oly the system to modify them. Change is necessary to allow for further progress in the project, as this is an ideal location for access both from the framework as well as from the recovery mode / transition.
* | | | am 7789f4cc: am 065694b3: init: devices: Remove pmem_gpu regions as they are ↵Dima Zavin2009-10-151-4/+0
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | not needed since we have an mmu Merge commit '7789f4cc4b712f15e0e5306a874ad6f47dc8c5c0' into eclair-mr2-plus-aosp * commit '7789f4cc4b712f15e0e5306a874ad6f47dc8c5c0': init: devices: Remove pmem_gpu regions as they are not needed since we have an mmu
| * | | init: devices: Remove pmem_gpu regions as they are not needed since we have ↵Dima Zavin2009-10-151-4/+0
| | |/ | |/| | | | | | | | | | | | | | | | an mmu Change-Id: I2f8f0440d9a21230c7711cb6d9a20ec6887b7cb9 Signed-off-by: Dima Zavin <dima@android.com>
* | | am 68221b91: am 8234aa37: init: Add qdsp6 video encoder, q6venc, device ↵Dima Zavin2009-10-151-0/+1
|\ \ \ | |/ / | | / | |/ |/| | | | | | | | | owned by system.audio Merge commit '68221b91b13b174c9bc14c43f2d88bada0fa9546' into eclair-mr2-plus-aosp * commit '68221b91b13b174c9bc14c43f2d88bada0fa9546': init: Add qdsp6 video encoder, q6venc, device owned by system.audio
| * init: Add qdsp6 video encoder, q6venc, device owned by system.audioDima Zavin2009-10-151-0/+1
| | | | | | | | | | Change-Id: I86173e07163b70ce8990b8508afba44729c0d8ca Signed-off-by: Dima Zavin <dima@android.com>
* | am 4833d9f4: init: builtins: trancate target file in do_copyTom Zhu2009-09-301-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '4833d9f4986d6dafacff841beb3bf93172c84bdc' into eclair-plus-aosp * commit '4833d9f4986d6dafacff841beb3bf93172c84bdc': init: builtins: trancate target file in do_copy
| * init: builtins: trancate target file in do_copyTom Zhu2009-09-301-1/+1
| | | | | | | | | | | | | | | | add O_TRUNC flag in open(), which will truncate the target file, otherwise, copy will keep the old content of the target file. Signed-off-by: Tom Zhu <ling.zhu@motorola.com> Signed-off-by: San Mehat <san@google.com>
* | merge from open-source masterJean-Baptiste Queru2009-09-161-0/+1
|\ \
| * | Set permissions properly for any ALSA device under /dev/sndSean McNeil2009-09-151-0/+1
| | |
* | | am e67eff1c: Merge change 24564 into eclairDima Zavin2009-09-101-1/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565' into eclair-plus-aosp * commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565': init: Make /dev/pmem_gpu* be writable by all
| * | init: Make /dev/pmem_gpu* be writable by allDima Zavin2009-09-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | STOPSHIP: The actual device entry needs to be removed once the products that use this switch on the mmu. Change-Id: I10afea36c8731d845382665ed3db7647f68d1276 Signed-off-by: Dima Zavin <dima@android.com>
* | | am e991decf: Merge changes 23694,23695,23696 into eclairMike Lockwood2009-09-031-31/+37
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | Merge commit 'e991decf340e24203ed63f87d9313598cd09a46c' into eclair-plus-aosp * commit 'e991decf340e24203ed63f87d9313598cd09a46c': init.rc: Add dumpstate service init: Add support for enforcing setprop by caller's group. adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell.
| * | Merge changes 23694,23695,23696 into eclairAndroid (Google) Code Review2009-09-021-31/+37
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: init.rc: Add dumpstate service init: Add support for enforcing setprop by caller's group. adb: "adb bugreport" now runs dumpstate via init rather than execing it in the shell.
| | * | init: Add support for enforcing setprop by caller's group.Mike Lockwood2009-09-031-31/+37
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic96e139c4c596882adb38b8863ac6157e0ac17b5 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | am 69551d85: Merge change 23557 into eclairBrian Swetland2009-09-021-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit '69551d85e95d2ba712f083b39f3ff0b32f865e34' into eclair-plus-aosp * commit '69551d85e95d2ba712f083b39f3ff0b32f865e34': init: add some more audio devices
| * | | init: add some more audio devicesBrian Swetland2009-09-011-0/+2
| |/ / | | | | | | | | | Signed-off-by: Brian Swetland <swetland@google.com>
* | | merge from open-source masterJean-Baptiste Queru2009-09-017-6/+32
|\ \ \ | |/ / |/| / | |/
| * Allow an onrestart command to stop the current serviceBen Gruver2009-08-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example, service recovery /sbin/recovery onrestart start loadkeys onrestart class_start con onrestart stop recovery Previously, if you had a service like the above, the "onrestart stop recovery" clause would not have any effect, because the restart flag would be re-set after the stop command had executed. This is similar to a service with the "oneshot" keyword, with the critical difference being that it executes the other onrestart commands when the service dies.
| * added chdir/chroot commands to init for mount switching/pivotingJay Freeman (saurik)2009-08-274-0/+24
| |
| * Trivial implementation of init's import command.Jay Freeman (saurik)2009-08-271-1/+1
| |
| * Merge change 2903Android Code Review2009-08-273-3/+4
| |\ | | | | | | | | | | | | * changes: completed implementation of "trigger" for init
| | * completed implementation of "trigger" for initJay Freeman (saurik)2009-08-253-3/+4
| | |
| * | Fix incorrect check for LOG_UEVENTSChuck Tuffli2009-08-261-1/+1
| |/ | | | | | | | | | | LOG_UEVENTS is a boolean value as defined in system/core/init/init.h. Therefore, code should use an #if check and not an #ifdef check as the macro will always be defined.
| * Merge korg/donut into korg/masterJean-Baptiste Queru2009-07-256-27/+79
| |\
* | | init: add vdec device nodeDima Zavin2009-08-311-0/+1
| | | | | | | | | | | | | | | Change-Id: I7e83b99111adfb2b10ee91b78f922864999d4b9d Signed-off-by: Dima Zavin <dima@android.com>
* | | Add persistent radio prop perms ; cleanup ws and typos.Tammo Spalink2009-08-311-28/+29
| | | | | | | | | | | | Change-Id: I7d6b51bbb8a9658179bd01c4ff3b5356ec8b4b6c
* | | init: builtins: Add 'copy' command to init.rc parserSan Mehat2009-08-263-0/+65
| | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | Allow radio to modify net.ppp* properties for dnsRobert Greenwalt2009-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The radio bringup script was changed from operating as root to operating as radio. This is preventing it from adding the "net.ppp0.dns0" and "net.ppp0.dns1" properties that ConnectivityService needs to correctly set dns. bug: 2077628
* | | devices: set permissions for lightsensorIliyan Malchev2009-08-201-0/+1
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | init: set the correct kgsl device node permissionsDima Zavin2009-08-111-0/+3
| | |
* | | init: /dev/diag, /dev/diag_arm9 now owned by AID_RADIOIliyan Malchev2009-08-051-2/+2
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | init: Add hw3d master/client nodes to device list.Dima Zavin2009-08-031-1/+4
| | | | | | | | | | | | Signed-off-by: Dima Zavin <dima@android.com>
* | | init: add permissions for /dev/diag and /dev/diag_arm9Iliyan Malchev2009-08-031-0/+2
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | init: Change owner of /dev/uinput to systemKen Schultz2009-07-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This will allow the the uinput driver to be used by the system process as well as bluetooth, which is needed for sensors. Signed-off-by: Ken Schultz <kschultz@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | set permissions for capella cm3602 proximity sensorIliyan Malchev2009-07-081-0/+1
| | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | Merge change 5749Android (Google) Code Review2009-06-301-2/+2
|\ \ \ | | | | | | | | | | | | | | | | * changes: init now returns proper error codes in dmesg for write command (init.rc)
| * | | init now returns proper error codes in dmesg for write command (init.rc)Mike Chan2009-06-291-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Mike Chan <mike@android.com>