Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prog: friendly error w/ sentinel if kernel doesn't support bpf2bpf
If a program has function references, return ErrNotSupported if program creation fails and we know the kernel doesn't support bpf2bpf calls, or if the user is unprivileged. Signed-off-by: Timo Beckers <timo@isovalent.com>
- Loading branch information
Showing
4 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters