commit | 05eb2d093cb11e63cafa96a84368f1ce11d33c15 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Fri Jun 17 15:09:50 2022 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Fri Jun 17 15:13:04 2022 +0900 |
tree | 841c23635cd839b55488fceb72e9e2b8c57e0544 | |
parent | 8274622cb4e4a4486f44db6b94e1c0067506dd97 [diff] |
Refuse to adopt shell permissions if they were already adopted. This does not work because when the permissions are dropped, all previously-adopted permissions will be dropped as well. Attempts to do so will likely result in hard-to-understand test failures. On S+, where we can detect this, fail with a clear error message. Test: treehugger Bug: 225092753 Change-Id: I1587ab77f885c595f0b9168c6739303c6227218e