Skip to content

add definition for __NR_bpf as fallback in http3 module - #1072

Open
BrunoLafleur wants to merge 1 commit into
apache:trunkfrom
BrunoLafleur:pb1
Open

BrunoLafleur wants to merge 1 commit into
apache:trunkfrom
BrunoLafleur:pb1

Conversation

@BrunoLafleur

@BrunoLafleur BrunoLafleur commented Nov 22, 2026 •

Copy link
Copy Markdown

I added definitions of __NR_bpf in case they are missing. It is useful in case of cross compilation because by principle we often compile with old libc and kernel to be portable.

_NR_bpf are invariant values for a given target.

At runtime if the syscall don't exist the syscall report an error which is grabbed.

Bug 70368

  • This PR does not report or address a security vulnerability
    (see SECURITY.md and
    https://www.apache.org/security/#reporting-a-vulnerability).
  • Code follows the httpd style guide.
  • New log messages (level debug or higher) use an empty APLOGNO() tag;
    numbers are assigned by a committer at merge time (see docs/log-message-tags/README).
  • If the change is user-visible, a changes-entries/*.txt file is included,
    following the template in README.CHANGES (not needed otherwise).
  • Test cases based on pyhttpd are included where appropriate, in the
    test/modules/xxx directory matching the modules/xxx module source,
    or test/modules/core for core server changes. On Unix, verify these
    pass locally with e.g. make check-pytest PYTEST_DIRS=test/modules/xxx.

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.

1 participant