Skip to content

Extend traps0/1 Validation - #89

Open
zbelinsk wants to merge 5 commits into
masterfrom
gevb-security-validation
Open

Extend traps0/1 Validation#89
zbelinsk wants to merge 5 commits into
masterfrom
gevb-security-validation

Conversation

@zbelinsk

@zbelinsk zbelinsk commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Extending input parameters validation in trap calls.

@github-actions github-actions Bot added the untested Mark untested PRs label Jul 30, 2026
@zbelinsk
zbelinsk force-pushed the gevb-security-validation branch from f0882fd to 87a05aa Compare July 30, 2026 19:42
@zbelinsk zbelinsk changed the title Implement GEVB security validation and refactor safemem permission ch… Implement GEVB security validation and refactor safemem Jul 30, 2026
@zbelinsk
zbelinsk marked this pull request as draft August 3, 2026 12:48
@zbelinsk
zbelinsk force-pushed the gevb-security-validation branch from a33c8ba to bca14e3 Compare August 5, 2026 16:50
@zbelinsk zbelinsk changed the title Implement GEVB security validation and refactor safemem Extend traps0/1 Validation Aug 5, 2026
@zbelinsk
zbelinsk marked this pull request as ready for review August 5, 2026 16:55
…ecking.

Add H2K_safemem_check_perms for RX validation in H2K_vmtrap_setvec.
Use h2_common_pmap.h constants (U/R/W/X) instead of old SAFEMEM bit layout.

Signed-off-by: Zeev Belinsky <zbelinsk@qti.qualcomm.com>
Signed-off-by: zbelinsk <zbelinsk@qti.qualcomm.com>
Replace H2K_safemem_check_perms with H2K_safemem_check_and_lock for RX validation in H2K_vmtrap_setvec. Use h2_common_pmap.h constants (U/R/W/X) and TEMP_MAP_OFF_MASK macro instead of hardcoded values.

Signed-off-by: Zeev Belinsky <zbelinsk@qti.qualcomm.com>
Signed-off-by: Zeev Belinsky <zbelinsk@qti.qualcomm.com>
@zbelinsk
zbelinsk force-pushed the gevb-security-validation branch from bca14e3 to 5410324 Compare August 5, 2026 16:55
Signed-off-by: zbelinsk <zbelinsk@qti.qualcomm.com>
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Remove the stale label or add a comment to reset the inactivity timer

@github-actions github-actions Bot added the Stale label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale untested Mark untested PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant