Mark Salyzyn
63c15d5061
logd: prune more aggressively when over the top
...
Change-Id: I929dddc7da048c032fb791c7af23f215f8856bf3
2014-02-14 11:07:54 -08:00
Nick Kralevich
3e76e0a497
logd: initial checkin.
...
* Create a new userspace log daemon for handling logging messages.
Original-Change-Id: I75267df16359684490121e6c31cca48614d79856
Signed-off-by: Nick Kralevich <nnk@google.com>
* Merge conflicts
* rename new syslog daemon to logd to prevent confusion with bionic syslog
* replace racy getGroups call with KISS call to client->getGid()
* Timestamps are filed at logging source
* insert entries into list in timestamp order
* Added LogTimeEntry tail filtration handling
* Added region locking around LogWriter list
* separate threads for each writer
* /dev/socket/logd* permissions
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Change-Id: Ice88b1412d8f9daa7f9119b2b5aaf684a5e28098
2014-02-14 11:07:54 -08:00
Paul Lawrence
b6e3b3cea2
Merge "Mount default encrypted devices at boot"
2014-02-14 15:24:41 +00:00
Mark Salyzyn
1beb2ab6f6
logcat: test: add clear and blocking check
...
Change-Id: I243b1338c4a5935a297a0519c03697fd828e47e6
2014-02-13 18:57:59 -08:00
Nick Kralevich
0f18bb1fe0
Merge "lowmemorykiller: make perms 0220"
2014-02-13 22:10:48 +00:00
Nick Kralevich
b3739735b8
lowmemorykiller: make perms 0220
...
Set
* /sys/module/lowmemorykiller/parameters/adj
* /sys/module/lowmemorykiller/parameters/minfree
to 0220. This better indicates that these files are only intended
to be written to, never read.
Change-Id: I9ef054f032b3955e04128fc1a472a17c7b1fa792
2014-02-13 13:58:21 -08:00
Colin Cross
1c38f5d958
resolved conflicts for merge of 1fef485f
to master
...
Change-Id: If402e68292a183064afe35cb77a4437682ee373a
2014-02-13 13:34:37 -08:00
Colin Cross
1fef485fcc
am 2bcf2437: am d0307bee: Merge "charger: add locale global variable"
...
* commit '2bcf2437c80dbb1d7520b2a5688d4ad7b38dad51':
charger: add locale global variable
2014-02-13 21:19:16 +00:00
Colin Cross
2bcf2437c8
am d0307bee: Merge "charger: add locale global variable"
...
* commit 'd0307beeef57b9db06b82f1ffba746c5decb0b72':
charger: add locale global variable
2014-02-13 21:15:42 +00:00
Colin Cross
d0307beeef
Merge "charger: add locale global variable"
2014-02-13 21:09:37 +00:00
Colin Cross
fb31448b6f
am c5f3e0dc: am 594f0917: am a6b77056: Merge "build debuggerd and debuggerd64 on 64-bit architectures"
...
* commit 'c5f3e0dc092a3132b93d6784103c089ea9cf12ce':
build debuggerd and debuggerd64 on 64-bit architectures
2014-02-13 20:38:00 +00:00
Colin Cross
c5f3e0dc09
am 594f0917: am a6b77056: Merge "build debuggerd and debuggerd64 on 64-bit architectures"
...
* commit '594f0917000de7cc8bd8f184eede96a17cafd777':
build debuggerd and debuggerd64 on 64-bit architectures
2014-02-13 20:35:38 +00:00
Colin Cross
594f091700
am a6b77056: Merge "build debuggerd and debuggerd64 on 64-bit architectures"
...
* commit 'a6b770566e62196f2fff8ab25952c33deed90ea8':
build debuggerd and debuggerd64 on 64-bit architectures
2014-02-13 20:30:14 +00:00
Colin Cross
ca0e5044a3
charger: add locale global variable
...
Some functions in minui reference a global extern char *locale. None
of them are used by charger, but the bfd linker cannot optimize them
out and fails to link charger. Define char *locale in charger.c
so it can resolve the symbol.
Change-Id: I738daf95d24356bf96bd226d91a5dc64b5d4dc9b
2014-02-13 12:25:21 -08:00
Colin Cross
a6b770566e
Merge "build debuggerd and debuggerd64 on 64-bit architectures"
2014-02-13 20:24:47 +00:00
Colin Cross
579c9bc8a4
build debuggerd and debuggerd64 on 64-bit architectures
...
Change-Id: I1518d45ae0c5e0fed31d071fdaf19a67bad1bdfc
2014-02-12 22:32:26 -08:00
Nick Kralevich
3049f23915
am e41420bd: am 488b5eaf: am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
...
* commit 'e41420bd8cbaa69f6eaca524b2412cb92a6d18a3':
Convert all selinux_android_restorecon and _setfilecon calls to new API.
2014-02-13 00:19:47 +00:00
Nick Kralevich
e41420bd8c
am 488b5eaf: am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
...
* commit '488b5eafe368781077b367a9afd68db303bc8891':
Convert all selinux_android_restorecon and _setfilecon calls to new API.
2014-02-13 00:12:52 +00:00
Nick Kralevich
488b5eafe3
am 2e7347d6: Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
...
* commit '2e7347d617b02b13d227bb4cecf6bd69b7b20fa9':
Convert all selinux_android_restorecon and _setfilecon calls to new API.
2014-02-12 23:19:02 +00:00
Nick Kralevich
2e7347d617
Merge "Convert all selinux_android_restorecon and _setfilecon calls to new API."
2014-02-12 23:09:28 +00:00
Colin Cross
b49443d1b6
am 28613a3c: am f094fd03: am dc97eec0: Merge "pixelflinger: support multilib builds"
...
* commit '28613a3c447d6ebdc30375ad5c6272c0c911e795':
pixelflinger: support multilib builds
2014-02-12 23:00:26 +00:00
Elliott Hughes
a5d04cf62c
am fcd4dad3: am 620a8800: am 1c1bd845: Merge "x86_64: Add atomic funtions"
...
* commit 'fcd4dad3967de79450549e78524ac73f775b51f2':
x86_64: Add atomic funtions
2014-02-12 23:00:26 +00:00
Colin Cross
ef5000d10b
am 6c0a1dd5: am d8b63266: am 7419498c: Merge "pixelflinger: use __builtin___clear_cache instead of cacheflush"
...
* commit '6c0a1dd58653b0253142625c5be2049617d13b6c':
pixelflinger: use __builtin___clear_cache instead of cacheflush
2014-02-12 23:00:25 +00:00
Colin Cross
28613a3c44
am f094fd03: am dc97eec0: Merge "pixelflinger: support multilib builds"
...
* commit 'f094fd035f343b3704b3574ce0005fc0e4666db5':
pixelflinger: support multilib builds
2014-02-12 22:19:48 +00:00
Elliott Hughes
fcd4dad396
am 620a8800: am 1c1bd845: Merge "x86_64: Add atomic funtions"
...
* commit '620a8800577743023490cd24b73a4d0a5b755d6e':
x86_64: Add atomic funtions
2014-02-12 22:19:47 +00:00
Colin Cross
6c0a1dd586
am d8b63266: am 7419498c: Merge "pixelflinger: use __builtin___clear_cache instead of cacheflush"
...
* commit 'd8b63266aa7e8f89ef0dea7799a390c49b113518':
pixelflinger: use __builtin___clear_cache instead of cacheflush
2014-02-12 22:19:45 +00:00
Colin Cross
f094fd035f
am dc97eec0: Merge "pixelflinger: support multilib builds"
...
* commit 'dc97eec05232a5d64b6425043b48eafaf63cef7f':
pixelflinger: support multilib builds
2014-02-12 19:22:49 +00:00
Elliott Hughes
620a880057
am 1c1bd845: Merge "x86_64: Add atomic funtions"
...
* commit '1c1bd8454915fde50b27db56739c34501f138937':
x86_64: Add atomic funtions
2014-02-12 19:22:47 +00:00
Colin Cross
d8b63266aa
am 7419498c: Merge "pixelflinger: use __builtin___clear_cache instead of cacheflush"
...
* commit '7419498cb5fa53427d8aec95c4ad27e82cfec156':
pixelflinger: use __builtin___clear_cache instead of cacheflush
2014-02-12 19:22:28 +00:00
Kévin PETIT
14893ec272
Fix the definition of LOCAL_PATH in libusbhost/Android.mk
...
Change-Id: I870cac2f0e26644e4456743209aa45644d7e494b
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
2014-02-12 16:28:11 +00:00
Colin Cross
dc97eec052
Merge "pixelflinger: support multilib builds"
2014-02-12 00:24:09 +00:00
Elliott Hughes
1c1bd84549
Merge "x86_64: Add atomic funtions"
2014-02-12 00:18:43 +00:00
Qiming Shi
4bc2f8db0a
x86_64: Add atomic funtions
...
This patch adds atomic functions for x86_64.
Change-Id: I298c760a1e6efa2ce2c61a143f833b6785805442
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
2014-02-11 16:17:39 -08:00
Colin Cross
7419498cb5
Merge "pixelflinger: use __builtin___clear_cache instead of cacheflush"
2014-02-11 21:39:07 +00:00
Colin Cross
f88fb1fade
pixelflinger: support multilib builds
...
Use the LOCAL_*_arch variables to support building for 32-bit and
64-bit at the same time.
Change-Id: Ibef8044e8b6500a6aa111320eb35bcdaf51ad064
2014-02-11 13:36:14 -08:00
Colin Cross
32ea4a895c
pixelflinger: use __builtin___clear_cache instead of cacheflush
...
cacheflush doesn't exist on LP64 any more, and gcc's
__builtin___clear_cache is better in every way. Use it instead.
Change-Id: Ibbf6facbdefc15b6dda51d014e1c44fb7aa2b17d
2014-02-11 13:32:44 -08:00
Colin Cross
62ea114e53
am aeeacff9: am ec08c03c: am 85516e9d: Merge "log: add compile-time checking when ALOGV is disabled"
...
* commit 'aeeacff9ed2137bb06130555d8360b09bd75252c':
log: add compile-time checking when ALOGV is disabled
2014-02-10 22:24:03 +00:00
Colin Cross
aeeacff9ed
am ec08c03c: am 85516e9d: Merge "log: add compile-time checking when ALOGV is disabled"
...
* commit 'ec08c03cc7261e42346bf7dd15109c202162593b':
log: add compile-time checking when ALOGV is disabled
2014-02-10 22:22:06 +00:00
Colin Cross
ec08c03cc7
am 85516e9d: Merge "log: add compile-time checking when ALOGV is disabled"
...
* commit '85516e9d019a7f5af0e394ea767185c12ffbcd42':
log: add compile-time checking when ALOGV is disabled
2014-02-10 22:19:51 +00:00
Colin Cross
85516e9d01
Merge "log: add compile-time checking when ALOGV is disabled"
2014-02-10 22:14:10 +00:00
Christopher Ferris
8a54dea42a
am 25a619fb: am 48e81834: am 4207df11: Merge "Use stat structure to keep oldest mtime."
...
* commit '25a619fb30ac04ee534a749ff238900845b64bb6':
Use stat structure to keep oldest mtime.
2014-02-10 12:51:27 +00:00
Elliott Hughes
4160507b75
am a1ebd4d5: am 696c75c1: am 829ae5be: Merge "Remove a pre-uapi hack from nandread."
...
* commit 'a1ebd4d5c8b0a038c39b568b33e89f1b998f0a73':
Remove a pre-uapi hack from nandread.
2014-02-10 12:51:27 +00:00
Colin Cross
c89210e3a8
am ec04a8d4: am d90b11b6: am 13274a26: Merge "Fix logging errors inside ALOGV"
...
* commit 'ec04a8d45bc6b01c3c2cd4a3064d194f7beeb386':
Fix logging errors inside ALOGV
2014-02-10 12:51:26 +00:00
Elliott Hughes
54cf89a24b
am 00010369: am 3bff7e3e: am 136a9619: Merge "Use socklen_t instead of int in debuggerd."
...
* commit '00010369a6a4d9b3db58a22dfeca258f328147da':
Use socklen_t instead of int in debuggerd.
2014-02-10 12:51:25 +00:00
Colin Cross
810d19f99a
log: add compile-time checking when ALOGV is disabled
...
Wrap the call in a if (0) when verbose logging is disabled
to provide compile time checking.
Also add a printf format attribute to the function to warn
if parameters are incorrect.
Change-Id: Ic77edeadcc4d886ca0f8b434f8550e18e22d5901
2014-02-09 21:59:24 -08:00
Christopher Ferris
25a619fb30
am 48e81834: am 4207df11: Merge "Use stat structure to keep oldest mtime."
...
* commit '48e818344250324ad89cacd23105a8035287d33b':
Use stat structure to keep oldest mtime.
2014-02-08 05:38:00 +00:00
Elliott Hughes
a1ebd4d5c8
am 696c75c1: am 829ae5be: Merge "Remove a pre-uapi hack from nandread."
...
* commit '696c75c165bbefd588b411103036b1193958ef6b':
Remove a pre-uapi hack from nandread.
2014-02-08 05:37:51 +00:00
Colin Cross
ec04a8d45b
am d90b11b6: am 13274a26: Merge "Fix logging errors inside ALOGV"
...
* commit 'd90b11b6c1905eb7c86dc2cf17314edb37ba4592':
Fix logging errors inside ALOGV
2014-02-08 05:37:30 +00:00
Elliott Hughes
00010369a6
am 3bff7e3e: am 136a9619: Merge "Use socklen_t instead of int in debuggerd."
...
* commit '3bff7e3e65d382a8474e0b20dbcf616cfdd82a2d':
Use socklen_t instead of int in debuggerd.
2014-02-08 05:37:26 +00:00
Christopher Ferris
48e8183442
am 4207df11: Merge "Use stat structure to keep oldest mtime."
...
* commit '4207df11c5c09969b576324b4eea93a4c4e1ee99':
Use stat structure to keep oldest mtime.
2014-02-08 02:22:04 +00:00