commit | 7f8721b9926c2cac6834ff8e4ffd7b38c3b1b3de | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Fri Apr 22 12:05:09 2022 +0900 |
committer | Jooyung Han <jooyung@google.com> | Mon Apr 25 10:26:07 2022 +0900 |
tree | d1023293bc488da3cce7d54b64727d27893a02c2 | |
parent | d438ea723b4909227522be207080d9f283b3c2bd [diff] |
Unshare mount namespace in bootchart's thread When bootchart is enabled its thread shares the mount namespace context with the main thread. This prevents the main thread to switch the mount namespace later with setns(). So, unshare() the mount namespace of the bootchart thread. Bug: 229983560 Test: rebooted with bootcharting on/off enter_default_mount_ns should succeeded. Change-Id: Idac0d0efcb4f7f7d8a7cbcebf8fa2fa29f104c35