Skip to content

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

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl972759993
Open

Fix //test/syscalls:tcp_socket_test_native failing on newer kernels.#14479
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl972759993

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

@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/cl972759993 branch 2 times, most recently from ee11220 to 5e1b34e Compare August 28, 2026 21:40
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
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.

1 participant