Commit graph

11380 commits

Author SHA1 Message Date
Andreas Gampe
a016c42b4f Init: Remove unused variables
For build-system CFLAGS clean-up, fix unused variables.

Use a #define instead of static variable in a header file.

Change-Id: Id47bf38e51644b61a9f3ac1893a16553695f1aac
2014-11-24 19:52:41 -08:00
Andreas Gampe
1690b49e63 Merge "Libsuspend: Remove unused variable" 2014-11-25 03:29:17 +00:00
Andreas Gampe
487f98447a Libsuspend: Remove unused variable
For build-system CFLAGS clean-up, remove unused variable.

Change-Id: I34bd33fd24b02ee58b64029146c253c61651d45f
2014-11-24 18:53:44 -08:00
Andreas Gampe
03be492842 Merge "Healthd: Remove unused variables" 2014-11-25 02:53:28 +00:00
Andreas Gampe
c0970d31f3 Healthd: Remove unused variables
For build-system CFLAGS clean-up, remove unused variables.

Change-Id: Ifc5884518bfdb744ea9823b98db544dbe59c20d2
2014-11-24 18:48:55 -08:00
Elliott Hughes
077ff30954 Merge "Lose mkswap, swapoff, and swapon to toybox." 2014-11-25 00:27:12 +00:00
Elliott Hughes
7376cef149 Lose mkswap, swapoff, and swapon to toybox.
Change-Id: Iedb371ad0f1f74822b3ff4bc1b7b1f9e6ecd300d
2014-11-24 16:13:03 -08:00
Elliott Hughes
75afd63340 Merge "Lose printenv to toybox." 2014-11-24 23:50:06 +00:00
Ying Wang
8d69817940 Merge "Use LOCAL_POST_INSTALL_CMD to simplify symlink creation." 2014-11-24 23:48:56 +00:00
Ying Wang
dbb78d65c0 Use LOCAL_POST_INSTALL_CMD to simplify symlink creation.
Change-Id: I67ad7248c26561d394e66901e90ef5814ec69fb3
2014-11-24 15:43:34 -08:00
Elliott Hughes
64d2944674 Lose printenv to toybox.
Change-Id: Icdc6766a7ef853bc846fe811fa2ad2284ed8a18f
2014-11-24 15:32:51 -08:00
Elliott Hughes
bcece29c44 Merge "Lose sleep to toybox." 2014-11-24 23:27:16 +00:00
Elliott Hughes
493faf525c Lose sleep to toybox.
No pun intended.

Change-Id: Ic1d9c8fa9719a7749b4eeaeac20df313600c0b88
2014-11-24 15:22:22 -08:00
Elliott Hughes
e494c513f9 Merge "Lose sync to toybox." 2014-11-24 23:02:34 +00:00
Elliott Hughes
47b3f9e29d Lose sync to toybox.
Change-Id: I36c98135bb4ab1e2ca7137b7a83782fce5ac683a
2014-11-24 14:53:09 -08:00
Ying Wang
9f693b8f1e Merge "Use LOCAL_POST_LINK_CMD to install toolbox symlinks" 2014-11-24 22:17:57 +00:00
Elliott Hughes
f3c8eb838d Merge "Remove dead tools." 2014-11-24 22:15:31 +00:00
Ying Wang
7d45be0e4a Use LOCAL_POST_LINK_CMD to install toolbox symlinks
It's simpler; Also whenever toolbox is updated the symlinks get
recreated.

Change-Id: I03fb61a5e0f14fd4ed23680dd6db87eed5b46787
2014-11-24 14:09:24 -08:00
Elliott Hughes
3024977037 Remove dead tools.
These have all been obsolete since we first moved to git!

Change-Id: Ie5bfc1b30000930ef6a604b4313ff7af1b7c4573
2014-11-24 14:03:28 -08:00
Elliott Hughes
8eb770d37c Merge "Remove long-dead readtty." 2014-11-24 21:43:32 +00:00
Elliott Hughes
db38d10a48 Merge "Lose insmod/lsmod/rmmod to toybox." 2014-11-24 21:07:51 +00:00
Chih-hung Hsieh
e3d9a67505 Merge "Remove unused variable" 2014-11-24 20:11:44 +00:00
Bernhard Rosenkränzer
1eca6a91a1 Remove unused variable
Change-Id: Ifba91dd93a9c8170f8837c413756554e117be894
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-24 20:01:45 +00:00
Elliott Hughes
b120134bd1 Remove long-dead readtty.
Change-Id: I15ae14542214a3802d43892da0d03cfb33e63c96
2014-11-24 12:01:21 -08:00
Andreas Gampe
a4b846f0d3 Merge "Libnetutils: Remove unused functions & variables" 2014-11-24 19:37:31 +00:00
Elliott Hughes
b054178a15 Lose insmod/lsmod/rmmod to toybox.
Change-Id: Ia654cdca14a4fda958a406f5e6ccd0919ce88a8f
2014-11-24 11:34:14 -08:00
Andreas Gampe
1fc78d3d0b Merge "Liblog: Remove unused function" 2014-11-24 18:44:27 +00:00
Andreas Gampe
a5d5d84773 Libnetutils: Remove unused functions & variables
For build-system CFLAGS clean-up, remove unused functions and
variables.

Change-Id: I40a78d5a532dc32b53beb1cfc1b7645bab8add16
2014-11-24 10:43:53 -08:00
Eric Laurent
47f52f247d audio: new stream types
Added stream types for internal use by audio policy
and audio flinger.

