Mike Lockwood
127fd070f0
Merge "init: Allow non-root adbd to switch between TCP and USB modes"
2010-12-10 11:56:22 -08:00
Mike Lockwood
58aa5b0ee0
init: Allow non-root adbd to switch between TCP and USB modes
...
Change-Id: I9e93ceefadfaa2a4f8ec25cfa05fa4821fd98093
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-10 09:48:41 -08:00
Erik Gilling
535615cf4f
Merge "toolbox: add verbose option for lsusb"
2010-12-09 18:45:32 -08:00
Erik Gilling
bec29d4b48
toolbox: add verbose option for lsusb
...
Change-Id: If9c51d96af7d69395917af55bb337352576f9422
2010-12-09 17:14:27 -08:00
Erik Gilling
67ebdce982
Merge changes I4dcadf8e,I166d2859
...
* changes:
libusbhost: add usb chapter 9 include to usbhost.h
toolbox: add lsusb command
2010-12-09 15:53:03 -08:00
Erik Gilling
3af05b09eb
libusbhost: add usb chapter 9 include to usbhost.h
...
Change-Id: I4dcadf8e8d9b25782351c9aeefb0d2cea81bbc9e
2010-12-09 15:28:06 -08:00
Erik Gilling
fd1e855323
toolbox: add lsusb command
...
Change-Id: I166d2859633ba4e15f170938262dcf6505b78dd3
2010-12-09 15:27:52 -08:00
Dima Zavin
8d758271d4
sh: null check signame list since sig 0 is not valid
...
Change-Id: I1b293246ea1d822e098d0581830500e93633a879
Signed-off-by: Dima Zavin <dima@android.com>
2010-12-09 14:20:16 -08:00
Ying Wang
90493929b2
Merge "dist for dist_files"
2010-12-09 10:55:06 -08:00
Ying Wang
1c061b9ea9
dist for dist_files
...
Change-Id: I665572a2212f1239b02b7816e37ada210afbdb48
2010-12-09 10:33:27 -08:00
Iliyan Malchev
d5c8ddfdf3
Revert "Add "slow_start" keyword to init"
...
This reverts commit 50b3afd9f3
.
2010-12-08 16:19:12 -08:00
Iliyan Malchev
6388cfe03c
Revert "HACK: slow_start for mediaserver to prevent restart race condition"
...
This reverts commit 9db7945ed2
.
2010-12-08 16:19:12 -08:00
Kenny Root
cfb61c2720
Cygwin needs HAVE_OFF64_T and fix description
...
During testing of compilation, it was discovered that Cygwin actually
has off64_t.
Also the description was wrong for HAVE_OFF64_T
Change-Id: I6eb73d13da5a53fb03bf99ab7de82bfb6acab058
2010-12-08 11:19:11 -08:00
Kenny Root
07ad9961ae
Add HAVE_OFF64_T to AndroidConfig.h
...
For platforms that have _FILE_OFFSET_BITS=32 and need to access large
files, we need some way to access 64-bit file APIs. This adds a hint to
allow programs to choose alternate APIs if possible.
Change-Id: Ifdc204df269350a22f52c0e4221e9d7d3b7a57fe
2010-12-06 15:20:54 -08:00
Paul Eastham
9db7945ed2
HACK: slow_start for mediaserver to prevent restart race condition
...
Change-Id: Ia76385612fd127c5f11b3d64205e350f27acfd82
2010-12-04 17:39:30 -08:00
Paul Eastham
50b3afd9f3
Add "slow_start" keyword to init
...
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
2010-12-04 17:39:26 -08:00
Olivier Bailly
7e06476f6d
Merge "Add missing headers for compilation on x86 targets"
2010-11-29 15:13:50 -08:00
Bruce Beare
6cc4923087
debuggerd: IA version
...
Change-Id: I0c0d9c2d7e476b8d117aaf505a9480a47c0b5c05
Signed-off-by: Lei Li <lei.l.li@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2010-11-29 11:28:11 -08:00
Bruce Beare
849249064c
debuggerd: Reorganize to facilitate IA commit
...
Change-Id: I22dd02daf617672fc0a8ba7e396017c57f17e26e
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2010-11-29 11:03:48 -08:00
Jean-Baptiste Queru
9e04fcde67
am 8f461e5c: resolved conflicts for merge of 1a15cb7e
to gingerbread-plus-aosp
...
* commit '8f461e5cc2972ed5054469b92bc841c07a50b7cf':
[PATCH] Init - make sure the last parameter to execve is NULL
2010-11-24 08:45:31 -08:00
Jean-Baptiste Queru
8f461e5cc2
resolved conflicts for merge of 1a15cb7e
to gingerbread-plus-aosp
...
Change-Id: I6468f995c29c6e05f4cb89bedb02cff2ff4bac61
2010-11-24 08:41:41 -08:00
Jean-Baptiste Queru
1a15cb7e90
Merge "[PATCH] Init - make sure the last parameter to execve is NULL"
2010-11-24 08:27:17 -08:00
Jean-Baptiste Queru
f629a737eb
am 720fdebb: am 4906db21: Merge "codeflinger: Correct misleading comment of STM instruction"
...
* commit '720fdebb4ca2306133099126eb1f10b0b79ccce1':
codeflinger: Correct misleading comment of STM instruction
2010-11-23 11:05:31 -08:00
Jean-Baptiste Queru
720fdebb4c
am 4906db21: Merge "codeflinger: Correct misleading comment of STM instruction"
...
* commit '4906db21e041327042b87122b233e1f150618334':
codeflinger: Correct misleading comment of STM instruction
2010-11-23 11:02:51 -08:00
Jean-Baptiste Queru
4906db21e0
Merge "codeflinger: Correct misleading comment of STM instruction"
2010-11-23 10:52:14 -08:00
Nick Kralevich
3e467f3ec5
Merge "check the return value of setuid and friends"
2010-11-19 11:42:48 -08:00
Mike Lockwood
d49b4ef51e
init.rc: Allow console in userdebug builds
...
Change-Id: Ib5734c6d3e2bf5a9da3d44721c529971f2345120
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-11-19 09:12:27 -05:00
Nick Kralevich
2268718ee2
check the return value of setuid and friends
...
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
2010-11-17 16:55:42 -08:00
Olivier Bailly
b93e5812fa
Add missing headers for compilation on x86 targets
...
Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
2010-11-17 11:47:23 -08:00
Benoit Goby
609d8828d3
init: Abort firmware transfer if firmware is missing
...
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>
2010-11-09 18:49:40 -08:00
Ethan
a9791e1285
[PATCH] Init - make sure the last parameter to execve is NULL
...
We alloc exactly the number of parameters in parse_line_action.
When these parameters are for execve, which request the argv
terminated by a NULL, it may fail randomly, depends on what
is there after the end of the buffer we allocated
Extend the buffer to hold one more pointer, and make sure
it is NULL to fix this bug.
Change-Id: I180df8be3502f51f81a6abb6ebf5c156eb59c9fc
Signed-off-by: Ethan <ethan.too@gmail.com>
2010-11-10 07:56:10 +08:00
Brad Fitzpatrick
16ae478af4
Permit 0 length writes.
...
Change-Id: I087d0074c8d9e13ce814187475966da94f693fc0
2010-11-02 10:56:15 -07:00
Mike Lockwood
2e0047bdc0
Add new AID_MEDIA_RW group to control write access to /data/media
...
BUG: 3113970
Change-Id: I233bd57e36d1e65847ead503e378304a958f492d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-29 10:55:54 -04:00
Gloria Wang
4640fc0504
Create directory for DRM plug-ins.
...
Change-Id: I1bfef96b1949f288852cd88222e0ce2bbb186f40
2010-10-28 13:44:47 -07:00
Brad Fitzpatrick
8394e8a483
Merge "Add ls -n to toolbox."
2010-10-28 10:14:39 -07:00
Brian Swetland
a215823fc9
am b7171987: am b4d65399: disable console in user builds
2010-10-27 15:47:16 -07:00
Brian Swetland
b717198738
am b4d65399: disable console in user builds
2010-10-27 15:45:26 -07:00
Brian Swetland
b4d65399fd
disable console in user builds
...
Also, run console as shell/log instead of root/root.
Change-Id: I6104f1edddfd5e11843ff41d7839d0c296e6a6f9
2010-10-27 15:41:40 -07:00
Brad Fitzpatrick
8c5669f9f9
Let SocketClient users write binary data to clients.
...
This is a dependency for the DNS proxy CLs.
This CL also adds a new socket for the netd process to inherit which
is owned by the inet group. (so only apps with the INTERNET
permission can use the DNS proxy...)
Change-Id: Ic3475c697913ba85805b4e49801b65e7a1d59289
2010-10-27 10:27:34 -07:00
Brian Swetland
7ffa661595
am 60afdedc: am 146481b9: add rules to set perms for input device sysfs attributes
2010-10-26 15:44:20 -07:00
Brian Swetland
7ca8f1243b
am 439b4dfb: am bc57d4ce: init: support owner/permission setting for sysfs attributes of devices
2010-10-26 15:42:22 -07:00
Brian Swetland
60afdedc4c
am 146481b9: add rules to set perms for input device sysfs attributes
2010-10-26 15:42:10 -07:00
Brian Swetland
439b4dfb27
am bc57d4ce: init: support owner/permission setting for sysfs attributes of devices
2010-10-26 15:40:19 -07:00
Brian Swetland
146481b946
add rules to set perms for input device sysfs attributes
...
Change-Id: I28ab7f1ac5cc07ade7830e87f5e70c96464bb686
2010-10-26 15:38:00 -07:00
Brian Swetland
bc57d4ce92
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
2010-10-26 15:37:06 -07:00
Brad Fitzpatrick
e7fe5bf3ac
Add ls -n to toolbox.
...
Change-Id: I641f9504554d14fb1289ac470e6e61c5bc12e9c7
2010-10-25 13:30:41 -07:00
Brian Swetland
98b1378606
am f3c29f0c: am 5988ea72: add sdcard access permission to ril daemon
...
Merge commit 'f3c29f0cf287ec3d329b012a2d48808b064632f6'
* commit 'f3c29f0cf287ec3d329b012a2d48808b064632f6':
add sdcard access permission to ril daemon
2010-10-22 22:48:02 -07:00
Brian Swetland
f3c29f0cf2
am 5988ea72: add sdcard access permission to ril daemon
...
Merge commit '5988ea726e91fbdc69485b729ea2f532fedfa1d6' into gingerbread-plus-aosp
* commit '5988ea726e91fbdc69485b729ea2f532fedfa1d6':
add sdcard access permission to ril daemon
2010-10-22 22:34:46 -07:00
Brian Swetland
5988ea726e
add sdcard access permission to ril daemon
...
Some RIL daemons write crashdumps to sdcard.
Change-Id: I49a8d2cb342fd7f8bd23dbb1bcc378726e10a579
2010-10-22 22:17:17 -07:00
Jean-Baptiste Queru
43e21849da
am ec70a9e1: am f2ff2112: Merge "Add config header file for Linux/PPC."
...
Merge commit 'ec70a9e1b5c12cde090749dc07e29b396b12f656'
* commit 'ec70a9e1b5c12cde090749dc07e29b396b12f656':
Add config header file for Linux/PPC.
2010-10-21 13:45:44 -07:00