Skip to content

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

Merged
copybara-service[bot] merged 2 commits into
masterfrom
test/cl972767773
Aug 29, 2026
Merged

Fix //test/syscalls:tcp_socket_test_native failing on newer kernels.#14480
copybara-service[bot] merged 2 commits into
masterfrom
test/cl972767773

Conversation

@copybara-service

Copy link
Copy Markdown

Fix //test/syscalls:tcp_socket_test_native failing on newer kernels.

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

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 copybara-service Bot added the exported Issue was exported automatically label Aug 28, 2026
@copybara-service
copybara-service Bot force-pushed the test/cl972767773 branch 9 times, most recently from eb43c8d to 08b26f0 Compare August 29, 2026 00:10
@copybara-service
copybara-service Bot merged commit ec8d0f8 into master Aug 29, 2026
5 of 8 checks passed
@copybara-service
copybara-service Bot deleted the test/cl972767773 branch August 29, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants