commit | eebd7f2b7d7e71ed9ada9dbd716b062bc9191ea9 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jul 12 06:39:59 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jul 12 06:39:59 2022 +0000 |
tree | d167298fe6a7c23ce6e1a0e74cf407df95f9d65f | |
parent | 932e069f0f0b5cb42404fde6b98696bf236a8f25 [diff] | |
parent | a571d4a9bcb96d0a797bd3c99008a40c413503d4 [diff] |
Merge "Do not enforce EROFS for android-T and below."
diff --git a/init/subcontext.cpp b/init/subcontext.cpp index bb3967e..bd2bec5 100644 --- a/init/subcontext.cpp +++ b/init/subcontext.cpp
@@ -381,6 +381,9 @@ } void SubcontextTerminate() { + if (!subcontext) { + return; + } subcontext_terminated_by_shutdown = true; kill(subcontext->pid(), SIGTERM); }