Commit Graph

8076 Commits

Author SHA1 Message Date
Elliott Hughes 6a732d423f am 2ae567c8: am 1a5bc28f: am a0e4d164: Merge "Declare (and simplify) uid_from_user."
* commit '2ae567c82ee34fb7e51e797fce140313de34338b':
  Declare (and simplify) uid_from_user.
2014-03-01 01:51:23 +00:00
Elliott Hughes 2ae567c82e am 1a5bc28f: am a0e4d164: Merge "Declare (and simplify) uid_from_user."
* commit '1a5bc28faed5e2060a6f3e1b8135fe82dc2cb319':
  Declare (and simplify) uid_from_user.
2014-03-01 01:48:16 +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 e12311fcb2 am f767e9c9: am 7c5a9d24: am fbcdf6f9: Merge "Switch to BSD chown (for -R, primarily)."
* commit 'f767e9c97a0719b342e91c7770885c108a66e02f':
  Switch to BSD chown (for -R, primarily).
2014-03-01 01:31:51 +00:00
Elliott Hughes f767e9c97a am 7c5a9d24: am fbcdf6f9: Merge "Switch to BSD chown (for -R, primarily)."
* commit '7c5a9d24aa173e9ee5e7133be43b9c98c8112ab7':
  Switch to BSD chown (for -R, primarily).
2014-03-01 01:28:50 +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 7bc9748420 am 1f570812: am d262b2a8: am 54bb1d3b: Merge "Fix grep -f."
* commit '1f57081216a2eae81672dadd67c94476b27fbf63':
  Fix grep -f.
2014-03-01 01:24:37 +00:00
Elliott Hughes 1f57081216 am d262b2a8: am 54bb1d3b: Merge "Fix grep -f."
* commit 'd262b2a886a5674fe428ecbfd3a10dfc5efe8e85':
  Fix grep -f.
2014-03-01 01:20:44 +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 7ec0e122d9 am 53a3b3f5: am ab41b689: am 1a1c42fd: Merge "logd: Always build logd"
* commit '53a3b3f56ab53da0e657a8fa670f8f30b80bb4c9':
  logd: Always build logd
2014-02-28 23:55:44 +00:00
Mark Salyzyn 53a3b3f56a am ab41b689: am 1a1c42fd: Merge "logd: Always build logd"
* commit 'ab41b68968e133bd625ee24e45b2582067ca00be':
  logd: Always build logd
2014-02-28 23:52:19 +00: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 dc179fd2bf am 7be31bbf: am b0eaeb42: am a69270db: Merge "liblog: enable logging to logd."
* commit '7be31bbf67e9b8b7e53948472535b54b3d27a693':
  liblog: enable logging to logd.
2014-02-28 22:44:58 +00:00
Mark Salyzyn 7be31bbf67 am b0eaeb42: am a69270db: Merge "liblog: enable logging to logd."
* commit 'b0eaeb42cea7e3ee36e03ef461532b5b8556a26e':
  liblog: enable logging to logd.
2014-02-28 22:41:29 +00: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 caad5bb359 am da13962c: am a931cf07: am ea1b1d48: Merge "logd: institute getGroups for socket credentials"
* commit 'da13962c2ed1503512f4407c5d9a5d15a5af5e27':
  logd: institute getGroups for socket credentials
2014-02-28 22:10:14 +00:00
Mark Salyzyn da13962c2e am a931cf07: am ea1b1d48: Merge "logd: institute getGroups for socket credentials"
* commit 'a931cf072af0eeb668559f140a8a25558d2e7e14':
  logd: institute getGroups for socket credentials
2014-02-28 22:07:10 +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
Mark Salyzyn 8c3fd9b797 Merge "liblog: enable logging to logd." 2014-02-28 21:45:43 +00:00
Mark Salyzyn 7e3d6df7c5 Merge "logd: institute getGroups for socket credentials" 2014-02-28 21:42:17 +00: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 470185211b am d9f1702a: am 2b6791d0: am 0577a067: Merge "libsparse: deal with build warning messages"
* commit 'd9f1702a10541b59cfc9582762360d3347712e09':
  libsparse: deal with build warning messages
2014-02-28 17:10:02 +00:00
Mark Salyzyn d9f1702a10 am 2b6791d0: am 0577a067: Merge "libsparse: deal with build warning messages"
* commit '2b6791d0e526828e1e36a7f18f940afa6b278a4a':
  libsparse: deal with build warning messages
2014-02-28 17:06:47 +00: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 1794710315 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>

Change-Id: I47929a5432977a1d7235267a435cec0a7d6bd440
2014-02-27 17:51:43 -08:00
Mark Salyzyn 3d8b467e5a logd: institute getGroups for socket credentials
Change-Id: Ib8be84d2a3f873e91fb1495df439a498f395c137
2014-02-27 15:24:42 -08:00
Mark Salyzyn 128a26bf7b am f45f30d1: am 9d345aac: am b7a4868e: Merge "logd: Remove include."
* commit 'f45f30d10d8d17a403ca82d2cb2291a450c1c128':
  logd: Remove $(KERNEL_HEADERS) include.
2014-02-27 17:44:08 +00:00
Mark Salyzyn f45f30d10d am 9d345aac: am b7a4868e: Merge "logd: Remove include."
* commit '9d345aacf45d111b25a2bdc2a949c149628e8295':
  logd: Remove $(KERNEL_HEADERS) include.
2014-02-27 17:40:56 +00: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
Mark Salyzyn b7a4868e1c Merge "logd: Remove $(KERNEL_HEADERS) include." 2014-02-27 17:34:57 +00:00
Martijn Coenen 89343c1113 logd: Remove $(KERNEL_HEADERS) include.
Points to wrong kernel-headers dir in multi-arch
builds.

(cherry picked from commit 920a5629ff)

Change-Id: I5055bf5cd80119a34f0a6b0872ffb0a422a06baf
2014-02-27 07:57:05 -08:00
Narayan Kamath 665b0bb4f9 am bfed1360: am 1ed1d341: am 26fa5cd3: Merge "AArch64: Use negative values in error enumeration"
* commit 'bfed136068feb299b3ca8a07d6eaf5d93e3ff2a3':
  AArch64: Use negative values in error enumeration
2014-02-27 13:33:25 +00:00
Narayan Kamath bfed136068 am 1ed1d341: am 26fa5cd3: Merge "AArch64: Use negative values in error enumeration"
* commit '1ed1d341baaba1d1453dbd061476d4263f17aa28':
  AArch64: Use negative values in error enumeration
2014-02-27 13:30:09 +00:00
Narayan Kamath 1ed1d341ba am 26fa5cd3: Merge "AArch64: Use negative values in error enumeration"
* commit '26fa5cd39d39c2954d4c9abd866e39bf1d8d39ae':
  AArch64: Use negative values in error enumeration
2014-02-27 13:26:41 +00:00
Narayan Kamath 26fa5cd39d Merge "AArch64: Use negative values in error enumeration" 2014-02-27 13:18:18 +00:00
Christopher Ferris dc6d9241de am a6631bb3: am 3bcefc66: am 62f12bd9: Merge "Enable libunwind for mips."
* commit 'a6631bb38fbf77415592c10734710df8afa0deab':
  Enable libunwind for mips.
2014-02-26 22:39:08 +00:00