Skip to content

Fix ignored error code#11

Open
ViRb3 wants to merge 1 commit into
NyaMisty:masterfrom
ViRb3:fix-code
Open

Fix ignored error code#11
ViRb3 wants to merge 1 commit into
NyaMisty:masterfrom
ViRb3:fix-code

Conversation

@ViRb3

@ViRb3 ViRb3 commented Mar 22, 2022

Copy link
Copy Markdown
Contributor

Previously, getting decryption failure would be ignored and return code 0 (success) even though it is not:

mremap_encrypted: Operation not permitted
<continues>
<code 0>

This PR checks for the return code of mremap_encrypted, and if errored, cancels decryption and propagates it back to the shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant