Elliott Hughes
5f87b31d80
Use a named constant rather than a magic number.
...
Change-Id: I86e8c91c6f5628df3eec38faf28598cc8cef2ea3
2012-09-17 11:43:40 -07:00
James Dong
1fc4f80fc3
Add stack dump from drmserver process to bugreports
...
This would be helpful tracking down ANR issues in drmserver
o related-to-bug: 7132419
Change-Id: I7eceaa0c29af26bd0092110be6bddf8f4c063545
2012-09-10 16:10:29 -07:00
Jeff Brown
bf7f49238d
Include stack traces for certain native processes in bugreport.
...
Bug: 6615693
Change-Id: I64c3b3ce0bba62d9c332a795f7d979fb753dc27b
2012-06-08 11:45:00 -07:00
Nick Kralevich
d51820e8de
dumpstate: don't follow symlinks when creating /data/anr/traces.txt
...
Make Android more robust against symlink attacks when /data/anr
is world-writable.
Bug: 5614000
Change-Id: I9a7e4c4ec9aa4300ac30a968db0dcd276f364ab6
2012-04-06 09:53:45 -07:00
Nick Kralevich
c7f1fe2680
Ensure that /data/anr/traces.txt is world-writable
...
The umask changed for init. We have to force /data/anr to be world
readble and /data/anr/traces.txt to be world writable so dalvik
processes can write to it.
Hopefully this is a short term change while we investigate tightening
up these permissions.
Bug: 6300296
Change-Id: Iacb4c9f1bc69d2ac679697f9cf9a52694f888489
2012-04-06 09:46:10 -07:00
Colin Cross
f45fa6b285
move dumpstate and dumpsys from frameworks/base to frameworks/native
...
Change-Id: I8a5318022ce5cd3e7c8055f21fe5da74639aa6c0
2012-03-26 12:39:26 -07:00