- 18 Apr, 2013 1 commit
-
-
Christopher Tate authored
Restore the logging of the mem maps around the fault address along with the rest of the faulting thread's information. (It was still being written to the tombstone file, but the logging got dropped on the floor in the refactoring around AM report integration). Bug 8654694 Change-Id: Id8851fa765dfe6b6ce41ccfc39e85eaac0acc629
-
- 16 Apr, 2013 2 commits
-
-
Jamie Gennis authored
-
Jamie Gennis authored
This change adds the atrace_set_tracing_enabled call to libcutils. The call can be used to disable all tracing (of the atrace variety) for the current process. This is to be used to disable tracing in the Zygote process, as there is no way for Zygote to be notified of changes to the enabled trace tags. Change-Id: I0b691cc0dcfc65b16e3d17e1db2866a4deb253a7
-
- 15 Apr, 2013 7 commits
-
-
Geremy Condra authored
Bug: 8116902 (cherry picked from commit 47677a50) Change-Id: I2a50f68a53aee2c94d03d3e5ced1ea36337fde33
-
Ken Sumrall authored
A recent change to how libcutils is built requires liblog to be explicitly included in the link list if it's needed. Change-Id: I8547f5e65c488c8f6e314ccd4eb96606742272be
-
Ken Sumrall authored
-
Ken Sumrall authored
-
Ken Sumrall authored
-
Ken Sumrall authored
Currently, the output of e2fsck is not saved, and we have no insight into how many errors e2fsck is finding and fixing. Using the new abbreviated logging feature in liblogwrap, up to the first 100 lines, and last 4K bytes of the output of e2fsck is captured by fs_mgr, and added to the kernel log. Usually, the filesystem will be clean, and this will only add a few lines to the kernel log on boot, but when things go wrong, it should save enough to indicate what the problem is, without potentially filling the kernel log with only e2fsck output if the filesystem is really corrupted. Change-Id: I9c264798e6fe721c8f818b5ce15d0975027ddbdd
-
Ken Sumrall authored
Also add ability to do abbreviated logging where only the first 4K bytes and last 4K bytes of output are added to the desginated log. Also update standalog logwrapper command to support the new options. Change-Id: Ia49cbe58479b9f9ed077498d6852e20b21287bad
-
- 12 Apr, 2013 2 commits
-
-
Dianne Hackborn authored
Change-Id: I63398f282fe7bf04f1c4cefa8f602100f403fa7c
-
Ken Sumrall authored
Also change klog_init() to do nothing if already initialized. Change-Id: Ia2dfe914c9d9fd119fb8939508d57b15c9884663
-
- 11 Apr, 2013 1 commit
-
-
Ying Wang authored
For some prebuilts were built against libcutils with liblog in it. Unfortunately that means in the future if someone checks in prebuilts that are built against libcutils and they don't explicitly link against liblog, they will again prevent us from removing liblog from libcutils. Bug: 8587800 Bug: 8580410 Change-Id: I2a5ed6233df7e7d542d1e4167bec405750c0e671
-
- 10 Apr, 2013 1 commit
-
-
Ying Wang authored
Bug: 8580410 Change-Id: Iab3a9b4307f207c14a04a922cc7350c54e60e9ad
-
- 05 Apr, 2013 2 commits
-
-
Christopher Tate authored
Also fixed the LOG() macro to actually write to the log again, tracking the change in _LOG() argument semantics. Bug 8322568 Change-Id: I79330c85c26d3ffb734315b6d0f2c0bb80bd234a
-
Elliott Hughes authored
(cherry picked from commit 707b8bbe) Bug: 8531731 Change-Id: I2785a07ef83e085f338d3094f9972de23117807c
-
- 04 Apr, 2013 1 commit
-
-
Jeff Sharkey authored
This prevents accidental bugreports on userdebug/eng devices. Bug: 8541006 Change-Id: Iefd15826090fd91434403f197cfd166e64400224
-
- 03 Apr, 2013 3 commits
-
-
Geremy Condra authored
-
Geremy Condra authored
Change-Id: Ibb9c8044caa9d39ee6ec9fe06d54bb9dc4b56ff3
-
Geremy Condra authored
This is necessary to enable remote updates. Change-Id: I05fb979c0360eca4cc6e4add48bb42f712a1ba17
-
- 02 Apr, 2013 3 commits
-
-
Mathias Agopian authored
-
Benoit Goby authored
-
Benoit Goby authored
adbd can receive multiple AUTH_RSAPUBLICKEY packets. This happens for example when booting with usb attached when we retry authenticating after the framework is done booting. Make sure usb_disconnect is only registered once, otherwise this creates a loop in the disconnects list. Bug: 8504991 Change-Id: Ia1f9a37005dd17b7eefee1493d622e1679263eea
-
- 01 Apr, 2013 2 commits
-
-
Mathias Agopian authored
I was fed-up with the constant conflicts in Eclipse with the "libutils" version. Also fix a few copyright notices. Change-Id: I8ffcb845af4b5d0d178f5565f64dfcfbfa27fcd6
-
Christopher Tate authored
The Activity Manager sets up a permission-guarded domain socket, which debuggerd connects to when a crash happens. If this is successful, the daemon then mirrors the logged crash report to that socket, then closes it. Bug 8322568 Change-Id: Ife0c772a628ef82e8457094e511ce1edbfe57460
-
- 29 Mar, 2013 4 commits
-
-
Nick Kralevich authored
* commit 'a56b0b97': run-as: Don't require CAP_DAC_READ_SEARCH
-
Nick Kralevich authored
* commit '191fe44c': run-as: Don't require CAP_DAC_READ_SEARCH
-
Nick Kralevich authored
-
Nick Kralevich authored
This is a partial AOSP port of Google internal change 080427e4 . Change-Id: I23a7edc808d227caf3862b035dc2ca39639d9d59
-
- 28 Mar, 2013 5 commits
-
-
Geremy Condra authored
* commit 'f19e045c': run-as: Get seinfo from packages.list and pass to libselinux.
-
Geremy Condra authored
* commit 'c8df252f': run-as: Get seinfo from packages.list and pass to libselinux.
-
Jamie Gennis authored
This change adds support for tracing using the ATRACE_TAG_APP tag. This tag is enabled only for processes in which the /proc/<pid>/cmdline value appears in the comma-separated list of such values in the debug.atrace.app_cmdlines system property. It is also only enabled if either the ro.debuggable system property is set to 1 or the application has declared itself debuggable in its manifest, which gets reported to libcutils by the framework. Change-Id: Ic94ba55f4e70a9cf994056acbf151e523428b65d
-
Geremy Condra authored
-
Robert Craig authored
Change allows the proper seinfo value to be passed to libselinux to switch to the proper app security context before running the shell. Change-Id: I9d7ea47c920b1bc09a19008345ed7fd0aa426e87 Signed-off-by:
rpcraig <rpcraig@tycho.ncsc.mil>
-
- 27 Mar, 2013 3 commits
-
-
Geremy Condra authored
* commit 'bed08333': Drop /data/system as a policy file location
-
Geremy Condra authored
* commit 'c0e1bc1c': Drop /data/system as a policy file location
-
Geremy Condra authored
-
- 26 Mar, 2013 2 commits
-
-
William Roberts authored
/data/system is no longer used as a policy file location. Use /data/security instead. Change-Id: Ie77be9e25c67c8a2157c7b6c468f3215a49ead52
-
Igor Murashkin authored
-
- 25 Mar, 2013 1 commit
-
-
Ziv Hendel authored
Bug: 8469799 Change-Id: Ie10242dd05becd142cc84651d5e5795e4c02270d Signed-off-by:
Igor Murashkin <iam@google.com> Signed-off-by:
Adam Hampson <ahampson@google.com>
-