android_system_core/debuggerd
Elliott Hughes d32733dbc7 debuggerd: show syscall in SYS_SECCOMP one-liners.
The current logging...
```
F libc    : Fatal signal 31 (SIGSYS), code 1 (SYS_SECCOMP) in tid 6640 (logcat), pid 6640 (logcat)
```
...isn't super useful if crash_dump then fails, because you have no idea
what syscall caused the problem.

We already include the fault address in this line for relevant cases,
so include the syscall number in this case.

Bug: http://b/262391724
Test: treehugger
Change-Id: I45ad7d99c9904bab32b65efeb19be232e59ab3a4
2023-01-05 00:55:38 +00:00
..
client debuggerd_client: also log errors to the dump file. 2021-06-29 11:59:14 -07:00
common/include Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
crasher Suppress clang-tidy on crasher.cpp 2022-12-05 11:28:40 -08:00
handler debuggerd: show syscall in SYS_SECCOMP one-liners. 2023-01-05 00:55:38 +00:00
include/debuggerd Resolve ro.debuggable at build time 2022-09-01 13:32:36 +00:00
libdebuggerd Remove unnecessary logging. 2022-10-27 17:56:27 -07:00
proto Add tomstone proto support for riscv64 2022-10-12 22:31:45 +00:00
rust/tombstoned_client Make some debuggerd libraries available in apex com.android.virt 2022-04-05 15:55:16 +00:00
seccomp_policy Add seccomp policy for riscv64 crash_dump 2022-10-12 22:31:39 +00:00
test_permissive_mte Do not use GetBoolProperty in signal handler 2022-09-16 12:01:40 -07:00
tombstoned Switch to tombstoned.microdroid 2022-10-24 15:56:33 +00:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp riscv64 doesn't require a 32-bit crash dump policy. 2022-11-14 20:06:16 +00:00
crash_dump.cpp Remove an unnecessary #include. 2022-12-13 17:08:24 +00:00
crash_test.cpp Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
crash_test.h Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
debuggerd.cpp Always use main thread pid for manual dumping. 2021-07-30 14:08:03 -07:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Add riscv support for heap_addr_in_register 2022-10-29 14:57:23 +00:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Remove jmgao from OWNERS files. 2021-08-10 21:42:14 -07:00
pbtombstone.cpp Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
protocol.h Teach debuggerd to pass the secondary ring buffer to __scudo_get_error_info(). 2021-02-12 12:30:52 -08:00
TEST_MAPPING Add hwasan presubmit for debuggerd. 2022-04-18 20:27:52 +00:00
util.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
util.h Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00