fshahinfar1 / kashk

Generate BPF kernel offload from source code of applications
1 stars 0 forks source link

Fallback to userspace when boundcheck fails #5

Closed fshahinfar1 closed 3 months ago

fshahinfar1 commented 7 months ago

If a bound check generated for accessing packet fails, we should fallback to the userspace. So the failure flag must be set accordingly. This means that the fallback generation should happen after verifier pass (Also the userspace code generation). This is not what is currently happening in the implementation.

fshahinfar1 commented 3 months ago

Similar to #7. It is possible to fallback to the userspace from a modified BPF code.