commit | a27118a049ce019df1eb429519c1dbf9a7e8db8a | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <[email protected]> | Wed Apr 04 08:18:01 2018 -0700 |
committer | Treehugger Robot <[email protected]> | Fri Apr 06 13:30:16 2018 +0000 |
tree | c5e4fb1d2130d675ea6f115f0794a62efcdafb23 | |
parent | ab6da7f163936d836ab7b3b623158356740414e6 [diff] |
Add a way to reset signal handlers This change adds minijail_reset_signal_handlers(), that resets all signal handlers up to SIGRTMAX to SIG_DFL. This avoids jailed processes from having unintentionally ignored signals. Bug: 77146512 Test: make tests Change-Id: Icb4fa1a5943290767a4e4576528e9aa80db0593d