Skip to content

Fix //test/syscalls:tcp_socket_test_native failing on newer kernels. - #14478

Merged
copybara-service[bot] merged 1 commit into
google:masterfrom
EtiennePerot:socket-test-fix
Aug 29, 2026
Merged

Fix //test/syscalls:tcp_socket_test_native failing on newer kernels.#14478
copybara-service[bot] merged 1 commit into
google:masterfrom
EtiennePerot:socket-test-fix

Conversation

@EtiennePerot

Copy link
Copy Markdown
Collaborator

As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires
CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it
too.
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972759993
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972759993
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972759993
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 28, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
copybara-service Bot pushed a commit that referenced this pull request Aug 29, 2026
As of Linux commit 5d39580f68e6, SO_ATTACH_FILTER requires CAP_NET_ADMIN for TCP sockets.

Skip in tests if we don't have it, and update Netstack to require it too.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#14478 from EtiennePerot:socket-test-fix 2e2e65e
PiperOrigin-RevId: 972767773
@copybara-service
copybara-service Bot merged commit ec8d0f8 into google:master Aug 29, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants