Skip to content

Generally testing for CI#7

Open
YiChenChai wants to merge 11 commits intosyzkaller/24.05from
testing
Open

Generally testing for CI#7
YiChenChai wants to merge 11 commits intosyzkaller/24.05from
testing

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