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

Generally testing for CI #7

Open
wants to merge 11 commits into
base: syzkaller/24.05
Choose a base branch
from
Open

Generally testing for CI #7

wants to merge 11 commits into from

Conversation

YiChenChai
Copy link
Collaborator

For testing changes with CI

@RoundofThree
Copy link
Owner

cheribuild.py will ask for a yes when building a benchmark or nodebug kernel without optimization (-O0). Piping yes is not working. I changed the cheribuild.py in the build server not to prompt for unoptimized nodebug kernels, as the prompt was:
"Trying to build BENCHMARK kernel without optimization. Continue?". I think it makes sense not to prompt for nodebug kernels... as the prompt describes.

RoundofThree and others added 5 commits July 9, 2024 22:15
The SIOCDIFADDR ioctl takes an ifreq structure object, not an ifaliasreq
structure object, as its argument.
The SIOCDIFADDR{,_IN6} ioctls take an ifreq structure object, not an
ifaliasreq structure object, as their argument.
The SIOCDIFADDR ioctl takes an ifreq structure object, not an ifaliasreq
structure object, as its argument.
The SIOCDIFADDR{,_IN6} ioctls take an ifreq structure object, not an
ifaliasreq/in_aliasreq/in6_aliasreq structure object, as their
argument.

On CHERI, the incorrect calls using the in6_aliasreq object result in
CHERI capability violations. A pointer to the ifra_addr field in
in6_aliasreq cast to the ifru_addr union member of in6_ifreq results in
bounds being set to the union's larger size. Such bounds exceed the
bounds of of in6_aliasreq object and the bounds-setting instruction
clears a tag of the object's capability.
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.

3 participants