diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-04-17 17:47:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-17 17:47:24 +0200 |
commit | 9c5928b5aa3716f7441694da24982cecacb7a061 (patch) | |
tree | 0c3e750337774162dfb2910cf462b9b7e0b8d4ba /runtime/permissions.rs | |
parent | 19bb82aa40eabd9a06ba6650558653ec88d19a96 (diff) |
fix: panic when trying to pledge permissions before restoring previous pledge (#14306)
This commit fixes and edge case, where testing/benching code could pledge new
permission set before restoring the previous pledge.
Appropriate panics were added and tests that assert that process is killed
in case of "recursive pledge".
Diffstat (limited to 'runtime/permissions.rs')
0 files changed, 0 insertions, 0 deletions