Bug: 18067208.
Change-Id: I90fd4df9ed5e0d8fb8c220d67e95fd0e32a06f14
2014-11-24 10:41:21 -08:00
Andreas Gampe
1f742864fa Liblog: Remove unused function
For build-system CFLAGS clean-up, remove unused function.

Change-Id: I8c28c4bbbadaea6a5b32483e9e220794967bdd4e
2014-11-24 10:36:55 -08:00
Elliott Hughes
cb321921fe Merge "fastboot: add parameter for unbuffered stderr/stdout" 2014-11-24 18:33:50 +00:00
Andreas Gampe
1f6be2b635 Merge "Libziparchive: Remove unused variable" 2014-11-24 18:11:56 +00:00
Andreas Gampe
374de72bbc Merge "Libcutils: Remove unused variable" 2014-11-24 18:09:46 +00:00
Andreas Gampe
d0e6dc1ad1 Libziparchive: Remove unused variable
For build-system CFLAGS clean-up, remove unused variable.

Change-Id: Icc33cf5d0a5fe9a77c277b100de01b70164cc351
2014-11-24 10:09:06 -08:00
Andreas Gampe
50c15f980d Libcutils: Remove unused variable
For build-system CFLAGS clean-up, remove unused variable.

Change-Id: Iaf6dd7b84ee4ef4734a48b37a4d0ca8287ca5fb5
2014-11-24 10:04:56 -08:00
Andreas Gampe
f96c7bd4b0 Merge "Libutils: Comment out unused constants" 2014-11-24 18:02:34 +00:00
Andreas Gampe
a53c815323 Libutils: Comment out unused constants
For build-system CFLAGS clean-up, "remove" unused variables.

Change-Id: Ic96f066981cd96ca16af81ee3fdbc972507e8c81
2014-11-24 09:43:10 -08:00
Florian Bäuerle
27ded4832d fastboot: add parameter for unbuffered stderr/stdout
This is useful for writing Windows GUIs that want to parse the output of
fastboot before it exits.

Change-Id: Ic0171fe379fc4db7b65b1501e5f2e771ac7c62c4
Signed-off-by: Florian Bäuerle <florian.bae@gmail.com>
2014-11-24 18:12:22 +01:00
Elliott Hughes
744c4986a1 Merge "sdcard: mount sdcard with the noexec option" 2014-11-24 17:09:50 +00:00
Daisuke Okitsu
a5a4e9e0ca sdcard: mount sdcard with the noexec option
Vold mounts the sdcard with noexec, but the fuse deamon
mounts with exec, so it is still possible to execute
binaries:

  /dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,
  user_id=1023,group_id=1023,default_permissions,allow_other 0 0

  /dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,
  nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,
  dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,
  shortname=mixed,utf8,errors=remount-ro 0 0

With this change both vold and fuse mounts with noexec.

(cherry picked from commit f777d6694eecf6e61d9859df2090199863050017)

Change-Id: I66cbfc3a3a89a26958f83577f5e7a5e27f99184e
2014-11-24 08:39:15 -08:00
Greg Hackmann
ba5d1bc86b am 8eff1df1: Merge "libadf: add tests for various failure modes"
* commit '8eff1df1cb3da41e88fd3a99dffcf5b3406d46a2':
  libadf: add tests for various failure modes
2014-11-24 16:03:45 +00:00
Greg Hackmann
a800c8524f am 7e2e3258: Merge "libadf: add tests"
* commit '7e2e32584530ddd9d0b5846bef9df3f36ee8a55b':
  libadf: add tests
2014-11-24 16:03:43 +00:00
Greg Hackmann
8eff1df1cb Merge "libadf: add tests for various failure modes" 2014-11-24 15:56:07 +00:00
Greg Hackmann
7e2e325845 Merge "libadf: add tests" 2014-11-24 15:55:58 +00:00
Daisuke Okitsu
00690852b4 sdcard: mount sdcard with the noexec option
Vold mounts the sdcard with noexec, but the fuse deamon
mounts with exec, so it is still possible to execute
binaries:

  /dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,
  user_id=1023,group_id=1023,default_permissions,allow_other 0 0

  /dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,
  nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,
  dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,
  shortname=mixed,utf8,errors=remount-ro 0 0

With this change both vold and fuse mounts with noexec.

Change-Id: I66cbfc3a3a89a26958f83577f5e7a5e27f99184e
2014-11-24 09:52:14 +01:00
Elliott Hughes
3d5b5162e3 am 7f187c5f: Merge "Lose clear, false, and true to toybox."
* commit '7f187c5f95d6bf0514e71e0e074768bd5395d45f':
  Lose clear, false, and true to toybox.
2014-11-23 18:10:39 +00:00
Elliott Hughes
7f187c5f95 Merge "Lose clear, false, and true to toybox." 2014-11-23 18:03:40 +00:00
Elliott Hughes
ed7959fe62 Lose clear, false, and true to toybox.
Change-Id: I125ea881e61b834b188d9a5411f3b6efe59b9bad
2014-11-22 22:58:42 -08:00
Elliott Hughes
b741221117 am 456661e3: Merge "Fix Mac build."
* commit '456661e38cefe1afbf640036f710f0d481b64bf9':
  Fix Mac build.
2014-11-22 15:42:41 +00:00
Elliott Hughes
456661e38c Merge "Fix Mac build." 2014-11-22 15:34:47 +00:00