bc57d4ce925a62f14c28c55e0ff28af1114f12be |
|
27-Oct-2010 |
Brian Swetland <swetland@google.com> |
init: support owner/permission setting for sysfs attributes of devices This should be much nicer than peppering init.rc with chown/chmod directives. Also, remove some dead code and obsolete comments. Change-Id: I10895f10a9cf2f1226c8d12976cd3db3743da9ec
/system/core/init/devices.c
|
02863b957cfbfc302d3136ed78c0cba86accacd8 |
|
19-Sep-2010 |
Brian Swetland <swetland@google.com> |
add /vendor support - look in /vendor/firmware/... in addition to /system/etc/firmware/... for firmware loading - add /vendor/bin to path before /system/bin - add /vendor/lib to ldpath before /system/lib - configure appropriate permissions for /system/vendor/bin - symlink /vendor -> /system/vendor Change-Id: I0c06ca1e38a44f0c7024cee6cea8907aa93a4532
/system/core/init/devices.c
|
17dcc5c57dcffb919f3de65ff7a0134ffa3bd874 |
|
03-Sep-2010 |
Colin Cross <ccross@android.com> |
Use makedev helper for device major and minor numbers Major and minor numbers can be greater than 255. Major numbers are 12 bits, and minor numbers are 20 bits. Supporting major and minor numbers > 255 allows the use of the extended block device for extra mmc partitions. Change-Id: I4c42bfe0781069e8e4cb13ebe26e860cdc03f866
/system/core/init/devices.c
|
fad7204e9eac20a87afacd7547ed8202a39319f8 |
|
20-Jul-2010 |
Nick Kralevich <nnk@google.com> |
resolved conflicts for merge of 5f5d5c8c to gingerbread Change-Id: Ieee2cd67d33f3e774fcfd96f8a5f67a0374aa873
|
5f5d5c8cef10f28950fa108a8bd86d55f11b7ef4 |
|
19-Jul-2010 |
Nick Kralevich <nnk@google.com> |
validate the source of uevent messages Bug: 2844206 Change-Id: If2eee54181abfc6c7fda0232f98fa6bb5d12c60c
/system/core/init/devices.c
|
982a815c10cc28707d81c46112fc45b1c10df3be |
|
03-Jun-2010 |
Colin Cross <ccross@android.com> |
Reap firmware child processes to prevent zombies Change-Id: Ic6c50b929a025f05450cd309238e60a857690d9b
/system/core/init/devices.c
|
c0d8fb5842f57bbc244e9c9596707787caabf44e |
|
17-May-2010 |
Mike Lockwood <lockwood@android.com> |
DO NOT MERGE resolved conflicts for merge of e95aad61 to kraken this change is already in master Change-Id: Ica43eae28b50d89d50217851aff7e62978abfa27 Signed-off-by: Mike Lockwood <lockwood@android.com>
|
e95aad61d841e7a472b4141808bbca0c7135b0f5 |
|
17-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I414c9479f4f913c777ef18b7ff27e410f49d35b9
|
93ac1559b8c7ad3125ddcd896082b030faadbbd4 |
|
06-May-2010 |
Mike Lockwood <lockwood@android.com> |
init: Add support for /dev/bus/usb/ file system and add new unix group AID_USB. 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>
/system/core/init/devices.c
|
44b65d047cc39baf30e21bfd8dd438f6bc1f77f5 |
|
20-Apr-2010 |
Colin Cross <ccross@android.com> |
init: Add ueventd.rc parsing to ueventd Change-Id: Iea53050d6c10e8cabf563e5d80e84eaf78873695
/system/core/init/devices.c
|
f83d0b9af5cbe4440cc41ceaa8a7806a13c86282 |
|
21-Apr-2010 |
Colin Cross <ccross@android.com> |
init: Move uevent handling to an external ueventd process Change-Id: Iea6c56013062ade633a1754f7bcf8cf09b3dedc1
/system/core/init/devices.c
|
ed8a7d84428ec945c48b6b53dc5a3a18fabaf683 |
|
20-Apr-2010 |
Colin Cross <ccross@android.com> |
init: Move list and log handling to list.h and log.h Change-Id: I298f575c590d0f28b7ad78747f3ebdbba56b7a27
/system/core/init/devices.c
|
b0ab94b7d5a888f0b6920b156e5c6a075fa0741a |
|
09-Apr-2010 |
Colin Cross <ccross@android.com> |
init: create symlinks to block device nodes eMMC block device names may change based on the detection order of the eMMC device and any other SD bus devices, such as a removable SD card. This patch adds support to init for: * Symlinks to block devices. When a block device uevent is processed, if it starts with "/devices/platform", the platform driver name is parsed out, and symlinks to the block device are created in /dev/block/platform/<platform driver>/ * Symlinks based on partition name and number. If the uevent for a block device contains information on the partition name or number, symlinks are created under /dev/block/platform/<platform driver>/by-num/p<partition> and /dev/block/platform/<platform driver>/by-name/<partition name> init.rc can then use a device path like the following to mount an eMMC device: /dev/block/platform/<platform>/by-name/system /system ro Change-Id: Id11bb7cdf1e2ada7752a5bd671cbf87237b34ae2
/system/core/init/devices.c
|
0dd7ca6e87abb689700c5e3a816a949b03b1154b |
|
14-Apr-2010 |
Colin Cross <ccross@android.com> |
init: Move device_fd to devices.c Change-Id: I11ed0f3e1b95d2cff4fdbd80b915c01572f76b0e
/system/core/init/devices.c
|
32f51664c8c44b8a4ab357e34590deb62c582c7c |
|
02-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
am 4f4ccaa1: am 1404c27b: Merge "system/core/init: set proper permissions for tpa2018d1 (CDMA)" into eclair Merge commit '4f4ccaa1bd079ebc67a97709bbb7ab5ada7449d5' * commit '4f4ccaa1bd079ebc67a97709bbb7ab5ada7449d5': system/core/init: set proper permissions for tpa2018d1 (CDMA)
|
4f4ccaa1bd079ebc67a97709bbb7ab5ada7449d5 |
|
02-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
am 1404c27b: Merge "system/core/init: set proper permissions for tpa2018d1 (CDMA)" into eclair Merge commit '1404c27bff1499dae9b640870ce2251d78cdc5ef' into eclair-plus-aosp * commit '1404c27bff1499dae9b640870ce2251d78cdc5ef': system/core/init: set proper permissions for tpa2018d1 (CDMA)
|
1340a095ac9f1ea007752288a4407490ddb6935c |
|
02-Feb-2010 |
Iliyan Malchev <malchev@google.com> |
system/core/init: set proper permissions for tpa2018d1 (CDMA) Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
6405c6953fa02d41d9f6377f4cdb947604f481c4 |
|
22-Jan-2010 |
Nick Pelly <npelly@google.com> |
Clean fix for the chown race condition on new input devices. 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
/system/core/init/devices.c
|
5c204f59f7b7a1038bed1ac7764f77e6a2172cf0 |
|
15-Oct-2009 |
Dima Zavin <dima@android.com> |
am 7789f4cc: am 065694b3: init: devices: Remove pmem_gpu regions as they are 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
|
68b88de455deb57dcdd4620b2b87e0e3753f2502 |
|
15-Oct-2009 |
Dima Zavin <dima@android.com> |
am 68221b91: am 8234aa37: init: Add qdsp6 video encoder, q6venc, device 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
|
c459372bc721322ff0977b8d3d2fc805001f6dc7 |
|
15-Oct-2009 |
Dima Zavin <dima@android.com> |
am 065694b3: init: devices: Remove pmem_gpu regions as they are not needed 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
|
d8189382802fdd789ab18170f56a0b1f004a3d01 |
|
15-Oct-2009 |
Dima Zavin <dima@android.com> |
am 8234aa37: init: Add qdsp6 video encoder, q6venc, device owned by system.audio Merge commit '8234aa375896718e19b4450bcb44fa4376f53486' into eclair-plus-aosp * commit '8234aa375896718e19b4450bcb44fa4376f53486': init: Add qdsp6 video encoder, q6venc, device owned by system.audio
|
065694b32e481a50e57a793d61181494fbf6ef04 |
|
15-Oct-2009 |
Dima Zavin <dima@android.com> |
init: devices: Remove pmem_gpu regions as they are not needed since we have an mmu Change-Id: I2f8f0440d9a21230c7711cb6d9a20ec6887b7cb9 Signed-off-by: Dima Zavin <dima@android.com>
/system/core/init/devices.c
|
8234aa375896718e19b4450bcb44fa4376f53486 |
|
28-Sep-2009 |
Dima Zavin <dima@android.com> |
init: Add qdsp6 video encoder, q6venc, device owned by system.audio Change-Id: I86173e07163b70ce8990b8508afba44729c0d8ca Signed-off-by: Dima Zavin <dima@android.com>
/system/core/init/devices.c
|
754795537596f5a4b8be2205c5bdba63282b3403 |
|
17-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from open-source master
|
102f6d2c64bbf55e1ec47061a0bc0bcd24991127 |
|
10-Jun-2009 |
Sean McNeil <sean.mcneil@windriver.com> |
Set permissions properly for any ALSA device under /dev/snd
/system/core/init/devices.c
|
27b8b3a1aab015ed8673ffd03bbf57f63adb85f0 |
|
10-Sep-2009 |
Dima Zavin <dima@android.com> |
am e67eff1c: Merge change 24564 into eclair Merge commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565' into eclair-plus-aosp * commit 'e67eff1c615c98bf9ad51be9e474ef9ee82b6565': init: Make /dev/pmem_gpu* be writable by all
|
c2d8e0e701dc460b1ff8f664210644a0f5ca7515 |
|
10-Sep-2009 |
Dima Zavin <dima@android.com> |
init: Make /dev/pmem_gpu* be writable by all 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>
/system/core/init/devices.c
|
2552402f9a4d1a58a95c021a814cc146221df687 |
|
03-Sep-2009 |
Brian Swetland <swetland@google.com> |
am 69551d85: Merge change 23557 into eclair Merge commit '69551d85e95d2ba712f083b39f3ff0b32f865e34' into eclair-plus-aosp * commit '69551d85e95d2ba712f083b39f3ff0b32f865e34': init: add some more audio devices
|
c822213603107b72bca90bd2984f4781dfcf22c4 |
|
02-Sep-2009 |
Brian Swetland <swetland@google.com> |
init: add some more audio devices Signed-off-by: Brian Swetland <swetland@google.com>
/system/core/init/devices.c
|
8c92ba1921fc8dc3fc7cc39ef854e9ee70fafc67 |
|
01-Sep-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from open-source master
|
c84016778f9efd0d15f3c5ad7b7109833fb45c9a |
|
31-Aug-2009 |
Dima Zavin <dima@android.com> |
init: add vdec device node Change-Id: I7e83b99111adfb2b10ee91b78f922864999d4b9d Signed-off-by: Dima Zavin <dima@android.com>
/system/core/init/devices.c
|
1e070846f8908dff15086efa12fbba01ab7eae15 |
|
15-Dec-2008 |
Chuck Tuffli <ctuffli@gmail.com> |
Fix incorrect check for LOG_UEVENTS 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.
/system/core/init/devices.c
|
3bc1e9cd7b2832d51c442c0342054e0235a383f6 |
|
13-Aug-2009 |
Iliyan Malchev <malchev@google.com> |
devices: set permissions for lightsensor Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
37b210f56036cda41b0407e841fe79fb4db310fc |
|
11-Aug-2009 |
Dima Zavin <dima@android.com> |
init: set the correct kgsl device node permissions
/system/core/init/devices.c
|
6ed11ebecd3eaffd84d79706a4a3a74d39f19715 |
|
05-Aug-2009 |
Iliyan Malchev <malchev@google.com> |
init: /dev/diag, /dev/diag_arm9 now owned by AID_RADIO Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
46e8863d77912ad6d76ed7d258dfc554a5cdb36d |
|
04-Aug-2009 |
Dima Zavin <dima@android.com> |
init: Add hw3d master/client nodes to device list. Signed-off-by: Dima Zavin <dima@android.com>
/system/core/init/devices.c
|
ce62102feb9106d1142efafacfa253c52ca34ac2 |
|
04-Aug-2009 |
Iliyan Malchev <malchev@google.com> |
init: add permissions for /dev/diag and /dev/diag_arm9 Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
96d58f4f521ee4c1fef58efe5c009f1ea523d67c |
|
26-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Merge korg/donut into korg/master
|
be65da47e69c427d6326603e7eccd84957cc34d2 |
|
16-Jul-2009 |
Ken Schultz <kschultz@motorola.com> |
init: Change owner of /dev/uinput to system 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>
/system/core/init/devices.c
|
3306e0678c5e68c1b7e8d5c99499b7645e4952f3 |
|
08-Jul-2009 |
Iliyan Malchev <malchev@google.com> |
set permissions for capella cm3602 proximity sensor Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
60a4cd5e348ae263d209a7f64510826825848208 |
|
30-Jun-2009 |
repo sync <chiachi@android.com> |
resolved conflicts for merge of abb08550 to master
|
9a52eda8c5dd9df763a63f9b71cd24847f014737 |
|
26-Jun-2009 |
Iliyan Malchev <malchev@google.com> |
init: set permissions for akm8973 and bma150 drivers akm8973 is the compass bma150 is the accelerometer Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
1ccef18e69acdc4276a6c4a0c449ced6be395fc3 |
|
30-May-2009 |
Masaki Sato <masaki.sato@motorola.com> |
Change permissions on sound devices.
/system/core/init/devices.c
|
88dc657d50cb3289a9011828c497eee996ed958c |
|
19-Jun-2009 |
Chia-chi Yeh <chiachi@android.com> |
Add device, property, directory, and file permissions for VPN.
/system/core/init/devices.c
|
0675ba5bd408b763cede360f945b01c15370d4c2 |
|
27-May-2009 |
Iliyan Malchev <malchev@google.com> |
am fc0182eb: add support and proper permissions for /dev/msm_camera/ Merge commit 'fc0182eb1db0620eb71fb6ca219b15a17dcd912f' * commit 'fc0182eb1db0620eb71fb6ca219b15a17dcd912f': add support and proper permissions for /dev/msm_camera/
|
fc0182eb1db0620eb71fb6ca219b15a17dcd912f |
|
01-May-2009 |
Iliyan Malchev <malchev@google.com> |
add support and proper permissions for /dev/msm_camera/ Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
d99d1445fdf344b72d20a7689f4c85e35762748b |
|
15-May-2009 |
San Mehat <san@google.com> |
resolved conflicts w/ b415390e74deae0f4c3eb43330c9f8708281acc5 merge
|
4a6f2321e76685b9489d020980dffb1d9ac73fc0 |
|
15-May-2009 |
San Mehat <san@google.com> |
init: Create new 'vpn' user/group and set owner of '/dev/tun' to it. Signed-off-by: San Mehat <san@google.com>
/system/core/init/devices.c
|
e910ea596240d355a1e25b66f76fd8d8fdfbbba6 |
|
09-May-2009 |
Erik Gilling <konkers@android.com> |
CDMA: add cdma tsmux device permissions Signed-off-by: Erik Gilling <konkers@android.com>
/system/core/init/devices.c
|
493726bc8100d227acb09985db1c91e621919c3f |
|
07-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 2780827: Merge change 1005 into donut Merge commit '27808271934622e6473d7d664303fa3efb4cd662' * commit '27808271934622e6473d7d664303fa3efb4cd662': Make the /dev/qemu_trace device readable and writable by all.
|
4a762357d05fe2152dbe5d4b7085d01a5d4ccbf2 |
|
05-May-2009 |
Jack Veenstra <veenstra@android.com> |
Make the /dev/qemu_trace device readable and writable by all. This is needed so that the Dalvik interpreter can add information about Java method entry/exit to the traces when running in the qemu emulator.
/system/core/init/devices.c
|
83b65486beffc7c86f24c428fbb7b50bbbe189f9 |
|
18-Mar-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Merge commit 'remotes/korg/cupcake' into merge Conflicts: init/devices.c libpixelflinger/Android.mk
|
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/init/devices.c
|
e54eebbf1a908d65ee8cf80bab62821c05666d70 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/system/core/init/devices.c
|
261ed7551e3234aa437658796afdc4eb372da9d7 |
|
19-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132276
/system/core/init/devices.c
|
4a4c9f6f98055918f1ebff06b3cc1ed622c058fe |
|
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
Merge branch 'cupcake'
|
dcf3ce247e13fe0a982ed2ada35cdee1f0ac626a |
|
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
/system/core/init/devices.c
|
038862e152b98d0c0f355c6802beaa1ed59cefbe |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
Merge branch 'cupcake'
|
5ae090ed949cea9d1e7ab1552b455a229f8f9757 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/system/core/init/devices.c
|
77d0c65b950570edd5241a8f2ebecfc3acbc5135 |
|
19-Dec-2008 |
Jean-Baptiste Queru <jbq@google.com> |
Merge commit 'remotes/korg/cupcake' Conflicts: init/devices.c logwrapper/logwrapper.c mountd/AutoMount.c
|
35237d135807af84bf9b0e5b8d7f8633e58db6f5 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/system/core/init/devices.c
|
5bb44c8ea2bc513fefc526918980ab3d17494ecc |
|
26-Nov-2008 |
Xiaopeng Yang <xiaopeng.yang@windriver.com> |
Create sound device nodes in /dev/snd/.
/system/core/init/devices.c
|
3088ff8d395cea07819d84d46af04f17419ae542 |
|
30-Oct-2008 |
Iliyan Malchev <malchev@google.com> |
Set permissions for /dev/msm_snd. Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/core/init/devices.c
|
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/system/core/init/devices.c
|