ANDROID: add oem_data to mark signal normal or critical

oem_data is used to mark whether this signal_struct is normal or critical
When the key process is killed by sending signal 9, the 9 signal is converted
to the 6 signal, which is used to obtain exit information.

Bug: 341876961
Change-Id: I195f101fcc5a6d8f6ab20cc818306c5f88c85c61
Signed-off-by: Dezhi Huang <huangdezhi@hihonor.com>
(cherry picked from commit a36869be6c895a0bed1f49e80ffb89cb17870e6a)
This commit is contained in:
Dezhi Huang
2024-05-21 19:40:18 +08:00
committed by Treehugger Robot
parent 5f63d051ce
commit 552efa3faf
+1
View File
@@ -246,6 +246,7 @@ struct signal_struct {
* and may have inconsistent
* permissions.
*/
ANDROID_OEM_DATA(1);
} __randomize_layout;
/*