Commit graph

7402 commits

Author SHA1 Message Date
Colin Cross
9690230a3c am 0a8a5636: Merge "Fix the build for NEON in libpixelflinger"
* commit '0a8a56361e2b54d0e2a9e2c2f7a7ab47dc76c650':
  Fix the build for NEON in libpixelflinger
2014-03-06 21:02:36 +00:00
Colin Cross
0a8a56361e Merge "Fix the build for NEON in libpixelflinger" 2014-03-06 18:15:56 +00:00
Kévin PETIT
d82b2a3eb4 Fix the build for NEON in libpixelflinger
ARCH_ARM_HAVE_NEON is only ever defined to true, so test for that.
For the NEON function to be used, the file has to include
machine/cpu-features.h so that __ARM_HAVE_NEON is defined.

Change-Id: I0db196b39c493092415859e009531fcff6fc1e8b
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
2014-03-06 15:53:27 +00:00
Mathieu Chartier
f27f9e10f5 am 51ebffd8: Merge "Add free to CloseArchive."
* commit '51ebffd8a5536af09b60950bf7cf6f020c962f8a':
  Add free to CloseArchive.
2014-03-05 19:13:53 +00:00
Mathieu Chartier
51ebffd8a5 Merge "Add free to CloseArchive." 2014-03-05 19:10:28 +00:00
Mathieu Chartier
5f98b12640 Add free to CloseArchive.
Currently CloseArchive doesn't call free and call sites don't appear
to either. I could not find any call sites which manually freed the
archive by deleting the handle. This fixes several memory leaks.

Change-Id: I21f187dde60fd87e6e54bde06de9e76fd0791104
2014-03-04 17:44:58 -08:00
Colin Cross
f21b6b9217 am 87a56eb6: Merge "Use the getopt function in compliance with the standard."
* commit '87a56eb6cc616150d536ed0e70cf8e69e1d5edf6':
  Use the getopt function in compliance with the standard.
2014-03-05 01:44:22 +00:00
Colin Cross
87a56eb6cc Merge "Use the getopt function in compliance with the standard." 2014-03-05 01:39:57 +00:00
Nick Kralevich
6783d7cf16 am 93412622: am 726beb6c: am 6941a83c: don\'t load property_contexts from /data
* commit '93412622859014cc8bd39c30101096d03300845c':
  don't load property_contexts from /data
2014-03-04 20:36:57 +00:00
Dmitriy Ivanov
508240c379 am 2a16a584: Merge "fix: making lsof show devies and loaded .so file names correctly"
* commit '2a16a5847a2811626a108f8cbd7606680647df86':
  fix: making lsof show devies and loaded .so file names correctly
2014-03-04 20:10:21 +00:00
Dmitriy Ivanov
2a16a5847a Merge "fix: making lsof show devies and loaded .so file names correctly" 2014-03-04 20:05:22 +00:00
Nick Kralevich
9341262285 am 726beb6c: am 6941a83c: don\'t load property_contexts from /data
* commit '726beb6c4a02d14cc4637ec61cba09dbe097a149':
  don't load property_contexts from /data
2014-03-04 19:37:34 +00:00
Nick Kralevich
f773d12784 resolved conflicts for merge of 4bf3bb67 to klp-modular-dev-plus-aosp
Change-Id: I20b005efaa84d86d22f6af7a81ade36a606a1d21
2014-03-04 11:35:19 -08:00
Nick Kralevich
726beb6c4a am 6941a83c: don\'t load property_contexts from /data
* commit '6941a83c2dd34df606df13972576fbc23172c3c5':
  don't load property_contexts from /data
2014-03-04 19:34:16 +00:00
Dmitriy Ivanov
7c1fc0ed42 fix: making lsof show devies and loaded .so file names correctly
Change-Id: I4b6f2e0015f8cfa18400fa4bd08460a07e29a51b
2014-03-04 11:17:57 -08:00
Nick Kralevich
6941a83c2d don't load property_contexts from /data
Bug: 12613118
Change-Id: I5a84b13d2151075d5136e3682431fbcc9307df13
(cherry picked from commit dc3a42bb11)
2014-03-04 19:14:34 +00:00
Daniel Cashman
4bf3bb679a Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file." into klp-modular-dev 2014-03-04 18:29:30 +00:00
Nick Kralevich
7cd7ad5216 am 5e96d89a: am 3530b9cd: am 02916aa2: Remove obsolete vdc call.
* commit '5e96d89aa5da72fdd20c719cd35eff36e27ecab2':
  Remove obsolete vdc call.
