Commit graph

12188 commits

Author SHA1 Message Date
Elliott Hughes
8f18daf129 Merge "Remove chdir from init." 2015-03-15 21:09:59 +00:00
Elliott Hughes
641d3e8ea0 Remove chdir from init.
Change-Id: Ib2880c6cb18db613deac04ee3b06b9719f5248b9
2015-03-15 10:52:20 -07:00
Elliott Hughes
c353c912a7 Merge "Document mkdir behavioural change" 2015-03-15 16:55:46 +00:00
Johan Redestig
0b42ba24ac Document mkdir behavioural change
Since 27164dc mkdir will update mode, owner and group even
if the directory exists already

Change-Id: Ic37975d118a87afded5bfade775cb3d0d3b19892
2015-03-15 17:47:36 +01:00
Elliott Hughes
285c2ae04a Merge "Document the mount option string in the readme.txt" 2015-03-15 16:39:56 +00:00
Niklas Tibbling
bc3f69f190 Document the mount option string in the readme.txt
also make a distinction between flag and option.

Change-Id: Ia872bc8dc98b3459f9c1e992d096c115699357af
2015-03-15 16:20:44 +00:00
Dan Albert
4a0027fdf0 Merge "Add commonly used C++ macros to libbase." 2015-03-14 23:58:04 +00:00
Dan Albert
a68c814898 Merge "Create libbase." 2015-03-14 23:46:11 +00:00
Dan Albert
7fbdaddfac Add commonly used C++ macros to libbase.
Change-Id: I74f5dbfc4d99f7e78212a72540e538c1a737e224
2015-03-14 16:36:18 -07:00
Dan Albert
98ff77204c Create libbase.
Move StringPrintf and the string based file I/O from libutils to
libbase.

Change-Id: I0297a6063874b9d92100e0dd5123fddfbda932fe
2015-03-14 16:36:18 -07:00
Elliott Hughes
f1c2ba490e Merge "Remove unused header file." 2015-03-14 17:44:47 +00:00
Elliott Hughes
c2f0ed64ce Remove unused header file.
This library no longer exists.

Change-Id: I5582b41b70691171b1ac5f2bffd623f2b2fc10e5
2015-03-14 09:28:49 -07:00
Elliott Hughes
6fadf9e939 Merge "Remove obsolete setkey." 2015-03-14 02:26:10 +00:00
Elliott Hughes
5878aa92cd Remove obsolete setkey.
It's undocumented and unused.

Change-Id: I685dc900adbc14f2e8b4eeebb1e4d111782f141d
2015-03-13 15:37:54 -07:00
Dmitriy Ivanov
821b8570c7 Merge "Switch liblog to sysv-only hash style" 2015-03-13 21:06:01 +00:00
Mark Salyzyn
97c10907b5 Merge "logd: report reinit" 2015-03-13 21:02:17 +00:00
Dmitriy Ivanov
28a3b7cae0 Switch liblog to sysv-only hash style
Bug: 19059885
Change-Id: I5519a4e19716303692d4117bc24988f21d5a829e
2015-03-13 12:51:02 -07:00
Elliott Hughes
0f6286d705 Merge "Remove getsebool/setsebool from init and toolbox." 2015-03-13 17:52:11 +00:00
Stephen Smalley
d4b2d8923f Remove getsebool/setsebool from init and toolbox.
These were leftovers from the SELinux boolean support that
was originally merged.  Since Android prohibits SELinux policy
booleans, we can just drop it.

Change-Id: I02f646a7d8db65e153702205b082b87a73f60d73
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2015-03-13 14:01:58 -04:00
Elliott Hughes
48f25fa974 Merge "adb doesn't actually use libzipfile." 2015-03-13 16:49:13 +00:00
Elliott Hughes
46270d233a adb doesn't actually use libzipfile.
Change-Id: Ia7d22214bc8422c88edaaf9bb716d7e12e0bb381
2015-03-13 09:40:45 -07:00
Dmitriy Ivanov
43b89c8e95 Merge "Allocate buffers on the heap" 2015-03-12 22:42:13 +00:00
Dmitriy Ivanov
edbabfe9fe Allocate buffers on the heap
Change-Id: I96c8a50e8987e8ea77d0766ccf3c619f60377864
2015-03-12 14:47:52 -07:00
Mark Salyzyn
ccbadc6be0 logd: report reinit
Bug: 19681572
Change-Id: I343b9d108f064f87df79512a0fdf1b35513c3136
2015-03-12 20:38:53 +00:00
Mark Salyzyn
bd518bce07 Merge changes I3187aa34,Iadac58e6
* changes:
  init.rc: logd --reinit on changes to persistent properties
  logd: add reinit command
2015-03-12 20:34:01 +00:00
Mark Salyzyn
54c22e5b0a Merge "logcat: test: logcat.logrotate fails" 2015-03-12 20:15:17 +00:00
Mark Salyzyn
9c51243d8b logcat: test: logcat.logrotate fails
Test did not handle all possible multiples of block sizes.

Bug: 19604106
Change-Id: I693358be9598926389631baf21c5883e0f2fd735
2015-03-12 20:11:36 +00:00
Mark Salyzyn
ecd993d74f Merge "logcat: fortify help on filterspec" 2015-03-12 20:10:18 +00:00
Mark Salyzyn
48d06069a8 init.rc: logd --reinit on changes to persistent properties
Bug: 19681572
Change-Id: I3187aa348dae79fa5822ffb7ee9566919a7a04e6
2015-03-12 12:24:53 -07:00
Mark Salyzyn
11e55cb9c1 logd: add reinit command
- respond to SIGHUP
- respond to logd command "reinit"
- respond to logd --reinit
- reopens files on /data, eg: re-read of persistent properties

Bug: 19681572
Change-Id: Iadac58e6653f027cb7355497bd675eef376ce0a8
2015-03-12 12:24:47 -07:00
Nick Kralevich
7e9fe7d86d Merge "builtins: remove setenforce command" 2015-03-12 00:51:49 +00:00
Nick Kralevich
cee683e290 builtins: remove setenforce command
Adding "setenforce 0" to init.rc isn't a supported way to turn off
SELinux, and doesn't work with AOSP SELinux policy. Remove the code
from init.

Change-Id: If8c8149560789c9a7ba518a0a100e6033bb68898
2015-03-11 17:48:45 -07:00
Elliott Hughes
0a92c8c479 Merge "Fix a printf format string (caught by clang but not GCC)." 2015-03-11 19:32:47 +00:00
Elliott Hughes
58c3bacc38 Fix a printf format string (caught by clang but not GCC).
Change-Id: I665756615eef74b05ef92f5865d910f29ead0695
2015-03-11 12:31:53 -07:00
Elliott Hughes
a4d98484a2 Merge "Implement exec." 2015-03-11 18:20:29 +00:00
Sami Tolvanen
9fabbbfb03 Merge "Do not call libcutils property_set in init through libfs_mgr" 2015-03-11 09:14:55 +00:00
Greg Hackmann
54352700c7 Merge "libadf: enable -Werror" 2015-03-11 00:00:34 +00:00
Greg Hackmann
bf36cc57c3 Merge "libadf: tests: fix signed/unsigned comparison warnings" 2015-03-10 23:59:45 +00:00
Greg Hackmann
e6b793c7b0 libadf: enable -Werror
Bug: 19606869

Change-Id: If2ea55732e71e8288641b6b34d229b367fd3fb3b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2015-03-10 15:14:38 -07:00
Greg Hackmann
39b0c1c67d libadf: tests: fix signed/unsigned comparison warnings
Bug: 19606869

Change-Id: I29cfa363b6640cc13973c1023d2f4ea1a97e3af2
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2015-03-10 15:14:38 -07:00
Dimitry Ivanov
ddd97cafb8 am b27bd948: Merge "Generate gnu hash for arm only"
* commit 'b27bd94896dcfd94940e65a2438dc6a337c03038':
  Generate gnu hash for arm only
2015-03-10 16:56:42 +00:00
Dimitry Ivanov
b27bd94896 Merge "Generate gnu hash for arm only" 2015-03-10 16:51:37 +00:00
Goran Jakovljevic
3947d5da3f Generate gnu hash for arm only
Fixes mips build failure caused by:
https://android-review.googlesource.com/#/c/139580/

As previously discussed [1], MIPS does not support GNU-style ELF hashes.

[1] https://android-review.googlesource.com/#/c/49282/2/tests/Android.mk

Change-Id: I757fef1d47663da3e414f5771dfc580ea7aa3732
2015-03-10 09:47:23 -07:00
Elliott Hughes
d3e877f81a am ad571cdd: Merge "Add backtrace support for mips64."
* commit 'ad571cdd2ce8c85f92ed87e021c94569b24fc7c1':
  Add backtrace support for mips64.
2015-03-10 15:03:41 +00:00
Elliott Hughes
1f90933450 am ed5b81c9: Merge "Fix LP32 build."
* commit 'ed5b81c9e59c0a6c618f43964a4a2639448c0686':
  Fix LP32 build.
2015-03-10 15:03:41 +00:00
Elliott Hughes
8576aa055c am 9cce837d: Merge "Increase output width for wchan and pc on 64 bit targets."
* commit '9cce837d025d05a07a3b91cf23337a7b688c3eb9':
  Increase output width for wchan and pc on 64 bit targets.
2015-03-10 15:03:40 +00:00
Dmitriy Ivanov
4c37448f79 am 19833d24: Merge "Generate sysv hash for liblog"
* commit '19833d24887164fdfa7313bda533283f47acd205':
  Generate sysv hash for liblog
2015-03-10 15:03:39 +00:00
Dan Albert
ee3e49cf73 am ad5ed361: Merge "Fix build from -Werror=maybe-uninitialized."
* commit 'ad5ed361a757494c0b308ec43cddc80ed9d8843f':
  Fix build from -Werror=maybe-uninitialized.
2015-03-10 15:03:38 +00:00
Elliott Hughes
ad571cdd2c Merge "Add backtrace support for mips64." 2015-03-10 04:26:33 +00:00
Elliott Hughes
ed5b81c9e5 Merge "Fix LP32 build." 2015-03-10 04:11:22 +00:00