Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport: arch: arm: aarch32: userspace: fix syscall ID validation #23498

Merged
merged 2 commits into from May 5, 2020

Conversation

d3zd3z
Copy link
Collaborator

@d3zd3z d3zd3z commented Mar 16, 2020

Backport pr23323 to v2.1.

We need an unsigned comparison when evaluating whether
the supplied syscall ID is lower than the syscall ID limit.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
Signed-off-by: David Brown <david.brown@linaro.org>
Extend the bad syscall-ID test case to cover
erroneously supplied larged unsiged syscall-ID
values.

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
Signed-off-by: David Brown <david.brown@linaro.org>
@nashif nashif changed the title Backport Pr23323 to v2.1 Backport: arch: arm: aarch32: userspace: fix syscall ID validation Mar 17, 2020
@nashif nashif added the Backport Backport PR and backport failure issues label Mar 17, 2020
@nashif nashif added this to the v2.1.1 milestone Mar 17, 2020
@ioannisg
Copy link
Member

ioannisg commented Mar 17, 2020

@d3zd3z created #23535 to backport this to 1.14 branch.

@nashif nashif added this to To do in Backports Mar 24, 2020
@carlescufi carlescufi moved this from To do to Ready in Backports Mar 24, 2020
@dleach02 dleach02 closed this Apr 7, 2020
Backports automation moved this from Ready to Done Apr 7, 2020
@dleach02 dleach02 reopened this Apr 7, 2020
@dleach02 dleach02 moved this from Done to Ready in Backports Apr 7, 2020
@zephyrbot zephyrbot added area: ARM ARM (32-bit) Architecture area: Tests Issues related to a particular existing or missing test area: Kernel labels Apr 7, 2020
@andrewboie
Copy link
Contributor

@nashif seems like some CI jobs are stuck?

@dleach02 dleach02 closed this Apr 16, 2020
Backports automation moved this from Ready to Done Apr 16, 2020
@dleach02 dleach02 reopened this Apr 16, 2020
@dleach02 dleach02 moved this from Done to Ready in Backports Apr 16, 2020
@dleach02 dleach02 closed this Apr 20, 2020
Backports automation moved this from Ready to Done Apr 20, 2020
@dleach02 dleach02 reopened this Apr 20, 2020
@dleach02 dleach02 moved this from Done to Ready in Backports Apr 20, 2020
@dleach02 dleach02 merged commit d4f1e73 into zephyrproject-rtos:v2.1-branch May 5, 2020
Backports automation moved this from Ready to Done May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARM ARM (32-bit) Architecture area: Kernel area: Tests Issues related to a particular existing or missing test Backport Backport PR and backport failure issues
Projects
Backports
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

6 participants