2014-03-04 08:29:46 +00:00
Nick Kralevich
5e96d89aa5 am 3530b9cd: am 02916aa2: Remove obsolete vdc call.
* commit '3530b9cd4675a5e0c5c02dd765450b84ace67401':
  Remove obsolete vdc call.
2014-03-04 08:26:45 +00:00
Nick Kralevich
3530b9cd46 am 02916aa2: Remove obsolete vdc call.
* commit '02916aa20e3ffbe4b738bb12dc1607a7ec6a8c37':
  Remove obsolete vdc call.
2014-03-04 08:23:06 +00:00
Nick Kralevich
02916aa20e Remove obsolete vdc call.
Since ca8e66a8b0, init has
been handling reboots and filesystem unmounts. Remove obsolete
call to vdc.

Bug: 12504045
Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881
(cherry picked from commit 225459a5da)
2014-03-04 04:54:00 +00:00
Mark Salyzyn
556c9c245d am 858d0dd1: Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"
* commit '858d0dd1e529575181abd8de607e46f7b273cc9d':
  set /proc/sys/net/unix/max_dgram_qlen to large value
2014-03-04 00:14:13 +00:00
Mark Salyzyn
858d0dd1e5 Merge "set /proc/sys/net/unix/max_dgram_qlen to large value" 2014-03-04 00:06:26 +00:00
Mark Salyzyn
581edc1b6c set /proc/sys/net/unix/max_dgram_qlen to large value
- init: set /proc/sys/net/unix/max_dgram_qlen to 300
- libsysutils: Add listen backlog argument to startListener
- logd: set listen backlog to 300

Change-Id: Id6d37d6c937ba2d221e76258d89c9516619caeec
2014-03-03 12:48:00 -08:00
Jesse Hall
a27fcee621 am ba23d539: Merge "Fix the handling of CodeCache return codes in pixelflinger"
* commit 'ba23d539328af36b2040a5bcbdcc840810a4df51':
  Fix the handling of CodeCache return codes in pixelflinger
2014-03-03 17:56:32 +00:00
Jesse Hall
ba23d53932 Merge "Fix the handling of CodeCache return codes in pixelflinger" 2014-03-03 17:49:12 +00:00
David Gumberg
1c3cb91f72 Use the getopt function in compliance with the standard.
This is a simple change to the use of getopt in reboot.c, as per the standard,
getopt does NOT return an EOF, it returns a -1, (this was done to remove
getopt's dependence on stdio.h), and since the standard does not guarantee 
that EOF is -1, and the documentation tells us that getopt returns -1, 
in my judgement it would be best to test for -1, rather than EOF.

Change-Id: I63a3bb7011eb60753eb910221bbe8ce0a71e6679
Signed-off-by: David Gumberg <davidzgumberg@gmail.com>
2014-03-02 18:35:49 +00:00
Elliott Hughes
1a5bc28fae am a0e4d164: Merge "Declare (and simplify) uid_from_user."
* commit 'a0e4d1643cc74748c3b5b05da0d41b7dbcda23e5':
  Declare (and simplify) uid_from_user.
2014-03-01 01:43:18 +00:00
Elliott Hughes
a0e4d1643c Merge "Declare (and simplify) uid_from_user." 2014-03-01 01:39:20 +00:00
Elliott Hughes
3f6b63e74d Declare (and simplify) uid_from_user.
uid_from_user doesn't need to cope with numeric ids in the BSD code
like it did with the old Android code; the caller now handles those.

Also explain what SUPPORT_DOT is for.

Change-Id: I185c9f02b7039795069aa30545563b8a6ef54cd5
2014-02-28 17:27:08 -08:00
Elliott Hughes
7c5a9d24aa am fbcdf6f9: Merge "Switch to BSD chown (for -R, primarily)."
* commit 'fbcdf6f9fe9212154b7b4bf3a4e6f16ad69ca994':
  Switch to BSD chown (for -R, primarily).
2014-03-01 01:25:18 +00:00
Elliott Hughes
fbcdf6f9fe Merge "Switch to BSD chown (for -R, primarily)." 2014-03-01 01:18:29 +00:00
Elliott Hughes
d262b2a886 am 54bb1d3b: Merge "Fix grep -f."
* commit '54bb1d3b98075316e0cd1289f218470cb70227ce':
  Fix grep -f.
2014-03-01 01:17:11 +00:00
Elliott Hughes
54bb1d3b98 Merge "Fix grep -f." 2014-03-01 01:12:49 +00:00
Elliott Hughes
0b024677ec Switch to BSD chown (for -R, primarily).
Change-Id: I45381b8a04f4cb651123a2d43860418e06df6e65
2014-02-28 16:48:49 -08:00
Elliott Hughes
4014501d79 Fix grep -f.
bionic has getline now.

Change-Id: I5e4ee137768ab3113dbe8a07406fa39f4b6546af
2014-02-28 16:45:56 -08:00
Mark Salyzyn
ab41b68968 am 1a1c42fd: Merge "logd: Always build logd"
* commit '1a1c42fda7ec6087355529337573dd3ec5e85d91':
  logd: Always build logd
2014-02-28 23:48:47 +00:00
Mark Salyzyn
1a1c42fda7 Merge "logd: Always build logd" 2014-02-28 23:44:17 +00:00
Mark Salyzyn
4381d43848 logd: Always build logd
- build breakage aosp-idea133 @ 1049092

Change-Id: Iabac6009567926137f455044b33ab5d67924896d
2014-02-28 15:29:36 -08:00
Mark Salyzyn
b0eaeb42ce am a69270db: Merge "liblog: enable logging to logd."
* commit 'a69270db05cea27bf185e60af46dd46e938c7e99':
  liblog: enable logging to logd.
2014-02-28 22:39:21 +00:00
Mark Salyzyn
a69270db05 Merge "liblog: enable logging to logd." 2014-02-28 22:32:53 +00:00
Mark Salyzyn
a931cf072a am ea1b1d48: Merge "logd: institute getGroups for socket credentials"
* commit 'ea1b1d483a9cc6ab748a84fd15536278e4d359e5':
  logd: institute getGroups for socket credentials
2014-02-28 22:02:15 +00:00
Mark Salyzyn
ea1b1d483a Merge "logd: institute getGroups for socket credentials" 2014-02-28 21:55:50 +00:00
Mark Salyzyn
154f4608aa liblog: enable logging to logd.
* Modify liblog to send all messages to the new syslog user
  space daemon.

Original-Change-Id: I0ce439738cd921efb2db4c1d6a289a96bdbc8bc2
Original-Change-Id: If4eb0d09409f7e9be3eb4bb7017073dc7e931ab4
Signed-off-by: Nick Kralevich <nnk@google.com>

* Add a TARGET_USES_LOGD make flag for BoardConfig.mk to manage
  whether logd is enabled for use or not.
* rename syslog to logd to avert confusion with bionic syslog
* Add fake log support back in
* prefilter for logging messages from logd
* Fill in timestamps at logging source
* update abstract log reader
* switch from using suffix for id to v3 format
* log a message when creating devices that a deprecated interface
  is being utilized.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>

(cherry pick from commit 099e2c1f6f706a8600c1cef74cce9066fc315480)

Change-Id: I47929a5432977a1d7235267a435cec0a7d6bd440
2014-02-28 13:49:11 -08:00
Mark Salyzyn
1114f18065 logd: institute getGroups for socket credentials
(cherry pick from commit 4d851290fc81eb36d2fcf76e6f06213a28b877f5)

Change-Id: Ib8be84d2a3f873e91fb1495df439a498f395c137
2014-02-28 13:48:33 -08:00
Stephen Smalley
5c3c77ed78 Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
mkdir /data/misc/wifi subdirectories and /data/misc/dhcp is performed
in the various device-specific init*.rc files but seems generic.
Move it to the main init.rc file.

Drop the separate chown for /data/misc/dhcp as this is handled by mkdir
built-in if the directory already exists.

Add a restorecon_recursive /data/misc/wifi/sockets.

Change-Id: I51b09c5e40946673a38732ea9f601b2d047d3b62
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-02-28 10:23:01 -08:00
Mark Salyzyn
2b6791d0e5 am 0577a067: Merge "libsparse: deal with build warning messages"
* commit '0577a0679a90f1f286512f8dba3c6759fc9d5b7d':
  libsparse: deal with build warning messages
2014-02-28 17:03:32 +00:00
Mark Salyzyn
0577a0679a Merge "libsparse: deal with build warning messages" 2014-02-28 16:58:21 +00:00
Mark Salyzyn
031a748b2a libsparse: deal with build warning messages
- mostly unused parameters, added defs.h to hold __unused macro
- read_all prototype not included, added output_file.h to acquire

Change-Id: Ib7ee00614acab53a6bd6a64f7e26a8c13dbe6297
2014-02-28 08:08:01 -08:00
Mark Salyzyn
9d345aacf4 am b7a4868e: Merge "logd: Remove include."
* commit 'b7a4868e1cad6a878c94077bc48b414c965cb516':
  logd: Remove $(KERNEL_HEADERS) include.
2014-02-27 17:38:40 +00:00