| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
rm only removes a single non-directory directory entry (no -r support)
rmdir removes a single empty directory
Change-Id: I49702b02ba98a177027b126268c2c2846f968195
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The UI needs to know if the device is running with an encrypted
filesystem or now. So set a read-only property at boot to let it know.
Change-Id: I753de2d606c975bcbe9946d10fd47558cf357dac
|
| | |
| | |
| | |
| | | |
Change-Id: I1ac481a2cef749b26c73bc9e6a212e6ace7a0ae2
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'bf10797e538f9fa252d72710bd5ecf0ef1f6f3e0':
Fix infinite loop in init when debugging is turned off
|
| |\ \
| | |/
| |/|
| | |
| | | |
* commit 'f7ca6040616f672a6f0039d55e39c610b7c1cf91':
Fix infinite loop in init when debugging is turned off
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If a keychord is pressed when debugging is turned off, the main
event poll in init will return an event on the keychord fd,
but handle_keychord never reads the data. Once this happens,
the poll will always return immediately, and init enters an
infinite loop. Fix it by always reading from the keychord fd,
but only handling the returned keychord if debugging is
enabled.
Change-Id: Ie4efa98247d3cc978d275dc8a4516b32aa710278
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These are the changes to init and init.rc necessary to
support booting with and encrypted /data filesystem.
A corresponding change to init.<device>.rc goes along
with this change.
Change-Id: I0c7e2cc39568358014a82e317735c0eae14dd683
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I9e93ceefadfaa2a4f8ec25cfa05fa4821fd98093
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| | |
| | |
| | |
| | | |
This reverts commit 50b3afd9f39619f69dc6f4efc29be88933eb3614.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This keyword will cause init to wait a few seconds before exec'ing
the target binary. Maybe only useful for hacks and debugging.
Change-Id: I85caa0bcbc0be7e48bd21eb9e31e039c0740c8d5
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Under some circumstances, setuid() and family can fail,
returning a non-zero value. (see "man setuid" for details).
If this happens, we want to ensure that init doesn't spawn a
process which has root privileges when it's not suppose to.
Change-Id: Idd03f2c8f82a7eaf6e696b5bcfe308e51ea58b52
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If firmware is not found, write -1 /sys/$DEVPATH/loading to cancel the
firmware load. Otherwise the driver has to wait for the 60s timeout.
Change-Id: Id2787cda9b2be45b9adea41f6f161cd54cda212e
Signed-off-by: Benoit Goby <benoit@android.com>
|
|\ \ \
| |/ /
| | |
| | | |
attributes of devices
|
| |\ \
| | |/
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This enhances robustness by allowing the Telephony Framework to restart
ril-daemon if it notices some catastrophic failure.
Added setprop ctl.restart.
Added ril-daemon to setprop control_perms and allow users/groups
with the AID_RADIO ID to control it.
Change-Id: I195abdd754a731ce0b77e8f71ab47fde8c3e7977
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '78ea2374c5c87d7bb58747b1a6173c598f386600'
* commit '78ea2374c5c87d7bb58747b1a6173c598f386600':
init: Add support for SOCK_SEQPACKET socket type
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit '912ff85b035e0e6bc109812c1ea5661ea4df5967' into gingerbread-plus-aosp
* commit '912ff85b035e0e6bc109812c1ea5661ea4df5967':
init: Add support for SOCK_SEQPACKET socket type
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ib264ecf9beb2685b070436d2bdec9655c7a31b47
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Id73c53c6c2e9c21eb9b1d1e624aaeb25097ea7a4
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit '02863b957cfbfc302d3136ed78c0cba86accacd8' into gingerbread-plus-aosp
* commit '02863b957cfbfc302d3136ed78c0cba86accacd8':
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
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit '49b8124a1759cb8b27e0c21a1a5a54b8a81bdb19'
* commit '49b8124a1759cb8b27e0c21a1a5a54b8a81bdb19':
Use makedev helper for device major and minor numbers
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit '17dcc5c57dcffb919f3de65ff7a0134ffa3bd874' into gingerbread-plus-aosp
* commit '17dcc5c57dcffb919f3de65ff7a0134ffa3bd874':
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since we now support USB host mode, devices might get a different device
file depending if other devices are connected on the host port. This
patch creates symlinks to USB character devices that depend on the port
devices are connected to, but not on the order they have been probed.
(e.g. /dev/usb/tty2-1:1.0 -> /dev/ttyUSB0)
Change-Id: I285bcc2d59446fbff8a7abbe39c21781f3bb4bd3
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
gingerbread
Merge commit '3fc108acf2b05153489730178c85b8db94f603af'
* commit '3fc108acf2b05153489730178c85b8db94f603af':
validate the source of uevent messages
|
| |\ \
| | |/
| | |
| | |
| | |
| | |
| | | |
Merge commit 'fad7204e9eac20a87afacd7547ed8202a39319f8' into gingerbread-plus-aosp
* commit 'fad7204e9eac20a87afacd7547ed8202a39319f8':
validate the source of uevent messages
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: Ieee2cd67d33f3e774fcfd96f8a5f67a0374aa873
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 2844206
Change-Id: If2eee54181abfc6c7fda0232f98fa6bb5d12c60c
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Merge commit '742150c031756da1393bf4223b2468b17cb79326'
* commit '742150c031756da1393bf4223b2468b17cb79326':
Use complete hardware name without spaces.
|
| |\ \ \
| | |/ /
| |/| |
| | | | |
Change-Id: I29602fecafc2b6d93b849ada89696a67cfd23353
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Many targets use generic first portions like 'OMAP'
Change-Id: I00ba4e64cffc48353c29e409c3c19238024fbd8c
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
store instead of ashmem
Merge commit '62a54f3b1343043528b7e93c1a4311a5e9d5f358'
* commit '62a54f3b1343043528b7e93c1a4311a5e9d5f358':
init: use tmpfs/ftruncate for properties backing store instead of ashmem
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This removes the need for ashmem for early bringup and avoids an issue
with permissions enforcement.
Change-Id: I405b080660934d73048c79d614b6b2ebc43ab182
Signed-off-by: Brian Swetland <swetland@google.com>
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I66c7fcf9b65405dfc12d344ef3ed225d0ad2db84
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 4ec97f2b257f5c9ed7cf6f0245212f4e3eb60c1b.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Iea182c1e6a72c281abd17bf83ff765bb9cb59270
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ic6c50b929a025f05450cd309238e60a857690d9b
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | | |
this change is already in master
Change-Id: Ica43eae28b50d89d50217851aff7e62978abfa27
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| | |\ \
| | | |/
| | |/|
| | | | |
Change-Id: I414c9479f4f913c777ef18b7ff27e410f49d35b9
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I7bc1a8ac5f73a34c101247f984cbf9ff29e02e7f
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
make doesn't seem to handle the absolute symlink from
$OUT/root/sbin/ueventd to /init well - it follows the link during
dependency resolution, decides $OUT/root/sbin/ueventd doesn't exist
because /init doesn't exist, and relinks it every time.
Change-Id: I9ca1c14fe5fa80634f51ffc51a7c73146d29d42e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the init process ran out of actions to execute, cur_action was
NULL and action_queue_empty() was true, but cur_command was still
set. This patch clears cur_command when a new action is retreived,
and only depends on cur_action and action_queue_empty() to determine
the poll timeout.
Change-Id: Iaa95063c8c267a5b1ada9f20363b99c433e61ac4
|
| | |
| | |
| | |
| | | |
Change-Id: Iea53050d6c10e8cabf563e5d80e84eaf78873695
|